【发布时间】:2012-02-12 16:47:05
【问题描述】:
Grails 1.3.7 + spring-security-core 插件
有没有办法从 authFail 闭包中检索在登录表单中输入的密码?我可以通过
获取用户名session[UsernamePasswordAuthenticationFilter.SPRING_SECURITY_LAST_USERNAME_KEY]
但似乎没有办法获取密码。
session[UsernamePasswordAuthenticationFilter.SPRING_SECURITY_FORM_PASSWORD_KEY]
总是返回 null。
【问题讨论】: