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 String
STEP_KEY_LDAP_AUTHENTICATION
static String
STEP_KEY_LDAP_CONNECTED
static String
STEP_KEY_LDAP_CONNECTING
static String
STEP_KEY_LDAP_FORMAT_USER
static String
STEP_KEY_LDAP_LOOKEDUP_USER
static String
STEP_KEY_LDAP_LOOKUP_USER
static String
STEP_KEY_LDAP_SEARCH
static String
STEP_KEY_VALIDATION
static String
STEP_KEY_VALIDATION_AUTHENTICATOR_NOT_ACTIVE
static 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(String key, boolean success)
void
addStep(String key, boolean success, Object[] args)
void
addStep(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()
-
-