Author |
Message
|
meena05 |
Posted: Fri Feb 26, 2016 7:53 am Post subject: WS-Security Exception on SOAPRequest Node |
|
|
Apprentice
Joined: 26 Feb 2016 Posts: 39
|
Hi,
My request is to call a Provider service which as WS-Security User Name and Password Authentication.
I am using SOAPRequest node and have done below steps
- Created Message Model
- Selected the WSDL on SOAPRequest node
- Selected the appropriate Binding Operation
- Built the Input require using compute node
- Built the BAR file
- Created Security profile using below commands
mqsicreateconfigurableservice BROKER -c SecurityProfiles -o SecurityProfile_1 -n "propagation,idToPropagateToTransport,transportPropagationConfig" -v "TRUE,STATIC ID,WSSecurityID"
mqsisetdbparms BROKER -n SecurityProfile_1 -u serviceid -p password
- Assigned Policy Set, Policy Set Binding and Security Profile Name on the SOAPRequest node
Deployed the flow and got below Exception.
Text:CHARACTER:org.apache.axis2.AxisFault: CWWSS6521E: The Login failed because of an exception: javax.security.auth.login.LoginException: javax.security.auth.login.LoginException: Broker security manager failed to provide a username |
|
Back to top |
|
 |
Vitor |
Posted: Fri Feb 26, 2016 7:57 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
I don't see where you selected to use Default Propagation. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
meena05 |
Posted: Fri Feb 26, 2016 9:46 am Post subject: |
|
|
Apprentice
Joined: 26 Feb 2016 Posts: 39
|
Hi, Thank you for the reply.
Can you please throw some insight on Default Propagation. Thank you |
|
Back to top |
|
 |
Vitor |
Posted: Fri Feb 26, 2016 9:57 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
meena05 wrote: |
Can you please throw some insight on Default Propagation. |
See here and here.
Quote: |
The predefined security profile Default Propagation has this setting enabled |
_________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
meena05 |
Posted: Fri Feb 26, 2016 10:36 am Post subject: |
|
|
Apprentice
Joined: 26 Feb 2016 Posts: 39
|
How do we enable this setting? |
|
Back to top |
|
 |
Vitor |
Posted: Fri Feb 26, 2016 10:47 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
meena05 wrote: |
How do we enable this setting? |
As described in the links I posted  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|