OpenAM detect LDAP password expiration

580 Views Asked by At

I'm using OpenAM 10.0.1 connected to my LDAP and i would like to detect when the password has expired.

If i set the attribute pwdLastSet = 0 on my user in active directory, when i log in with openAM the reason of the error is "{"code":401,"reason":"Unauthorized","message":"Invalid password !"} instead of a specific message for the password expiration.

Is there a mean to detect the difference between an invalid password and an expired password?

Thanks in advance for your help.

0

There are 0 best solutions below