-
Jul 19th, 2010, 12:15 PM
#1
Remember-me Service Auto-Login Handler
Hi,
In my app I read a custom cookie (containing user settings) after each successful login event. I'm currently using a custom AuthenticationSuccessHandler for this, which works fine. Unfortunately I cannot use this approach, though, when I want to use a RememberMeService.
I had a look at the AbstractRememberMeServices implementation, but it unfortunately does not provide a clean hook I can use after the successful authentication object was created. AutoLogin is final and createSuccessfulAuthentication does not pass on the HttpServletResponse.
I could misuse the createSuccessfulAuthentication method for my needs (although changing of cookies would not work), but I hope there's a cleaner way of doing this?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules