By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,081 Members | 1,342 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,081 IT Pros & Developers. It's quick & easy.

WS-Security Tokens for Doaim\Username and Password

P: n/a
I'm working on a web service and I need to pass in user information for
authentication. The service needs to meet the WS-Security specification.

I need to support two types of authentication for now. The types are:
1) Basic Username & Password
2) Windows user consisting of Domain, Username and Password.

For type 1 I know I need to use the UsernameToken XML like this.
<wsse:Security>
<wsse:UsernameToken>
<wsse:Username>Zoe</wsse:Username>
<wsse:Password>ILoveDogs</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</wsse:Security>

what token type do I need to use for the 2nd type? Do I create my own custom
token? Do I use UsernameToken and just embed the domain in the Username
element?

Thanks for the help.
--
Andre

Nov 23 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.