Christoph Hermann wrote:
Aur�lien DEHAY schrieb:

Hello,


I'm using auth-fw for user authentication. I'd like to autologin user
who comming with a specific cookie. I supposed it is possible, but I
don't how to do it, as I can't create authentication context from,
for example, the session context transformer.

I can store user/cookie pair in my SQL database, but how can I do the
autologin stuff?


In your authentication handler add a check for the Cookie and return a specific userid.

How do I do that? When a resource is protected and the user is not authenticated, I redirect him to a "login" page (with the redirect-to element in the handler element), but the authentication is made with the authentication element. I don't really see where to put the check of the cookie.


Rgds.


HTH Christoph


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to