Class AuthenticationDiagnostic
- java.lang.Object
-
- org.alfresco.repo.security.authentication.AuthenticationDiagnostic
-
- All Implemented Interfaces:
java.io.Serializable
public class AuthenticationDiagnostic extends java.lang.Object implements java.io.SerializableDiagnostic information for a failed authentication. Contains a list of steps which have failed or succeeded. The key and arguments can be used to form human readable messages from a message bundle.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringSTEP_KEY_LDAP_AUTHENTICATIONstatic java.lang.StringSTEP_KEY_LDAP_CONNECTEDstatic java.lang.StringSTEP_KEY_LDAP_CONNECTINGstatic java.lang.StringSTEP_KEY_LDAP_FORMAT_USERstatic java.lang.StringSTEP_KEY_LDAP_LOOKEDUP_USERstatic java.lang.StringSTEP_KEY_LDAP_LOOKUP_USERstatic java.lang.StringSTEP_KEY_LDAP_SEARCHstatic java.lang.StringSTEP_KEY_VALIDATIONstatic java.lang.StringSTEP_KEY_VALIDATION_AUTHENTICATOR_NOT_ACTIVEstatic java.lang.StringSTEP_KEY_VALIDATION_AUTHENTICATOR_NOT_FOUND
-
Constructor Summary
Constructors Constructor Description AuthenticationDiagnostic()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddStep(java.lang.String key, boolean success)voidaddStep(java.lang.String key, boolean success, java.lang.Object[] args)voidaddStep(AuthenticationStep step)java.util.List<AuthenticationStep>getSteps()
-
-
-
Field Detail
-
STEP_KEY_VALIDATION_AUTHENTICATOR_NOT_FOUND
public static final java.lang.String STEP_KEY_VALIDATION_AUTHENTICATOR_NOT_FOUND
- See Also:
- Constant Field Values
-
STEP_KEY_VALIDATION_AUTHENTICATOR_NOT_ACTIVE
public static final java.lang.String STEP_KEY_VALIDATION_AUTHENTICATOR_NOT_ACTIVE
- See Also:
- Constant Field Values
-
STEP_KEY_VALIDATION
public static final java.lang.String STEP_KEY_VALIDATION
- See Also:
- Constant Field Values
-
STEP_KEY_LDAP_CONNECTING
public static final java.lang.String STEP_KEY_LDAP_CONNECTING
- See Also:
- Constant Field Values
-
STEP_KEY_LDAP_CONNECTED
public static final java.lang.String STEP_KEY_LDAP_CONNECTED
- See Also:
- Constant Field Values
-
STEP_KEY_LDAP_AUTHENTICATION
public static final java.lang.String STEP_KEY_LDAP_AUTHENTICATION
- See Also:
- Constant Field Values
-
STEP_KEY_LDAP_LOOKUP_USER
public static final java.lang.String STEP_KEY_LDAP_LOOKUP_USER
- See Also:
- Constant Field Values
-
STEP_KEY_LDAP_LOOKEDUP_USER
public static final java.lang.String STEP_KEY_LDAP_LOOKEDUP_USER
- See Also:
- Constant Field Values
-
STEP_KEY_LDAP_FORMAT_USER
public static final java.lang.String STEP_KEY_LDAP_FORMAT_USER
- See Also:
- Constant Field Values
-
STEP_KEY_LDAP_SEARCH
public static final java.lang.String STEP_KEY_LDAP_SEARCH
- See Also:
- Constant Field Values
-
-
Method Detail
-
addStep
public void addStep(AuthenticationStep step)
-
addStep
public void addStep(java.lang.String key, boolean success)- Parameters:
key- Stringsuccess- boolean
-
addStep
public void addStep(java.lang.String key, boolean success, java.lang.Object[] args)- Parameters:
key- Stringsuccess- booleanargs- Object[]
-
getSteps
public java.util.List<AuthenticationStep> getSteps()
-
-