Enum Class CredentialValidationOutput.Status

All Implemented Interfaces:
Serializable, Comparable<CredentialValidationOutput.Status>, Constable
Enclosing class:

public static enum CredentialValidationOutput.Status extends Enum<CredentialValidationOutput.Status>
  • Enum Constant Details


      public static final CredentialValidationOutput.Status AUTHENTICATED
      User was successfully authenticated. The CredentialValidationOutput.getAuthenticatedUser() must return authenticated user when this is used
    • FAILED

      public static final CredentialValidationOutput.Status FAILED
      Federation provider failed to authenticate user. This is typically used when user storage provider recognizes the user, but credentials are incorrect, so federation provider can mark whole authentication as not successful without eventual fallback to other user storage provider

      public static final CredentialValidationOutput.Status FALLBACK
      Federation provider was not able to recognize the user. It is possible that credential was valid, but fereration provider was not able to lookup the user in it's storage. Fallback to other user storage provider in the chain might be possible

      public static final CredentialValidationOutput.Status CONTINUE
      Federation provider did not fully authenticate user. It may be needed to ask user for further challenge to then re-try authentication with same federation provider
  • Method Details

    • values

      public static CredentialValidationOutput.Status[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static CredentialValidationOutput.Status valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      name - the name of the enum constant to be returned.
      the enum constant with the specified name
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null