i am trying to implement a password expiry function for my site. I've got it working by including a "exceptionTranslationFilter", having the right exception forward to an "enter old+new password" page, as such:
<beansrop key="org.springframework.security.authentication.C redentialsExpiredException">/security/passwordexpired.jsp</beansrop>
My problem is that my userdetailservice that i've written knows the language of the user that tried to login (and had "ispasswordnonexpired" to false), but then an exception is thrown, it redirects to that jsp page, and in there i have no concept of the user that logged in...
Anybody have any flash ideas? Would be appreciated.