Package com.saperion.ngc.exception
Enum AuthenticationException.AuthenticationExceptionCause
- java.lang.Object
-
- java.lang.Enum<AuthenticationException.AuthenticationExceptionCause>
-
- com.saperion.ngc.exception.AuthenticationException.AuthenticationExceptionCause
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AuthenticationException.AuthenticationExceptionCause>
- Enclosing class:
- AuthenticationException
public static enum AuthenticationException.AuthenticationExceptionCause extends java.lang.Enum<AuthenticationException.AuthenticationExceptionCause>
Possible causes of an AuthenticationException.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INSUFFICIENT_RIGHTS
User does not have sufficient access rights.LICENSE_NOT_ALLOWED
The current user is not allowed to use the selected license.LOGGED_OFF
User is not logged in.PASSWORD_EXPIRED
User's password has expired and must be changed.TECHNICAL_USER
Technical user can't log on to web client.USER_LOCKED
The current user is locked in usermanagement.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AuthenticationException.AuthenticationExceptionCause
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AuthenticationException.AuthenticationExceptionCause[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOGGED_OFF
public static final AuthenticationException.AuthenticationExceptionCause LOGGED_OFF
User is not logged in.
-
INSUFFICIENT_RIGHTS
public static final AuthenticationException.AuthenticationExceptionCause INSUFFICIENT_RIGHTS
User does not have sufficient access rights.
-
PASSWORD_EXPIRED
public static final AuthenticationException.AuthenticationExceptionCause PASSWORD_EXPIRED
User's password has expired and must be changed.
-
TECHNICAL_USER
public static final AuthenticationException.AuthenticationExceptionCause TECHNICAL_USER
Technical user can't log on to web client.
-
LICENSE_NOT_ALLOWED
public static final AuthenticationException.AuthenticationExceptionCause LICENSE_NOT_ALLOWED
The current user is not allowed to use the selected license.
-
USER_LOCKED
public static final AuthenticationException.AuthenticationExceptionCause USER_LOCKED
The current user is locked in usermanagement.
-
-
Method Detail
-
values
public static AuthenticationException.AuthenticationExceptionCause[] 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 (AuthenticationException.AuthenticationExceptionCause c : AuthenticationException.AuthenticationExceptionCause.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AuthenticationException.AuthenticationExceptionCause 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 namejava.lang.NullPointerException
- if the argument is null
-
-