grails - Spring Security Reauthentication with Persistent Logins -


i using grails spring security core persistent logins. thus, login information of user stored in database. problem following case:

a user logged in , username change x y. means have reauthenticate user with:

springsecurityservice.reauthenticate y  remembermeservices.loginsuccess(request, response, springsecurityservice.authentication) 

in database username persistent token remains x. how can set new entry persistent token new username y?

you should find existing database entry user. can done username. can set new database entry persistent token remembermeservices.loginsuccess. finally, have reauthenticate user.


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -