Hi --

I am also encountering the same problem. 

In my case, whenever a remember me logon occurs, I wish to invoke some code,
let's say foo(subject), which is passed the Subject.  What I think I really
want is that a onSuccessfulRememberMeLogin() method be part of the
CookieRememberMeManger class, and that it would be called when a remember me
cookie is authenticated and would be called only once.  (I know that there
is a onSuccessfulLogon() method but it is called whenever any logon is
successful.) 

(When a regular login is successful, I call onSuccessfulLogin() in my
FormAuthenticationFilter-extended class which then invokes my app-specific
code, foo(subject) to do some setup.)

I can't hook into getRememberedPrincipals() because the Subject hasn't been
created at this point.  I thought that perhaps in SecurityManager, I could
hook into createSubject() but this method might be called from other places.  

Any ideas?

Thanks much in advance,
Dan




--
View this message in context: 
http://shiro-user.582556.n2.nabble.com/Callout-for-remember-me-tp4610313p7578782.html
Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to