It doesn't support ppolicy directly, since the warning messages aren't exposed by the Spring-LDAP library. However, take a look at the LPPE feature branch (https://github.com/Jasig/cas/tree/feature-lppe) and search the list archives for LPPE. It searches the directory for the time the password was last changed, calculates when the password will expire and notifies the user if the password will expire soon. It doesn't check for grace logins remaining, but that could be added pretty easily.
On Thu, Mar 29, 2012 at 12:07 PM, Pavlos Drandakis <[email protected]>wrote: > Hello all, > > When binding successfully to a ppolicy enabled ldap server, a warning > message about timeBeforeExpiration or graceAuthNsRemaining might also be > included in server's response. > Is there a way to propagate this message (from > authenticateUsernamePasswordInternal in BindLdapAuthenticationHandler) so > that it will be available later (i.e for showing a relevant view)? > > Thanks, > Pavlos > > -- > You are currently subscribed to [email protected] as: [email protected] > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-dev > > -- Eric Pierce Identity Management Architect Information Technology University of South Florida (813) 974-8868 -- [email protected] -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-dev
