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.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 java.lang.String
STEP_KEY_LDAP_AUTHENTICATION
static java.lang.String
STEP_KEY_LDAP_CONNECTED
static java.lang.String
STEP_KEY_LDAP_CONNECTING
static java.lang.String
STEP_KEY_LDAP_FORMAT_USER
static java.lang.String
STEP_KEY_LDAP_LOOKEDUP_USER
static java.lang.String
STEP_KEY_LDAP_LOOKUP_USER
static java.lang.String
STEP_KEY_LDAP_SEARCH
static java.lang.String
STEP_KEY_VALIDATION
static java.lang.String
STEP_KEY_VALIDATION_AUTHENTICATOR_NOT_ACTIVE
static java.lang.String
STEP_KEY_VALIDATION_AUTHENTICATOR_NOT_FOUND
-
Constructor Summary
Constructors Constructor Description AuthenticationDiagnostic()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addStep(java.lang.String key, boolean success)
void
addStep(java.lang.String key, boolean success, java.lang.Object[] args)
void
addStep(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()
-
-