com.sap.engine.lib.security
Interface LoginExceptionDetails
public interface LoginExceptionDetails
This interface is to be implemented by providers of jaas login functionality.
It is desireable that such components use an implementation of this interface
rather than simply throwing LoginException. That
way they will be able to provide a more precise information about the cause
of the failed logon.
Components that login to J2EE Engine will be able to determine that cause
and to react accordingly.
The possible reasons for a failed logon are defined by the interface constants.
WRONG_USERNAME_PASSWORD_COMBINATION
static final byte WRONG_USERNAME_PASSWORD_COMBINATION
- See Also:
- Constant Field Values
PASSWORD_EXPIRED
static final byte PASSWORD_EXPIRED
- See Also:
- Constant Field Values
USER_IS_CURRENTLY_NOT_VALID
static final byte USER_IS_CURRENTLY_NOT_VALID
- See Also:
- Constant Field Values
USER_IS_LOCKED
static final byte USER_IS_LOCKED
- See Also:
- Constant Field Values
CERTIFICATE_IS_NOT_TRUSTED
static final byte CERTIFICATE_IS_NOT_TRUSTED
- See Also:
- Constant Field Values
NO_USER_MAPPED_TO_THIS_CERTIFICATE
static final byte NO_USER_MAPPED_TO_THIS_CERTIFICATE
- See Also:
- Constant Field Values
SAP_LOGON_TICKET_HAS_EXPIRED
static final byte SAP_LOGON_TICKET_HAS_EXPIRED
- See Also:
- Constant Field Values
SAP_LOGON_TICKET_IS_NOT_TRUSTED
static final byte SAP_LOGON_TICKET_IS_NOT_TRUSTED
- See Also:
- Constant Field Values
UNABLE_TO_CREATE_SAP_LOGON_TICKET
static final byte UNABLE_TO_CREATE_SAP_LOGON_TICKET
- See Also:
- Constant Field Values
EMERGENCY_USER_IS_ACTIVE
static final byte EMERGENCY_USER_IS_ACTIVE
- See Also:
- Constant Field Values
UNABLE_TO_PASS_SAP_LOGON_TICKET
static final byte UNABLE_TO_PASS_SAP_LOGON_TICKET
- See Also:
- Constant Field Values
UNABLE_TO_GET_SAP_LOGON_TICKET
static final byte UNABLE_TO_GET_SAP_LOGON_TICKET
- See Also:
- Constant Field Values
DIGEST_CREDENTIALS_NOT_VALID
static final byte DIGEST_CREDENTIALS_NOT_VALID
- See Also:
- Constant Field Values
P4_TICKET_NOT_VALID
static final byte P4_TICKET_NOT_VALID
- See Also:
- Constant Field Values
ACTIVE_USERS_LIMIT_RECHED
static final byte ACTIVE_USERS_LIMIT_RECHED
- See Also:
- Constant Field Values
USER_ALREADY_LOGGED_IN
static final byte USER_ALREADY_LOGGED_IN
- See Also:
- Constant Field Values
USER_NOT_LOGGED_IN
static final byte USER_NOT_LOGGED_IN
- See Also:
- Constant Field Values
NO_LOGIN_MODULE_SUCCEEDED
static final byte NO_LOGIN_MODULE_SUCCEEDED
- See Also:
- Constant Field Values
IO_EXCEPTION
static final byte IO_EXCEPTION
- See Also:
- Constant Field Values
NO_PASSWORD
static final byte NO_PASSWORD
- See Also:
- Constant Field Values
PASSWORD_NOT_USED_FOR_LONG_TIME
static final byte PASSWORD_NOT_USED_FOR_LONG_TIME
- See Also:
- Constant Field Values
PASSWORD_LOCKED
static final byte PASSWORD_LOCKED
- See Also:
- Constant Field Values
CHANGE_PASSWORD_NO_PASSWORD
static final byte CHANGE_PASSWORD_NO_PASSWORD
- See Also:
- Constant Field Values
CHANGE_PASSWORD_NO_NEW_PASSWORD
static final byte CHANGE_PASSWORD_NO_NEW_PASSWORD
- See Also:
- Constant Field Values
CHANGE_PASSWORD_NO_CONFIRM_PASSWORD
static final byte CHANGE_PASSWORD_NO_CONFIRM_PASSWORD
- See Also:
- Constant Field Values
CHANGE_PASSWORD_NO_IDENTICAL_PASSWORDS
static final byte CHANGE_PASSWORD_NO_IDENTICAL_PASSWORDS
- See Also:
- Constant Field Values
CHANGE_PASSWORD_WHITESPACES_NOT_ALLOWED
static final byte CHANGE_PASSWORD_WHITESPACES_NOT_ALLOWED
- See Also:
- Constant Field Values
CHANGE_PASSWORD_NUMERIC_REQUIRED
static final byte CHANGE_PASSWORD_NUMERIC_REQUIRED
- See Also:
- Constant Field Values
CHANGE_PASSWORD_TOO_SHORT
static final byte CHANGE_PASSWORD_TOO_SHORT
- See Also:
- Constant Field Values
CHANGE_PASSWORD_TOO_LONG
static final byte CHANGE_PASSWORD_TOO_LONG
- See Also:
- Constant Field Values
CHANGE_PASSWORD_LOWERCASE_REQUIRED
static final byte CHANGE_PASSWORD_LOWERCASE_REQUIRED
- See Also:
- Constant Field Values
CHANGE_PASSWORD_SPEC_CHARS_REQUIRED
static final byte CHANGE_PASSWORD_SPEC_CHARS_REQUIRED
- See Also:
- Constant Field Values
CHANGE_PASSWORD_ALPHANUM_REQUIRED
static final byte CHANGE_PASSWORD_ALPHANUM_REQUIRED
- See Also:
- Constant Field Values
CHANGE_PASSWORD_MIXED_CASE_REQUIRED
static final byte CHANGE_PASSWORD_MIXED_CASE_REQUIRED
- See Also:
- Constant Field Values
CHANGE_PASSWORD_LOWER_CASE_NOT_ALLOWED
static final byte CHANGE_PASSWORD_LOWER_CASE_NOT_ALLOWED
- See Also:
- Constant Field Values
CHANGE_PASSWORD_ALPHA_NOT_ALLOWED
static final byte CHANGE_PASSWORD_ALPHA_NOT_ALLOWED
- See Also:
- Constant Field Values
CHANGE_PASSWORD_NUMERIC_NOT_ALLOWED
static final byte CHANGE_PASSWORD_NUMERIC_NOT_ALLOWED
- See Also:
- Constant Field Values
CHANGE_PASSWORD_SPECIAL_CHARS_NOT_ALLOWED
static final byte CHANGE_PASSWORD_SPECIAL_CHARS_NOT_ALLOWED
- See Also:
- Constant Field Values
CHANGE_PASSWORD_CHANGE_PASSWORD_NOT_ALLOWED
static final byte CHANGE_PASSWORD_CHANGE_PASSWORD_NOT_ALLOWED
- See Also:
- Constant Field Values
CHANGE_PASSWORD_USERID_CONTAINED_IN_PASSWORD
static final byte CHANGE_PASSWORD_USERID_CONTAINED_IN_PASSWORD
- See Also:
- Constant Field Values
CHANGE_PASSWORD_PASSWORD_CONTAINED_IN_HISTORY
static final byte CHANGE_PASSWORD_PASSWORD_CONTAINED_IN_HISTORY
- See Also:
- Constant Field Values
CHANGE_PASSWORD_NEW_PASSWORD_INVALID
static final byte CHANGE_PASSWORD_NEW_PASSWORD_INVALID
- See Also:
- Constant Field Values
CHANGE_PASSWORD_OLDPASSWORD_IN_NEWPASSWORD
static final byte CHANGE_PASSWORD_OLDPASSWORD_IN_NEWPASSWORD
- See Also:
- Constant Field Values
CHANGE_PASSWORD_NO_PASSWORD_LOGON
static final byte CHANGE_PASSWORD_NO_PASSWORD_LOGON
- See Also:
- Constant Field Values
CHANGE_PASSWORD_PASSWORD_MAX_IDLE_TIME_EXCEEDED
static final byte CHANGE_PASSWORD_PASSWORD_MAX_IDLE_TIME_EXCEEDED
- See Also:
- Constant Field Values
CHANGE_PASSWORD_TOO_MANY_INVALID_LOGON_ATTEMPTS
static final byte CHANGE_PASSWORD_TOO_MANY_INVALID_LOGON_ATTEMPTS
- See Also:
- Constant Field Values
UNKNOWN_CHANGE_PASSWORD_ERROR
static final byte UNKNOWN_CHANGE_PASSWORD_ERROR
- See Also:
- Constant Field Values
getExceptionCause
byte getExceptionCause()
- Gets the cause of the login exception.
- Returns:
- an identifier of the exception cause.
Copyright © 2007 by
SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein
as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other
countries all over the world. All other product and service names mentioned are the trademarks of their respective companies.
Data contained in this document serves informational purposes only. National product specifications may vary.
These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies
("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be
liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are
those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein
should be construed as constituting an additional warranty.