public interface IPassword
| Modifier and Type | Method and Description |
|---|---|
boolean |
check(String strCleartextPassword)
Check if the user supplied password is equal to the one represented by this object
|
String |
getStorableRepresentation()
Get a representation of this password suitable for storage
|
boolean |
isLegacy()
Tells if the password is in legacy format and should be upgraded to the current format
|
boolean check(String strCleartextPassword)
strCleartextPassword - the user supplied password in clear texttrue if the password match, false otherwiseboolean isLegacy()
true if the password is in a legacy format, false otherwiseString getStorableRepresentation()
Copyright © 2020 City of Paris. All rights reserved.