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
Post a Comment