Hi,

Is there a way to retrieve the AuthenticationInfo from the current Subject?

I have a scenario in which when the user logs in, if his password is about
to expire, the system can forward the user to a change password screen
automatically after login.
Currently what I've done is to extend SimpleAccount and add some properties
to indicate the expiring status which is populated in my custom Realm.

However, in the filter (onLoginSuccess), how can I read this information
since I can only get the Subject object.

Is there any other way to implement this scenario?

Thanks. 
-- 
View this message in context: 
http://shiro-user.582556.n2.nabble.com/Get-AuthenticationInfo-From-Subject-tp5003710p5003710.html
Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to