views:

167

answers:

1

i'm using form based authntication in my WAR. i want to implement a 'remember me' cookie so: 1) how can i intercept the authentication before user is redirected to the form? 2) say i checked the cookie and its fine, how do i actually login the user?

+1  A: 

The best way to do this is to use a Filter which will check that the cookie is there and log the user with your login system.

Colin Hebert