public class AS400SecurityException extends java.lang.Exception implements ReturnCodeException
Modifier and Type | Field and Description |
---|---|
static int |
DIRECTORY_ENTRY_ACCESS_DENIED
The return code indicating that the user of this program does not have enough authority to access the directory entry.
|
static int |
EXIT_POINT_PROCESSING_ERROR
The return code indicating that an error occurred processing the exit point.
|
static int |
EXIT_PROGRAM_CALL_ERROR
The return code indicating that an error occurred with the user exit program call.
|
static int |
EXIT_PROGRAM_DENIED_REQUEST
The return code indicating that the user exit program associated with the server job rejected the request.
|
static int |
EXIT_PROGRAM_NOT_AUTHORIZED
The return code indicating that the user is not authorized to the exit program.
|
static int |
EXIT_PROGRAM_RESOLVE_ERROR
The return code indicating that an error occurred resolving to the exit program.
|
static int |
GENERATE_TOKEN_AUTHORITY_INSUFFICIENT
The return code indicating that the user of this program does not have enough authority to generate a profile token for another user.
|
static int |
GENERATE_TOKEN_CAN_NOT_CHANGE_CCSID
The return code indicating that can not change the CCSID.
|
static int |
GENERATE_TOKEN_CAN_NOT_CONNECT
The return code indicating that can not connect to the system EIM domain.
|
static int |
GENERATE_TOKEN_CAN_NOT_OBTAIN_NAME
The return code indicating that can not obtain the EIM registry name.
|
static int |
GENERATE_TOKEN_NO_MAPPING
The return code indicating that no mapping exists.
|
static int |
GENERATE_TOKEN_REQUEST_NOT_VALID
The return code indicating that the generate token request is not valid.
|
static int |
KERBEROS_TICKET_NOT_VALID_CONSISTENCY
The return code indicating that the authentication token is not valid.
|
static int |
KERBEROS_TICKET_NOT_VALID_CREDANTIAL_STRUCTURE
The return code indicating that the Kerberos ticket is not valid.
|
static int |
KERBEROS_TICKET_NOT_VALID_CREDENTIAL_NO_LONGER_VALID
The return code indicating that the Kerberos ticket is not valid.
|
static int |
KERBEROS_TICKET_NOT_VALID_CREDENTIAL_NOT_VALID
The return code indicating that the Kerberos ticket is not valid.
|
static int |
KERBEROS_TICKET_NOT_VALID_EIM
The return code indicating that the authentication token is not valid.
|
static int |
KERBEROS_TICKET_NOT_VALID_MECHANISM
The return code indicating that the Kerberos ticket is not valid.
|
static int |
KERBEROS_TICKET_NOT_VALID_MULTIPLE_PROFILES
The return code indicating that the authentication token is not valid.
|
static int |
KERBEROS_TICKET_NOT_VALID_RETRIEVE
The return code indicating that the Kerberos ticket is not valid.
|
static int |
KERBEROS_TICKET_NOT_VALID_SIGNATURE
The return code indicating that the authentication token is not valid.
|
static int |
KERBEROS_TICKET_NOT_VALID_SYSTEM_PROFILE
The return code indicating that the Kerberos ticket is not valid.
|
static int |
KERBEROS_TICKET_NOT_VALID_VERIFICATION
The return code indicating that the Kerberos ticket is not valid.
|
static int |
LIBRARY_AUTHORITY_INSUFFICIENT
The return code indicating that the user of this program does not have enough authority to the library to perform the requested action.
|
static int |
OBJECT_AUTHORITY_INSUFFICIENT
The return code indicating that the user of this program does not have enough authority to the resource to perform the requested action.
|
static int |
PASSWORD_CHANGE_NOT_ALLOWED
The return code indicating that the password change is not allowed at this time.
|
static int |
PASSWORD_CHANGE_REQUEST_NOT_VALID
The return code indicating that the change password request is missing user ID, old password, or new password.
|
static int |
PASSWORD_ERROR
The return code indicating that there is a general password error.
|
static int |
PASSWORD_EXPIRED
The return code indicating that the password has expired.
|
static int |
PASSWORD_INCORRECT
The return code indicating that the password is not correct.
|
static int |
PASSWORD_INCORRECT_USERID_DISABLE
The return code indicating that the password is not correct and that the user ID will be disabled on the next sign-on attempt if the password is incorrect again.
|
static int |
PASSWORD_LENGTH_NOT_VALID
The return code indicating that the password length is not valid.
|
static int |
PASSWORD_NEW_ADJACENT_DIGITS
The return code indicating that the new password has adjacent digits.
|
static int |
PASSWORD_NEW_CHARACTER_NOT_VALID
The return code indicating that the new password contains a character that is not valid.
|
static int |
PASSWORD_NEW_CONSECUTIVE_REPEAT_CHARACTER
The return code indicating that the new password contains a character repeated consecutively.
|
static int |
PASSWORD_NEW_DISALLOWED
The return code indicating that the new password is not allowed.
|
static int |
PASSWORD_NEW_NO_ALPHABETIC
The return code indicating that the new password must contain at least one alphabetic.
|
static int |
PASSWORD_NEW_NO_NUMERIC
The return code indicating that the new password must contain at least one numeric.
|
static int |
PASSWORD_NEW_NOT_VALID
The return code indicating that the new password is not valid.
|
static int |
PASSWORD_NEW_PREVIOUSLY_USED
The return code indicating that the new password was previously used.
|
static int |
PASSWORD_NEW_REPEAT_CHARACTER
The return code indicating that the new password contains a character used more than once.
|
static int |
PASSWORD_NEW_SAME_POSITION
The return code indicating that the new password contains the same character in the same position as the previous password.
|
static int |
PASSWORD_NEW_TOO_LONG
The return code indicating that the new password is longer than maximum accepted length.
|
static int |
PASSWORD_NEW_TOO_SHORT
The return code indicating that the new password is shorter than minimum accepted length.
|
static int |
PASSWORD_NEW_USERID
The return code indicating that the new password contains a user ID as part of the password.
|
static int |
PASSWORD_NEW_VALIDATION_PROGRAM
The return code indicating that the password validation program failed the request.
|
static int |
PASSWORD_NONE
The return code indicating that the password is *NONE.
|
static int |
PASSWORD_NOT_SET
The return code indicating that the password is not set.
|
static int |
PASSWORD_OLD_NOT_VALID
The return code indicating that the old password is not valid.
|
static int |
PASSWORD_PRE_V2R2
The return code indicating that the password has pre-V2R2 encryption.
|
static int |
PASSWORD_VALUE_NOT_VALID
The return code indicating that the password value is not valid.
|
static int |
PROFILE_TOKEN_NOT_VALID
The return code indicating that the profile token or identity token is not valid.
|
static int |
PROFILE_TOKEN_NOT_VALID_MAXIMUM
The return code indicating that the profile token is not valid.
|
static int |
PROFILE_TOKEN_NOT_VALID_NOT_REGENERABLE
The return code indicating that the profile token is not valid.
|
static int |
PROFILE_TOKEN_NOT_VALID_TIMEOUT_NOT_VALID
The return code indicating that the profile token is not valid.
|
static int |
PROFILE_TOKEN_NOT_VALID_TYPE_NOT_VALID
The return code indicating that the profile token is not valid.
|
static int |
REQUEST_NOT_SUPPORTED
The return code indicating that the requested action is not supported.
|
static int |
SECURITY_GENERAL
The return code indicating that a general security failure occurred.
|
static int |
SERVER_CONVERSION_ERROR
The return code indicating that an error occurred on the system while converting data between code pages.
|
static int |
SERVER_CRYPTO_ERROR
The return code indicating that an error occurred on the system while using cryptographic interfaces.
|
static int |
SERVER_EIM_ERROR
The return code indicating that an error occurred on the system while using EIM interfaces.
|
static int |
SERVER_KEY_NOT_FOUND
The return code indicating that the system could not find the public key.
|
static int |
SERVER_NO_MEMORY
The return code indicating that the system was not able to allocate space needed for authorization.
|
static int |
SERVER_TOKEN_VERSION
The return code indicating that the system version does support the token version.
|
static int |
SIGNON_CANCELED
The return code indicating that the user canceled out of the sign-on prompt.
|
static int |
SIGNON_CHAR_NOT_VALID
The return code indicating that the user ID or password contains a character that is not valid.
|
static int |
SIGNON_REQUEST_NOT_VALID
The return code indicating that the sign-on request is missing either the user ID or the password.
|
static int |
SPECIAL_AUTHORITY_INSUFFICIENT
The return code indicating that the user of this program does not have enough special authority to perform the requested action.
|
static int |
SYSTEM_LEVEL_NOT_CORRECT
The return code indicating that the requested action cannot be performed due to the system level not being correct.
|
static int |
TOKEN_LENGTH_NOT_VALID
The return code indicating that the token length is not valid.
|
static int |
TOKEN_TYPE_NOT_VALID
The return code indicating that the token type is not valid.
|
static int |
UNKNOWN
The return code indicating that the exact cause of the failure is not known.
|
static int |
USERID_DISABLE
The return code indicating that the user ID has been disabled by the system.
|
static int |
USERID_ERROR
The return code indicating that a general user ID error occurred.
|
static int |
USERID_LENGTH_NOT_VALID
The return code indicating that the user ID length is not valid.
|
static int |
USERID_MISMATCH
The return code indicating that the user ID does not match the user profile associated with the authentication token.
|
static int |
USERID_NOT_SET
The return code indicating that the user ID is not set.
|
static int |
USERID_UNKNOWN
The return code indicating that the user ID is not known by the system.
|
Modifier | Constructor and Description |
---|---|
protected |
AS400SecurityException(int returnCode)
Constructs an AS400SecurityException.
|
protected |
AS400SecurityException(int returnCode,
java.lang.Throwable e)
Constructs an AS400SecurityException.
|
Modifier and Type | Method and Description |
---|---|
AS400Message[] |
getMessageList()
Returns the list of messages associated with this exception.
|
int |
getReturnCode()
Returns the return code associated with this exception.
|
public static final int DIRECTORY_ENTRY_ACCESS_DENIED
public static final int EXIT_PROGRAM_NOT_AUTHORIZED
public static final int LIBRARY_AUTHORITY_INSUFFICIENT
public static final int OBJECT_AUTHORITY_INSUFFICIENT
public static final int PASSWORD_CHANGE_REQUEST_NOT_VALID
public static final int PASSWORD_ERROR
public static final int PASSWORD_EXPIRED
public static final int PASSWORD_INCORRECT
public static final int PASSWORD_INCORRECT_USERID_DISABLE
public static final int PASSWORD_LENGTH_NOT_VALID
public static final int PASSWORD_NEW_ADJACENT_DIGITS
public static final int PASSWORD_NEW_CONSECUTIVE_REPEAT_CHARACTER
public static final int PASSWORD_NEW_DISALLOWED
public static final int PASSWORD_NEW_NO_ALPHABETIC
public static final int PASSWORD_NEW_NO_NUMERIC
public static final int PASSWORD_NEW_NOT_VALID
public static final int PASSWORD_NEW_PREVIOUSLY_USED
public static final int PASSWORD_NEW_REPEAT_CHARACTER
public static final int PASSWORD_NEW_TOO_LONG
public static final int PASSWORD_NEW_TOO_SHORT
public static final int PASSWORD_NEW_USERID
public static final int PASSWORD_NOT_SET
public static final int PASSWORD_OLD_NOT_VALID
public static final int SECURITY_GENERAL
public static final int SIGNON_CANCELED
public static final int SIGNON_REQUEST_NOT_VALID
public static final int UNKNOWN
public static final int USERID_ERROR
public static final int USERID_LENGTH_NOT_VALID
public static final int USERID_NOT_SET
public static final int USERID_DISABLE
public static final int USERID_UNKNOWN
public static final int EXIT_POINT_PROCESSING_ERROR
public static final int EXIT_PROGRAM_RESOLVE_ERROR
public static final int EXIT_PROGRAM_DENIED_REQUEST
public static final int EXIT_PROGRAM_CALL_ERROR
public static final int REQUEST_NOT_SUPPORTED
public static final int SYSTEM_LEVEL_NOT_CORRECT
public static final int PASSWORD_NEW_SAME_POSITION
public static final int SPECIAL_AUTHORITY_INSUFFICIENT
public static final int TOKEN_TYPE_NOT_VALID
public static final int GENERATE_TOKEN_REQUEST_NOT_VALID
public static final int TOKEN_LENGTH_NOT_VALID
public static final int PASSWORD_NEW_CHARACTER_NOT_VALID
public static final int PASSWORD_PRE_V2R2
public static final int PASSWORD_NONE
public static final int PROFILE_TOKEN_NOT_VALID
public static final int PROFILE_TOKEN_NOT_VALID_MAXIMUM
public static final int PROFILE_TOKEN_NOT_VALID_TIMEOUT_NOT_VALID
public static final int PROFILE_TOKEN_NOT_VALID_TYPE_NOT_VALID
public static final int PROFILE_TOKEN_NOT_VALID_NOT_REGENERABLE
public static final int KERBEROS_TICKET_NOT_VALID_CONSISTENCY
public static final int KERBEROS_TICKET_NOT_VALID_MECHANISM
public static final int KERBEROS_TICKET_NOT_VALID_CREDENTIAL_NOT_VALID
public static final int KERBEROS_TICKET_NOT_VALID_SIGNATURE
public static final int KERBEROS_TICKET_NOT_VALID_CREDENTIAL_NO_LONGER_VALID
public static final int KERBEROS_TICKET_NOT_VALID_CREDANTIAL_STRUCTURE
public static final int KERBEROS_TICKET_NOT_VALID_VERIFICATION
public static final int KERBEROS_TICKET_NOT_VALID_EIM
public static final int KERBEROS_TICKET_NOT_VALID_SYSTEM_PROFILE
public static final int KERBEROS_TICKET_NOT_VALID_MULTIPLE_PROFILES
public static final int KERBEROS_TICKET_NOT_VALID_RETRIEVE
public static final int SIGNON_CHAR_NOT_VALID
public static final int USERID_MISMATCH
public static final int PASSWORD_NEW_VALIDATION_PROGRAM
public static final int GENERATE_TOKEN_AUTHORITY_INSUFFICIENT
public static final int GENERATE_TOKEN_CAN_NOT_CONNECT
public static final int GENERATE_TOKEN_CAN_NOT_CHANGE_CCSID
public static final int GENERATE_TOKEN_CAN_NOT_OBTAIN_NAME
public static final int GENERATE_TOKEN_NO_MAPPING
public static final int SERVER_NO_MEMORY
public static final int SERVER_CONVERSION_ERROR
public static final int SERVER_EIM_ERROR
public static final int SERVER_CRYPTO_ERROR
public static final int SERVER_TOKEN_VERSION
public static final int SERVER_KEY_NOT_FOUND
public static final int PASSWORD_CHANGE_NOT_ALLOWED
public static final int PASSWORD_VALUE_NOT_VALID
protected AS400SecurityException(int returnCode)
An AS400SecurityException indicates that a security error has occurred.
returnCode
- The return code which identifies the message to be returned. Possible values are defined as constants on this class.protected AS400SecurityException(int returnCode, java.lang.Throwable e)
An AS400SecurityException indicates that a security error has occurred.
returnCode
- The return code which identifies the message to be returned. Possible values are defined as constants on this class.e
- cause of the exceptionpublic int getReturnCode()
getReturnCode
in interface ReturnCodeException
public AS400Message[] getMessageList()