[#if Params.error?? || Params.logout??]
[#if SPRING_SECURITY_LAST_EXCEPTION??]
[#-- org.springframework.security.authentication.dao.AbstractUserDetailsAuthenticationProvider --]
[#if SPRING_SECURITY_LAST_EXCEPTION.class.simpleName == "BadCredentialsException"]
用户名或密码错误
[#elseif SPRING_SECURITY_LAST_EXCEPTION.class.simpleName == "LockedException"]
用户已锁定
[#elseif SPRING_SECURITY_LAST_EXCEPTION.class.simpleName == "DisabledException"]
用户已禁用
[#elseif SPRING_SECURITY_LAST_EXCEPTION.class.simpleName == "AccountExpiredException"]
账户已过期
[#elseif SPRING_SECURITY_LAST_EXCEPTION.class.simpleName == "CredentialsExpiredException"]
密码已过期
[#else]
${SPRING_SECURITY_LAST_EXCEPTION.message}
[/#if]
[#elseif Params.logout??]
您已退出登录
[/#if]
[/#if]