validating security token when only username is specified



Hi,
I am using Custom UsernameTokenManager class in my project
i have overridden authenticatetoken method in username tokenmanager class
and configured this custom tokenmanager in web.config
but when i do not send password in username token. it doesn't call
authenticate method.so i need to take Soapcontext to check for username
token and hence has to do this at the start of every method.

i want to know is there any way to validate security token in custom token
manager only when only username is specified.
when only username is specified wse skips authenticatetoken method

I am using wse2.0(Sp3).

--
Have A Good Day,
Mahesh,
Maheshmandhare@xxxxxxxxxxx
.



Relevant Pages

  • Re: WSE 3.0 UsernameToken SendNone problem
    ... is WSE calling to your custom token manager ?. ... giving no username token exception. ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: Should i upgrade a working WSE2 app to WSE3
    ... I am new to wse and would like to use custom credentials as well. ... simple concept: Username, Password, AccountID. ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • RE: Customized Membership Provider
    ... Sorry, I implemented MembershipProvider class, ValidateUser only accepts 2 ... There is plenty of sample code around for implementing custom Membership, ... username from Context.User.Identity. ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: Customized Membership Provider
    ... How about we create a ValidateUserEx method that accepts all your parameters, ... and you forward the call with the username, password to the overridden base ... There is plenty of sample code around for implementing custom Membership, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: WSE 2.0 - Security token could not be authenticated or authorized
    ... > Paul, it might be that you have the username wrong. ... >> account in the Windows SAM. ... >> working first then I'll go back to debugging my custom auth function. ...
    (microsoft.public.dotnet.framework.webservices.enhancements)

Loading