Skip navigation links

Oracle Access Manager Extensibility Java API Reference
11g Release 1 (11.1.1.5)

E22473-01


oracle.security.am.plugin.authn
Enum AuthenticationErrorCode

java.lang.Object
  extended by java.lang.Enum<AuthenticationErrorCode>
      extended by oracle.security.am.plugin.authn.AuthenticationErrorCode

All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<AuthenticationErrorCode>

public enum AuthenticationErrorCode
extends java.lang.Enum<AuthenticationErrorCode>

Error codes defined for authentication modules. Used for setting the erro codes after the authentication failures.

Since:
OAM 11.1.1.5.0
Version:
OAM 11.1.1.5.0

Enum Constant Summary
AUTHENTICATION_FAILED
          Generic Authentication failed
INTERNAL_ERROR
          Server side error.
INVALID_PASSWORD
          User provided wrong password.
INVALID_USER
          User provided wrong user name.
UNSPECIFIED_ERROR
           
USER_LOCKED_ERROR
           
USER_PASSWORD_EXPIRED
           

 

Method Summary
 java.lang.String getValue()
           
static AuthenticationErrorCode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AuthenticationErrorCode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.

 

Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

 

Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait

 

Enum Constant Detail

INVALID_USER

public static final AuthenticationErrorCode INVALID_USER
User provided wrong user name.

AUTHENTICATION_FAILED

public static final AuthenticationErrorCode AUTHENTICATION_FAILED
Generic Authentication failed

INVALID_PASSWORD

public static final AuthenticationErrorCode INVALID_PASSWORD
User provided wrong password.

INTERNAL_ERROR

public static final AuthenticationErrorCode INTERNAL_ERROR
Server side error.

UNSPECIFIED_ERROR

public static final AuthenticationErrorCode UNSPECIFIED_ERROR

USER_LOCKED_ERROR

public static final AuthenticationErrorCode USER_LOCKED_ERROR

USER_PASSWORD_EXPIRED

public static final AuthenticationErrorCode USER_PASSWORD_EXPIRED

Method Detail

values

public static AuthenticationErrorCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (AuthenticationErrorCode c : AuthenticationErrorCode.values())
    System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

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

getValue

public java.lang.String getValue()

Skip navigation links

Oracle Access Manager Extensibility Java API Reference
11g Release 1 (11.1.1.5)

E22473-01


Copyright © 2011, Oracle and/or its affiliates. All rights reserved.