List Info

Thread: - JAXWS and Username Token




- JAXWS and Username Token
country flaguser name
United States
2007-07-25 05:29:46
Magesh sais:

I am aware that the UserPrinciapl and Credentials are
checked with this
test case and the details are passed via the HTTPRequest,
but the real
question is about wsse:UsernameToken and its presence in
SOAPHeader and
not in HTTPRequest.

When we set the BindingProvider properties we are able to
login and this
testcase passes, but when we set the jboss-wsse-*.xml 
configuration this does not appear in the SOAPHeader,
whereas it works
for JAXRPC style webservices and it works for JAXWS clients
too if we
set the properties like this:

(BindingProvider)port).getRequestContext().put("javax.x
ml.rpc.security.auth.username", "kermit"); 
((BindingProvider)port).getRequestContext().put("javax.
xml.rpc.security.auth.password", "thefrog");


View the original post : http://www.jboss.com/index.html?
module=bb&op=viewtopic&p=4067347#4067347

Reply to the post : http://www.jboss.com/index.
html?module=bb&op=posting&mode=reply&p=4067347
_______________________________________________
jbossws-dev mailing list
jbossws-devlists.jboss.org

https://lists.jboss.org/mailman/listinfo/jbossws-dev

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )