Hi SQLAgentman,
>> 1- When the server returns a security context token where can this be
stored if the consumer is a web site and not a windows app?
You can store it in web server's Application object or in some other storage, ie. database, file ...
>> 2- What happens If I don't use Windows authorization?
In this case you need to write a class that inherits UsernameTokenManager and authenticate the user by yourself.
Look for "Implementing a UsernameTokenManager" in http://msdn.microsoft.com/msdnmag/issues/04/10/ServiceStation/.
Regards,
Martin Kulov
http://www.codeattest.com
MCAD Charter Member
MCSD.NET Early Achiever
MCSD
SQLAgentman - 21 Dec 2004 03:01 GMT
Hi Martin,
When I send a password in plain text, windows Authentication kicks in -
right?
when I implement my own UsernameTokenaManager and pass the password in
plain text does Windows Authentication kick in also, or it depends on
what I do in my own UsernameTokeManager?
Okay I might be able to store the context token in session state, since
application object is for all users
Do I store the context as a blob in a database or what?
Thank you for all your help
Sql
Martin Kulov - 22 Dec 2004 20:31 GMT
Hi SQLAgentman,
> When I send a password in plain text, windows Authentication kicks in
> -
> right?
That's right.
> when I implement my own UsernameTokenaManager and pass the password in
> plain text does Windows Authentication kick in also, or it depends on
> what I do in my own UsernameTokeManager?
Yes, it depends on what you have implemented in AuthenticateToken method that you have overrided.
> Do I store the context as a blob in a database or what?
Wherever you want to. See "Serializing and Deserializing the SCT" in Chris Keyser's article [1].
[1] http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwebsrv/html/s
ctinfarm.asp
Regards,
Martin Kulov
http://www.codeattest.com
MCAD Charter Member
MCSD.NET Early Achiever
MCSD