• Post Reply Bookmark Topic Watch Topic
  • New Topic

Security Policy in Weblogic 9.2 for Web Services  RSS feed

john Mat
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a webservice running properly in weblogic 9.2. I need to put UsernameToken profile with plane text username/password send from the client for authentication.

For that I have put the

@Policy(uri="./MyAuth.xml" ,direction=Policy.Direction.inbound)
in the webservice file and written a custom Authentication xml file MyAuth.xml like

<wsp olicy xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"
xmlns:wls="http://www.bea.com/wls90/security/policy/wsee#part" >
<wssp:SecurityToken TokenType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#UsernameToken">
<wssp:UsePassword Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">abcde</wssp:UsePassword>

Now will this work ? And in which file or How shall I put the username/password like user123/pass123. That client need to send to invoke the web service.

Please let me know the detail process for that ASAP as I am new to the weblogic9.2 webservices.
[ September 18, 2008: Message edited by: Bear Bibeault ]
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!