Package org.openiam.esb.core.auth
Class AuthenticationConstants
- java.lang.Object
-
- org.openiam.esb.core.auth.AuthenticationConstants
-
public class AuthenticationConstants extends Object
Lists a set of constants that are used by the authentication service.- Author:
- Suneet Shah
-
-
Field Summary
Fields Modifier and Type Field Description static int
RESULT_INVALID_CONFIGURATION
static int
RESULT_INVALID_DOMAIN
static int
RESULT_INVALID_LOGIN
INVALID_LOGIN - Invalid login idstatic int
RESULT_INVALID_PASSWORD
INVALID_PASSWORD - Invalid passwordstatic int
RESULT_INVALID_TOKEN
static int
RESULT_INVALID_USER_STATUS
INVALID_USER_STATUS - User is not in a valid statusstatic int
RESULT_LOGIN_DISABLED
LOGIN_DISABLEDstatic int
RESULT_LOGIN_LOCKED
LOGIN_LOCKED - Login is lockedstatic int
RESULT_PASSWORD_CHANGE_AFTER_RESET
static int
RESULT_PASSWORD_EXPIRED
PASSWORD_EXPIRED - Password has expiredstatic int
RESULT_SENSITIVE_APP
SENSITIVE_APP - Sensitive application which require re-authentication.static int
RESULT_SERVICE_NOT_FOUND
SERVICE_NOT_FOUND - Service Id does not exist in the systemstatic int
RESULT_SERVICE_UNAVAILABLE
SERVICE_UNAVAILABLE - Service is unavailable.static int
RESULT_SUCCESS
Constants indicating which type of authentication to use.static int
RESULT_SUCCESS_FIRST_TIME
SUCCESS_FIRST_TIME - successful login, but its a first time login..static int
RESULT_SUCCESS_PASSWORD_EXP
SUCCESS_PASSWORD_EXP - successful login, but the password is expiring soon.
-
Constructor Summary
Constructors Constructor Description AuthenticationConstants()
-
-
-
Field Detail
-
RESULT_SUCCESS
public static final int RESULT_SUCCESS
Constants indicating which type of authentication to use. public static final String AUTHN_TYPE_SAML2 = "SAML2"; public static final String AUTHN_TYPE_CERT = "CERT"; public static final int INTERNAL_ERROR = -1; /** SUCCESS - successful login.- See Also:
- Constant Field Values
-
RESULT_SUCCESS_PASSWORD_EXP
public static final int RESULT_SUCCESS_PASSWORD_EXP
SUCCESS_PASSWORD_EXP - successful login, but the password is expiring soon.- See Also:
- Constant Field Values
-
RESULT_SUCCESS_FIRST_TIME
public static final int RESULT_SUCCESS_FIRST_TIME
SUCCESS_FIRST_TIME - successful login, but its a first time login..- See Also:
- Constant Field Values
-
RESULT_INVALID_LOGIN
public static final int RESULT_INVALID_LOGIN
INVALID_LOGIN - Invalid login id- See Also:
- Constant Field Values
-
RESULT_INVALID_PASSWORD
public static final int RESULT_INVALID_PASSWORD
INVALID_PASSWORD - Invalid password- See Also:
- Constant Field Values
-
RESULT_INVALID_DOMAIN
public static final int RESULT_INVALID_DOMAIN
- See Also:
- Constant Field Values
-
RESULT_PASSWORD_EXPIRED
public static final int RESULT_PASSWORD_EXPIRED
PASSWORD_EXPIRED - Password has expired- See Also:
- Constant Field Values
-
RESULT_LOGIN_LOCKED
public static final int RESULT_LOGIN_LOCKED
LOGIN_LOCKED - Login is locked- See Also:
- Constant Field Values
-
RESULT_LOGIN_DISABLED
public static final int RESULT_LOGIN_DISABLED
LOGIN_DISABLED- See Also:
- Constant Field Values
-
RESULT_INVALID_USER_STATUS
public static final int RESULT_INVALID_USER_STATUS
INVALID_USER_STATUS - User is not in a valid status- See Also:
- Constant Field Values
-
RESULT_SERVICE_UNAVAILABLE
public static final int RESULT_SERVICE_UNAVAILABLE
SERVICE_UNAVAILABLE - Service is unavailable.- See Also:
- Constant Field Values
-
RESULT_SERVICE_NOT_FOUND
public static final int RESULT_SERVICE_NOT_FOUND
SERVICE_NOT_FOUND - Service Id does not exist in the system- See Also:
- Constant Field Values
-
RESULT_INVALID_TOKEN
public static final int RESULT_INVALID_TOKEN
- See Also:
- Constant Field Values
-
RESULT_INVALID_CONFIGURATION
public static final int RESULT_INVALID_CONFIGURATION
- See Also:
- Constant Field Values
-
RESULT_SENSITIVE_APP
public static final int RESULT_SENSITIVE_APP
SENSITIVE_APP - Sensitive application which require re-authentication. Typically thrown when attempting to use Single Sign On.- See Also:
- Constant Field Values
-
RESULT_PASSWORD_CHANGE_AFTER_RESET
public static final int RESULT_PASSWORD_CHANGE_AFTER_RESET
- See Also:
- Constant Field Values
-
-