Class SimplePasswordStrengthCheckResult
- java.lang.Object
-
- org.jboss.as.domain.management.security.password.simple.SimplePasswordStrengthCheckResult
-
- All Implemented Interfaces:
PasswordStrengthCheckResult
public class SimplePasswordStrengthCheckResult extends Object implements PasswordStrengthCheckResult
- Author:
- baranowb, Darran Lofthouse
-
-
Constructor Summary
Constructors Constructor Description SimplePasswordStrengthCheckResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<PasswordRestriction>getPassedRestrictions()List of restrictions that password did met.List<PasswordValidationException>getRestrictionFailures()List of restrictions that password did not met.PasswordStrengthgetStrength()Password strength.voidnegative(int i)
-
-
-
Method Detail
-
getStrength
public PasswordStrength getStrength()
Description copied from interface:PasswordStrengthCheckResultPassword strength.- Specified by:
getStrengthin interfacePasswordStrengthCheckResult- Returns:
- the strength
-
getRestrictionFailures
public List<PasswordValidationException> getRestrictionFailures()
Description copied from interface:PasswordStrengthCheckResultList of restrictions that password did not met.- Specified by:
getRestrictionFailuresin interfacePasswordStrengthCheckResult- Returns:
-
getPassedRestrictions
public List<PasswordRestriction> getPassedRestrictions()
Description copied from interface:PasswordStrengthCheckResultList of restrictions that password did met.- Specified by:
getPassedRestrictionsin interfacePasswordStrengthCheckResult- Returns:
- the passedRestrictions
-
negative
public void negative(int i)
- Parameters:
i-
-
-