Re: WSE 3 UsernameAssertion problem



"Mathew" <Mathew@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:61997534-556B-486F-A235-7D73AC1A1119@xxxxxxxxxxxxxxxx
Hello, i tried to implement this webservice-security with this recommendable
article:
http://www.codeproject.com/soap/WSE30UsernameAssertion.asp and i want to
extend the functionality by encrypting the response of the server, too. But i
get only this error, and my custom TokenManager isn`t called:

"WSE566: The incoming Username token does not contain a password. The
built-in UsernameTokenManager does not support this type of UsernameToken.
Please see the documentation for more details on the
UsernameTokenManager.AuthenticateToken method."



Hi Mathew,

can you check what the constructor for UsernameToken on client side.
You may get this error if PasswordOption enum has a value of SendNone.

Regards,

--
Martin Kulov
http://www.codeattest.com/blogs/martin

MVP, MCT, MCSD, MCPD

.



Relevant Pages

  • UsernameToken Encryption with TripleDES
    ... i add this code to the UsernameSigning sample client: ... works and the server responds. ... UsernameTokenManager userTokM = stm as UsernameTokenManager; ... e or encryption algorithm was used ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: Usernametoken and activedirectory
    ... and provided you're using only WSE and .net on client ... and server you can use the signature policy to prevent unauthorized users. ... > usernametokenmanager is never called and the user gets access. ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: PasswordOption.SendNone
    ... implement a UsernameTokenManager which will provide WSE with the password. ... At the server WSE uses a UsernameTokenManager derived class ... > to obtain a password it can hash and compare against the sent ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Usernametoken and activedirectory
    ... im sending a usernametoken with username/password and on the server i got a ... usernametokenmanager that authenticates the user in AD using LDAP. ...
    (microsoft.public.dotnet.framework.webservices.enhancements)

Loading