Skip to main content

developerWorks >  SOA and Web services  >  Forums  >  Best Practices for SOA and Web Services  >  developerWorks

User credentials not passed to webservice-provider (WAS7, JAX-WS, LTPA)    Point your RSS reader here for a feed of the latest messages in this thread


     

 
 

My developerWorks
 Welcome, Guest
Sign in or register
This question is not answered.

Permlink Replies: 1 - Pages: 1 - Last Post: Nov 6, 2009 4:50 AM Last Post By: HansIversen
HansIversen

Posts: 2
Registered: Nov 06, 2009 03:40:51 AM
User credentials not passed to webservice-provider (WAS7, JAX-WS, LTPA)
Posted: Nov 06, 2009 04:35:43 AM
 
Click to report abuse...   Click to reply to this thread Reply
Hi.
I am trying to pass user-credentials using custom policy-sets and bindings from a webservice-client to a provider - and I can se with the TCP/IP-monitor, that the specified ws-securuty header with LTPA-token is present. But @Resource SessionContext does not contain the credentials on the provider-side.
What can I have missed ?
I have attached policy sets and bindings in the RAD 7 Services-tab on both client and provider.
HansIversen

Posts: 2
Registered: Nov 06, 2009 03:40:51 AM
Re: User credentials not passed to webservice-provider (WAS7, JAX-WS, LTPA)
Posted: Nov 06, 2009 04:50:11 AM   in response to: HansIversen in response to: HansIversen's post
 
Click to report abuse...   Click to reply to this thread Reply
One observation:
If I change from LTPA to a username-token, i see an empty username-tag (with ths TCP/IP-monitor) - and the request is rejected by the provider.
Maybe my problem is, that the credentials of the signed-on user on the client side is not put into the security token. But how do I specify this ? I do not want a hardcoded userid/password, but the signed-on users credentials in an LTPA-token.

Point your RSS reader here for a feed of the latest messages in all forums