This content has been marked as final.
Show 4 replies
-
1. Re: WSSecurity Username token
peterj Oct 14, 2007 10:26 PM (in response to vincent321)See http://labs.jboss.com/jbossws/docs/jaxws_userguide-2.0/index.html#d0e1165
Also, there was an earlier discussion at http://www.jboss.com/index.html?module=bb&op=viewtopic&t=120353 -
2. Re: WSSecurity Username token
vincent321 Oct 15, 2007 4:17 PM (in response to vincent321)Thanks Peter,
But the conversation and example are related to x509 token :-(
I want the web service to handle such an header :<wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"> <wsu:Timestamp wsu:Id="Timestamp-12134742" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> <wsu:Created>2007-10-14T12:45:34.656Z</wsu:Created> <wsu:Expires>2007-10-14T12:46:34.656Z</wsu:Expires> </wsu:Timestamp> <wsse:UsernameToken wsu:Id="UsernameToken-33259721" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> <wsse:Username>test</wsse:Username> <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">test</wsse:Password> </wsse:UsernameToken> </wsse:Security>
Thanks,
Vincent -
3. Re: WSSecurity Username token
ejb3workshop Oct 24, 2007 7:31 AM (in response to vincent321)Did you ever this the resolved. I am having the same problem using JBoss 4.2.2 wich included a new build of JBossWS.
-
4. Re: WSSecurity Username token
asoldano Oct 25, 2007 3:49 AM (in response to vincent321)You can find a basic example of Username Token authentication in the org.jboss.test.ws.jaxws.samples.wssecurity package in the jbossws-src archive.
Also take a look at this: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=95321