Re: validating security token when only username is specified
- From: "William Stacey [MVP]" <staceywREMOVE@xxxxxxxx>
- Date: Fri, 10 Jun 2005 06:29:46 -0400
Another inconsistency is you can, in fact, send a " " space when the
password type is SendHashed and the Authenticator will be called. Empty
string should probably be allowed across the logic on both sides to at least
make things consistent.
--
William Stacey [MVP]
"William Stacey [MVP]" <staceywREMOVE@xxxxxxxx> wrote in message
news:evOLeTabFHA.228@xxxxxxxxxxxxxxxxxxxxxxx
> You will notice you can set a null or "" empty pw in UT constructor.
> However you can pass a " " space or spaces. It appears, however, that the
> either the server side or client side does a Trim() on the SendPlainText
> pw (not sure which). However, it is clear that the server side conciders
> empty password string to be invalid and does not attempt to start the
> Authenticator. This was probably a security concern. Naturally, you have
> to wonder what the point of a empty password is to begin with. However,
> Windows accounts allow an empty password, so one would think it should
> work the same way for WSE. Moreover, not sure the Trim() behavior is
> correct here as I may indeed what to have leading/trailing spaces in a
> password for some reason. As a workaround, if the client password is
> really "" empty, then pass something like "Empty" instead (or some other
> const string that both sides agree on).
>
> --
> William Stacey [MVP]
>
> "MAHESH MANDHARE" <mahesh_dotnetinfo@xxxxxxxxxxx> wrote in message
> news:8806AF1F-AF59-4A10-8ECF-EC31E8C9747B@xxxxxxxxxxxxxxxx
>> 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
>
>
.
- References:
- validating security token when only username is specified
- From: MAHESH MANDHARE
- Re: validating security token when only username is specified
- From: William Stacey [MVP]
- validating security token when only username is specified
- Prev by Date: Re: validating security token when only username is specified
- Next by Date: WSE and SSL
- Previous by thread: Re: validating security token when only username is specified
- Next by thread: RE: validating security token when only username is specified
- Index(es):
Relevant Pages
|