|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Set SOAPRequest node securityProfileName dynamically |
« View previous topic :: View next topic » |
Author |
Message
|
leao |
Posted: Wed Aug 19, 2020 7:03 am Post subject: Set SOAPRequest node securityProfileName dynamically |
|
|
Newbie
Joined: 06 Dec 2018 Posts: 6
|
Is there any way to set a SOAP Request node's securityProfileName property dynamically, for example in a Compute node?
Here's the scenario: Depending on the input message of the flow, one of two different security profiles are used. So if input=A, use securityProfileA, if input=B, use securityProfileB.
I thought maybe it would be possible to set this in the local environment, but according to this page https://www.ibm.com/support/knowledgecenter/SSMKHH_9.0.0/com.ibm.etools.mft.doc/ac56192_.htm, this isn't possible.
The solution that I use now is two separate SOAPRequest nodes, where I set each security profile in the BAR override file.
Are there any better solutions? |
|
Back to top |
|
 |
Vitor |
Posted: Wed Aug 19, 2020 7:28 am Post subject: Re: Set SOAPRequest node securityProfileName dynamically |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
leao wrote: |
Are there any better solutions? |
I don't know about "better", but one option would be have a single SOAPInput node that doesn't authenticate, then a Filter node (or similar) that routes the message to one of two SecurityPEP nodes based on the criteria. One node uses profile A, the other profile B, and both route back to the downstream processing.
Easier to deploy, fewer moving parts and a single input node. This meets the standard for "better" in most states.
Other, even better solutions are undoubtedly possible and someone will be along in a minute to suggest one. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|