Search This Blog

Wednesday, November 19, 2014

Grails - Getting Back Entered UserName LoginController->authfail Spring Security

1. Open Config.groovy
Add
grails.plugin.springsecurity.apf.storeLastUsername=true

2. login/auth.gsp
 
${session['SPRING_SECURITY_LAST_USERNAME']}" name='j_username' id='username' />

 
 --Enjoy

No comments:

Hit Counter


View My Stats