[cas-user] Troubles with password policy: all successful authentications get successWithWarnings state

2015-03-23 Thread Guillaume Rousse
Hello list. We are using cas server 4.0.0 and OpenLDAP, with password policy support enabled, limited to password quality settings sofar. This morning we activated password expiration, by setting explicit values for pwdMaxAge and pwdExpireWarning attributes. Everything was working as

RE: [cas-user] Troubles with password policy: all successful authentications get successWithWarnings state

2015-03-23 Thread Misagh Moayyed
the above file into your overlay and reset the flag to false before each attempt. -Original Message- From: Guillaume Rousse [mailto:guillaume.rou...@inria.fr] Sent: Monday, March 23, 2015 9:02 AM To: cas-user@lists.jasig.org Subject: [cas-user] Troubles with password policy: all successful

Re: [cas-user] Troubles with password policy: all successful authentications get successWithWarnings state

2015-03-23 Thread Guillaume Rousse
Le 23/03/2015 17:15, Misagh Moayyed a écrit : This is already fixed in master. The problem is here: https://github.com/Jasig/cas/blob/4.0.x/cas-server-core/src/main/java/org/jasig/cas/web/flow/AuthenticationViaFormAction.java The hasWarningMessages, once set to true, will always remain true.