[jboss-user] [JBossWS] - Re: Steps for implementing WS-Security in JBoss using Userna

alessio.soldano@jboss.com do-not-reply at jboss.com
Wed Mar 12 16:43:54 EDT 2008


Yep, this could be a nice tutorial on username tp. A suggestion I can give about this is  to say that the StubExt.PROPERTY_AUTH_TYPE property can be used to set the auth type; for example adding
((BindingProvider)port).getRequestContext().put(StubExt.PROPERTY_AUTH_TYPE, StubExt.PROPERTY_AUTH_TYPE_WSSE);
prevents the client from using the default basic auth (of course the soap header elements are written nevertheless, as you can see).

 Btw pramod_bs, soon I'm going to add some further docs on this topic, since the implementation of digest+nonces support is almost done (JBWS-1988), thus I could link your tutorial if you add it to the wiki.

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

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



More information about the jboss-user mailing list