Class AuthenticationDiagnostic
- java.lang.Object
-
- org.alfresco.repo.security.authentication.AuthenticationDiagnostic
-
- All Implemented Interfaces:
Serializable
public class AuthenticationDiagnostic extends Object implements Serializable
Diagnostic 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 StringSTEP_KEY_LDAP_AUTHENTICATIONstatic StringSTEP_KEY_LDAP_CONNECTEDstatic StringSTEP_KEY_LDAP_CONNECTINGstatic StringSTEP_KEY_LDAP_FORMAT_USERstatic StringSTEP_KEY_LDAP_LOOKEDUP_USERstatic StringSTEP_KEY_LDAP_LOOKUP_USERstatic StringSTEP_KEY_LDAP_SEARCHstatic StringSTEP_KEY_VALIDATIONstatic StringSTEP_KEY_VALIDATION_AUTHENTICATOR_NOT_ACTIVEstatic 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(String key, boolean success)voidaddStep(String key, boolean success, Object[] args)voidaddStep(AuthenticationStep step)List<AuthenticationStep>getSteps()
-
-
-
Field Detail
-
STEP_KEY_VALIDATION_AUTHENTICATOR_NOT_FOUND
public static final String STEP_KEY_VALIDATION_AUTHENTICATOR_NOT_FOUND
- See Also:
- Constant Field Values
-
STEP_KEY_VALIDATION_AUTHENTICATOR_NOT_ACTIVE
public static final String STEP_KEY_VALIDATION_AUTHENTICATOR_NOT_ACTIVE
- See Also:
- Constant Field Values
-
STEP_KEY_VALIDATION
public static final String STEP_KEY_VALIDATION
- See Also:
- Constant Field Values
-
STEP_KEY_LDAP_CONNECTING
public static final String STEP_KEY_LDAP_CONNECTING
- See Also:
- Constant Field Values
-
STEP_KEY_LDAP_CONNECTED
public static final String STEP_KEY_LDAP_CONNECTED
- See Also:
- Constant Field Values
-
STEP_KEY_LDAP_AUTHENTICATION
public static final String STEP_KEY_LDAP_AUTHENTICATION
- See Also:
- Constant Field Values
-
STEP_KEY_LDAP_LOOKUP_USER
public static final String STEP_KEY_LDAP_LOOKUP_USER
- See Also:
- Constant Field Values
-
STEP_KEY_LDAP_LOOKEDUP_USER
public static final String STEP_KEY_LDAP_LOOKEDUP_USER
- See Also:
- Constant Field Values
-
STEP_KEY_LDAP_FORMAT_USER
public static final String STEP_KEY_LDAP_FORMAT_USER
- See Also:
- Constant Field Values
-
STEP_KEY_LDAP_SEARCH
public static final String STEP_KEY_LDAP_SEARCH
- See Also:
- Constant Field Values
-
-
Method Detail
-
addStep
public void addStep(AuthenticationStep step)
-
addStep
public void addStep(String key, boolean success)
- Parameters:
key- Stringsuccess- boolean
-
addStep
public void addStep(String key, boolean success, Object[] args)
- Parameters:
key- Stringsuccess- booleanargs- Object[]
-
getSteps
public List<AuthenticationStep> getSteps()
-
-