Package com.identity4j.util.passwords
Interface PasswordCharacteristics
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
DefaultPasswordCharacteristics,UNIXPasswordCharacteristics
public interface PasswordCharacteristics extends Serializable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,String>getAttributes()intgetHistorySize()intgetMaximumSize()intgetMinimumDigits()intgetMinimumLowerCase()intgetMinimumSize()intgetMinimumSymbols()intgetMinimumUpperCase()floatgetMinStrength()intgetRequiredMatches()Get how many conditions must be true for the password to be considered OK.char[]getSymbols()Get the list of characters that are considered symbols.floatgetVeryStrongFactor()booleanisAdditionalAnalysis()booleanisContainUsername()booleanisDictionaryWordsAllowed()
-
-
-
Method Detail
-
getVeryStrongFactor
float getVeryStrongFactor()
-
getMinimumSize
int getMinimumSize()
-
getMaximumSize
int getMaximumSize()
-
getRequiredMatches
int getRequiredMatches()
Get how many conditions must be true for the password to be considered OK. The conditions include Minimum Size, Minimum Upper Case, Minimum Digits and Minimum Symbols.- Returns:
- minimum number of required matches for the all conditions
-
getMinimumLowerCase
int getMinimumLowerCase()
-
getMinimumUpperCase
int getMinimumUpperCase()
-
getMinimumDigits
int getMinimumDigits()
-
getMinimumSymbols
int getMinimumSymbols()
-
getHistorySize
int getHistorySize()
-
getSymbols
char[] getSymbols()
Get the list of characters that are considered symbols. If this password characters is specific to a connector andnullis returned, then the default system wide list will be used.- Returns:
- symbols
-
isDictionaryWordsAllowed
boolean isDictionaryWordsAllowed()
-
isAdditionalAnalysis
boolean isAdditionalAnalysis()
-
getMinStrength
float getMinStrength()
-
isContainUsername
boolean isContainUsername()
-
-