开发者

Is it possible to make custom implementation for RememberMeAuthenticationFilter?

开发者 https://www.devze.com 2023-01-23 06:21 出处:网络
greetings all i am using spring security 3.0.2 and i want when a remembered user requests a page after his token is being authenticated (onAuthenticationSuccess)

greetings all i am using spring security 3.0.2 and i want when a remembered user requests a page after his token is being authenticated (onAuthenticationSuccess) do some coding before landing him to his request i got the idea to pr开发者_开发问答ovide a custom implementation of the RememberMeAuthenticationFilter but i don't know how to do so, so can anyone tell me or if there's a better way to do what i am trying to do ?


Perhaps you can subscribe to AuthenticationSuccessEvent and check whether authentication is RememberMeAuthenticationToken.

0

精彩评论

暂无评论...
验证码 换一张
取 消