Skip navigation links

Oracle Fusion Middleware Extensibility Java API Reference for Oracle Access Management Access Manager
11g Release 2 (11.1.2.1.0)

E27137-02


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>
Since:
OAM 11.1.1.5.0
Version:
OAM 11.1.2.0.0

Enum Constant Summary
AUTHENTICATION_FAILED
          Generic Authentication failed
IDSTORE_UNREACHABLE_ERROR
           
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 getPrimaryMessage()
          Deprecated. 
 java.lang.String getValue()
           
 void setPrimaryMessage(java.lang.String primaryMsg)
          Deprecated. 
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

IDSTORE_UNREACHABLE_ERROR

public static final AuthenticationErrorCode IDSTORE_UNREACHABLE_ERROR

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()

getPrimaryMessage

@Deprecated
public java.lang.String getPrimaryMessage()
Deprecated. 

setPrimaryMessage

@Deprecated
public void setPrimaryMessage(java.lang.String primaryMsg)
Deprecated. 
This method had been deprecated and will be removed soon. Sets the error message got from the backend on the error code object.
Parameters:
primaryMsg - : Error message got from backend store

Skip navigation links

Oracle Fusion Middleware Extensibility Java API Reference for Oracle Access Management Access Manager
11g Release 2 (11.1.2.1.0)

E27137-02


Copyright © 2013, Oracle Corp. All Rights Reserved.