Class 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 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
    • Constructor Detail

      • AuthenticationDiagnostic

        public AuthenticationDiagnostic()
    • Method Detail

      • addStep

        public void addStep​(java.lang.String key,
                            boolean success)
        Parameters:
        key - String
        success - boolean
      • addStep

        public void addStep​(java.lang.String key,
                            boolean success,
                            java.lang.Object[] args)
        Parameters:
        key - String
        success - boolean
        args - Object[]