Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Security Policy in Weblogic 9.2 for Web Services

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=""
xmlns:wls="" >
<wssp:SecurityToken TokenType="">
<wssp:UsePassword Type="">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