开发者

Make something after remember me authentication?

开发者 https://www.devze.com 2023-01-22 01:07 出处:网络
greetings all i开发者_StackOverflow am using spring security 3.0.2 and i am using the following configuration for remember me

greetings all i开发者_StackOverflow am using spring security 3.0.2 and i am using the following configuration for remember me

<http use-expressions="true" >  
         <remember-me  token-repository-ref="tokenRepository"
         token-validity-seconds="1209600"/>

<beans:bean id="tokenRepository" class="org.springframework.security.web.authentication.rememberme.JdbcTokenRepositoryImpl">
    <beans:property name="dataSource" ref="dataSource"/>
    </beans:bean> 

and i want after the cookie has been authenticated, i redirect the user tome some handler or class or interceptor that does some logic, any ideas how to do so ?


Remember-me authentication happens transparently when an access is made to a protected resource. On successful authentication, the user is served the protected resource. I guess appropriate logic can be put in the protected resource to do further processing/redirection.

0

精彩评论

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

关注公众号