[jboss-user] [JBossWS] - Re: User authorization in Web Service

andycooper do-not-reply at jboss.com
Fri Jul 27 10:06:34 EDT 2007


Try something like the following in your client:

       ((BindingProvider)port).getRequestContext().put(Stub.USERNAME_PROPERTY, "joe");
       ((BindingProvider)port).getRequestContext().put(Stub.PASSWORD_PROPERTY, "dweeb");

I can't recall if this only works with WS-Security ...

No, the documentation is not particularly good :-)


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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068215



More information about the jboss-user mailing list