Package com.soffid.iam.api
Class PolicyCheckResult
- java.lang.Object
-
- com.soffid.iam.api.PolicyCheckResult
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
PolicyCheckResult
public class PolicyCheckResult extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static PolicyCheckResult
CONTAINS_ACCOUNTNAME
static PolicyCheckResult
CONTAINS_NAME
static PolicyCheckResult
CUSTOM_CHECK
String
extraInfo
static PolicyCheckResult
FORBIDDEN_WORD
static PolicyCheckResult
INVALID_REGEXP
static PolicyCheckResult
MORE_TYPES_OF_CHARS
static PolicyCheckResult
NOPOLICY_DEFINED
static PolicyCheckResult
NOT_YET
static int
NUM_ERRORS
static PolicyCheckResult
OLD_PASSWORD
int
reasonCode
static PolicyCheckResult
REGEXP_NOT_MATCH
static PolicyCheckResult
TOO_FEW_CAPS
static PolicyCheckResult
TOO_FEW_NUMBERS
static PolicyCheckResult
TOO_FEW_SIGNS
static PolicyCheckResult
TOO_FEW_SMALLS
static PolicyCheckResult
TOO_LONG
static PolicyCheckResult
TOO_MANY_CAPS
static PolicyCheckResult
TOO_MANY_NUMBERS
static PolicyCheckResult
TOO_MANY_SIGNS
static PolicyCheckResult
TOO_MANY_SMALLS
static PolicyCheckResult
TOO_SHORT
static PolicyCheckResult
VALID
-
Constructor Summary
Constructors Constructor Description PolicyCheckResult(int value)
PolicyCheckResult(int value, String extraInfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getReason()
String
getReason(Locale l)
int
getReasonCode()
boolean
isValid()
void
setReasonCode(int reasonCode)
-
-
-
Field Detail
-
NUM_ERRORS
public static int NUM_ERRORS
-
VALID
public static PolicyCheckResult VALID
-
TOO_LONG
public static PolicyCheckResult TOO_LONG
-
TOO_SHORT
public static PolicyCheckResult TOO_SHORT
-
INVALID_REGEXP
public static PolicyCheckResult INVALID_REGEXP
-
REGEXP_NOT_MATCH
public static PolicyCheckResult REGEXP_NOT_MATCH
-
TOO_MANY_CAPS
public static PolicyCheckResult TOO_MANY_CAPS
-
TOO_FEW_CAPS
public static PolicyCheckResult TOO_FEW_CAPS
-
TOO_MANY_SMALLS
public static PolicyCheckResult TOO_MANY_SMALLS
-
TOO_FEW_SMALLS
public static PolicyCheckResult TOO_FEW_SMALLS
-
TOO_MANY_NUMBERS
public static PolicyCheckResult TOO_MANY_NUMBERS
-
TOO_FEW_NUMBERS
public static PolicyCheckResult TOO_FEW_NUMBERS
-
TOO_MANY_SIGNS
public static PolicyCheckResult TOO_MANY_SIGNS
-
TOO_FEW_SIGNS
public static PolicyCheckResult TOO_FEW_SIGNS
-
OLD_PASSWORD
public static PolicyCheckResult OLD_PASSWORD
-
FORBIDDEN_WORD
public static PolicyCheckResult FORBIDDEN_WORD
-
NOPOLICY_DEFINED
public static PolicyCheckResult NOPOLICY_DEFINED
-
CONTAINS_ACCOUNTNAME
public static PolicyCheckResult CONTAINS_ACCOUNTNAME
-
CONTAINS_NAME
public static PolicyCheckResult CONTAINS_NAME
-
MORE_TYPES_OF_CHARS
public static PolicyCheckResult MORE_TYPES_OF_CHARS
-
NOT_YET
public static PolicyCheckResult NOT_YET
-
CUSTOM_CHECK
public static PolicyCheckResult CUSTOM_CHECK
-
reasonCode
public int reasonCode
-
extraInfo
public String extraInfo
-
-
Constructor Detail
-
PolicyCheckResult
public PolicyCheckResult(int value)
-
PolicyCheckResult
public PolicyCheckResult(int value, String extraInfo)
-
-