[keycloak-dev] Password Expiry present but unimplemented?

Dan Hardiker dhardiker at adaptavist.com
Thu Mar 7 08:38:36 EST 2019


Hi,

I noticed that password expiry wasn’t working with LDAP. Initially I thought this was another mapping issue, expecting to need to support a passwordSetAt timestamp or something, however when I dug into the code I found ForceExpiredPasswordPolicyProviderFactory had the following:

@Override
public PolicyError validate(RealmModel realm, UserModel user, String password) {
    return null;
}

@Override
public PolicyError validate(String user, String password) {
    return null;
}

This appears to mean it’s not implemented. Is this the case? Am I looking in the wrong place?


—
Dan Hardiker | Adaptavist
dhardiker at adaptavist.com
 
Winners of the Atlassian President's Award for Technical Excellence - http://bit.ly/techexc <http://bit.ly/techexc>

Adaptavist <http://adaptavist.com/>, Waterside, Unit 2, 44-48 Wharf Road, London, N1 7UX, United Kingdom.
Registered in England and Wales #5456785.



More information about the keycloak-dev mailing list