[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.aspnet.webservices

How do I check the password hash receive a token in WSE 2.0

Juan Irigoyen

6/11/2004 4:44:00 PM

By example

Client

token = new UsernameToken("juan", "1111", PasswordOption.TextPlain );

Server

protected override string AuthenticateToken( UsernameToken token )
{
ncadena = '1111';
return ncadena;
}


This sample go well but if the password is SendHashed the sample don´t


Client

token = new UsernameToken("juan", "1111", PasswordOption.SendHashed );


Server

protected override string AuthenticateToken( UsernameToken token )
{
ncadena = '1111';
return ncadena;
}


I don´t find example for this problem.
Thanks,



1 Answer

dm_dal

6/11/2004 6:20:00 PM

0

Juan,
The default UsernameTokenManager in WSE 2.0 only supports the
PasswordOption.TextPlain. If you want to use the SendHashed option, then
you must implement your own UsernameTokenManager. The Hand-On-Lab
HOLDEVL34: WSE 2.0 Security and Policy found here
http://msdn.microsoft.com/webservices/bui... details how to implement
your own UsernameTokenManager.

David

"Juan Irigoyen" <juan_irigoyen@hotmail.com> wrote in message
news:ujgcac.o91.ln@orannews.oran.local...
> By example
>
> Client
>
> token = new UsernameToken("juan", "1111", PasswordOption.TextPlain );
>
> Server
>
> protected override string AuthenticateToken( UsernameToken token )
> {
> ncadena = '1111';
> return ncadena;
> }
>
>
> This sample go well but if the password is SendHashed the sample don´t
>
>
> Client
>
> token = new UsernameToken("juan", "1111", PasswordOption.SendHashed );
>
>
> Server
>
> protected override string AuthenticateToken( UsernameToken token )
> {
> ncadena = '1111';
> return ncadena;
> }
>
>
> I don´t find example for this problem.
> Thanks,
>
>
>