|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How to expose soap service with username and password |
« View previous topic :: View next topic » |
Author |
Message
|
junaid |
Posted: Tue May 14, 2019 4:26 am Post subject: How to expose soap service with username and password |
|
|
Acolyte
Joined: 29 Nov 2018 Posts: 58
|
Dear ,
I have WSDL and trying to place username and password inside header for expose.
I have done :
security policy sets,
Policy Set Binding for provider,
and create security profile.
can you please help what else is required ? |
|
Back to top |
|
 |
Vitor |
Posted: Tue May 14, 2019 7:36 am Post subject: Re: How to expose soap service with username and password |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
junaid wrote: |
can you please help what else is required ? |
Why do you think anything else is needed?
What does the InfoCenter say? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
junaid |
Posted: Tue May 14, 2019 9:14 pm Post subject: How to expose soap service with username and password |
|
|
Acolyte
Joined: 29 Nov 2018 Posts: 58
|
Thanx for reply,
Quote: |
Why do you think anything else is needed? |
https://www.ibm.com/developerworks/websphere/library/techarticles/1505_kumar/1505_kumar.html
I follow above link and when i select provider as policy set binding and test from soapUI then:
1)soapUI only wants security header, it does not compare username and password values.
ie:
Code: |
<soapenv:Header>
<wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<wsse:UsernameToken wsu:Id="UsernameToken-8">
<wsse:Username>testuser</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">testpass</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</soapenv:Header>
|
Problem is it does not compare username and password and i use below command for defualt securityprofile having 'transportPropagationConfig' is 'defaultsecurityIDName ' :
Code: |
mqsisetdbparms TestNode-n defaultsecurityIDName -u testuser -p testpass
|
|
|
Back to top |
|
 |
Vitor |
Posted: Wed May 15, 2019 5:00 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
I remain unclear on your problem.
If that's the security header you want, what security header are you getting?
junaid wrote: |
Problem is it does not compare username and password |
Compare with what? Show your LDAP configuration. _________________ 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
|
|
|
|