All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.as400.access.AS400SecurityException

java.lang.Object
   |
   +----java.lang.Throwable
           |
           +----java.lang.Exception
                   |
                   +----com.ibm.as400.access.AS400SecurityException

public class AS400SecurityException
extends Exception
implements ReturnCodeException
The AS400SecuirytException class represents an exception that indicates that a security or authority error has occurred.


Variable Index

 o DIRECTORY_ENTRY_ACCESS_DENIED
The return code indicating that the user of this program does not have enough authority to access the directory entry.
 o EXIT_POINT_PROCESSING_ERROR
The return code indicating that an error occurred processing the exit point.
 o EXIT_PROGRAM_CALL_ERROR
The return code indicating that an error occurred with the user exit program call.
 o EXIT_PROGRAM_DENIED_REQUEST
The return code indicating that the user exit program associated with the server job rejected the request.
 o EXIT_PROGRAM_NOT_AUTHORIZED
The return code indicating that the user is not authorized to the exit program.
 o EXIT_PROGRAM_RESOLVE_ERROR
The return code indicating that an error occurred resolving to the exit program.
 o 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.
 o OBJECT_AUTHORITY_INSUFFICIENT
The return code indicating that the user of this program does not have enough authority to the AS/400 resource to perform the requested action.
 o PASSWORD_CHANGE_REQUEST_NOT_VALID
The return code indicating that the change password request is missing user ID, old password, or new password.
 o PASSWORD_ERROR
The return code indicating that there is a general password error.
 o PASSWORD_EXPIRED
The return code indicating that the password has expired.
 o PASSWORD_INCORRECT
The return code indicating that the password is not correct.
 o 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.
 o PASSWORD_LENGTH_NOT_VALID
The return code indicating that the password length is not valid.
 o PASSWORD_NEW_ADJACENT_DIGITS
The return code indicating that the new password has adjacent digits.
 o PASSWORD_NEW_CONSECUTIVE_REPEAT_CHARACTER
The return code indicating that the new password contains a character repeated consecutively.
 o PASSWORD_NEW_DISALLOWED
The return code indicating that the new password is not allowed.
 o PASSWORD_NEW_NO_ALPHABETIC
The return code indicating that the new password must contain at least one alphabetic.
 o PASSWORD_NEW_NO_NUMERIC
The return code indicating that the new password must contain at least one numeric.
 o PASSWORD_NEW_NOT_VALID
The return code indicating that the new password is not valid.
 o PASSWORD_NEW_PREVIOUSLY_USED
The return code indicating that the new password was previously used.
 o PASSWORD_NEW_REPEAT_CHARACTER
The return code indicating that the new password contains a character used more than once.
 o PASSWORD_NEW_TOO_LONG
The return code indicating that the new password is longer than maximum accepted length.
 o PASSWORD_NEW_TOO_SHORT
The return code indicating that the new password is shorter than minimum accepted length.
 o PASSWORD_NEW_USERID
The return code indicating that the new password contains a user ID as part of the password.
 o PASSWORD_NOT_SET
The return code indicating that the password is not set.
 o PASSWORD_OLD_NOT_VALID
The return code indicating that the old password is not valid.
 o REQUEST_NOT_SUPPORTED
The return code indicating that the requested action is not supported.
 o SECURITY_GENERAL
The return code indicating that a general security failure occurred.
 o SIGNON_CANCELED
The return code indicating that the user canceled out of the sign-on prompt.
 o SIGNON_REQUEST_NOT_VALID
The return code indicating that the sign-on request is missing either the user ID or the password.
 o SYSTEM_LEVEL_NOT_CORRECT
The return code indicating that the requested action cannot be performed due to the system level not being correct.
 o UNKNOWN
The return code indicating that the exact cause of the failure is not known.
 o USERID_DISABLE
The return code indicating that the user ID has been disabled by the AS/400 system.
 o USERID_ERROR
The return code indicating that a general user ID error occurred.
 o USERID_LENGTH_NOT_VALID
The return code indicating that the user ID length is not valid.
 o USERID_NOT_SET
The return code indicating that the user ID is not set.
 o USERID_UNKNOWN
The return code indicating that the user ID is not known by the AS/400 system.

Constructor Index

 o AS400SecurityException(int)
Constructs an AS400SecurityException.

Method Index

 o getReturnCode()
Returns the return code associated with this exception.

Variables

 o DIRECTORY_ENTRY_ACCESS_DENIED
 public static final 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.

 o EXIT_PROGRAM_NOT_AUTHORIZED
 public static final int EXIT_PROGRAM_NOT_AUTHORIZED
The return code indicating that the user is not authorized to the exit program.

 o LIBRARY_AUTHORITY_INSUFFICIENT
 public static final 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.

 o OBJECT_AUTHORITY_INSUFFICIENT
 public static final int OBJECT_AUTHORITY_INSUFFICIENT
The return code indicating that the user of this program does not have enough authority to the AS/400 resource to perform the requested action.

 o PASSWORD_CHANGE_REQUEST_NOT_VALID
 public static final int PASSWORD_CHANGE_REQUEST_NOT_VALID
The return code indicating that the change password request is missing user ID, old password, or new password.

 o PASSWORD_ERROR
 public static final int PASSWORD_ERROR
The return code indicating that there is a general password error.

 o PASSWORD_EXPIRED
 public static final int PASSWORD_EXPIRED
The return code indicating that the password has expired.

 o PASSWORD_INCORRECT
 public static final int PASSWORD_INCORRECT
The return code indicating that the password is not correct.

 o PASSWORD_INCORRECT_USERID_DISABLE
 public static final 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.

 o PASSWORD_LENGTH_NOT_VALID
 public static final int PASSWORD_LENGTH_NOT_VALID
The return code indicating that the password length is not valid.

 o PASSWORD_NEW_ADJACENT_DIGITS
 public static final int PASSWORD_NEW_ADJACENT_DIGITS
The return code indicating that the new password has adjacent digits.

 o PASSWORD_NEW_CONSECUTIVE_REPEAT_CHARACTER
 public static final int PASSWORD_NEW_CONSECUTIVE_REPEAT_CHARACTER
The return code indicating that the new password contains a character repeated consecutively.

 o PASSWORD_NEW_DISALLOWED
 public static final int PASSWORD_NEW_DISALLOWED
The return code indicating that the new password is not allowed.

 o PASSWORD_NEW_NO_ALPHABETIC
 public static final int PASSWORD_NEW_NO_ALPHABETIC
The return code indicating that the new password must contain at least one alphabetic.

 o PASSWORD_NEW_NO_NUMERIC
 public static final int PASSWORD_NEW_NO_NUMERIC
The return code indicating that the new password must contain at least one numeric.

 o PASSWORD_NEW_NOT_VALID
 public static final int PASSWORD_NEW_NOT_VALID
The return code indicating that the new password is not valid.

 o PASSWORD_NEW_PREVIOUSLY_USED
 public static final int PASSWORD_NEW_PREVIOUSLY_USED
The return code indicating that the new password was previously used.

 o PASSWORD_NEW_REPEAT_CHARACTER
 public static final int PASSWORD_NEW_REPEAT_CHARACTER
The return code indicating that the new password contains a character used more than once.

 o PASSWORD_NEW_TOO_LONG
 public static final int PASSWORD_NEW_TOO_LONG
The return code indicating that the new password is longer than maximum accepted length.

 o PASSWORD_NEW_TOO_SHORT
 public static final int PASSWORD_NEW_TOO_SHORT
The return code indicating that the new password is shorter than minimum accepted length.

 o PASSWORD_NEW_USERID
 public static final int PASSWORD_NEW_USERID
The return code indicating that the new password contains a user ID as part of the password.

 o PASSWORD_NOT_SET
 public static final int PASSWORD_NOT_SET
The return code indicating that the password is not set.

 o PASSWORD_OLD_NOT_VALID
 public static final int PASSWORD_OLD_NOT_VALID
The return code indicating that the old password is not valid.

 o SECURITY_GENERAL
 public static final int SECURITY_GENERAL
The return code indicating that a general security failure occurred. Ensure that QUSER did not expire.

 o SIGNON_CANCELED
 public static final int SIGNON_CANCELED
The return code indicating that the user canceled out of the sign-on prompt.

 o SIGNON_REQUEST_NOT_VALID
 public static final int SIGNON_REQUEST_NOT_VALID
The return code indicating that the sign-on request is missing either the user ID or the password.

 o UNKNOWN
 public static final int UNKNOWN
The return code indicating that the exact cause of the failure is not known. The detailed message may contain additional information.

 o USERID_ERROR
 public static final int USERID_ERROR
The return code indicating that a general user ID error occurred.

 o USERID_LENGTH_NOT_VALID
 public static final int USERID_LENGTH_NOT_VALID
The return code indicating that the user ID length is not valid.

 o USERID_NOT_SET
 public static final int USERID_NOT_SET
The return code indicating that the user ID is not set.

 o USERID_DISABLE
 public static final int USERID_DISABLE
The return code indicating that the user ID has been disabled by the AS/400 system.

 o USERID_UNKNOWN
 public static final int USERID_UNKNOWN
The return code indicating that the user ID is not known by the AS/400 system.

 o EXIT_POINT_PROCESSING_ERROR
 public static final int EXIT_POINT_PROCESSING_ERROR
The return code indicating that an error occurred processing the exit point.

 o EXIT_PROGRAM_RESOLVE_ERROR
 public static final int EXIT_PROGRAM_RESOLVE_ERROR
The return code indicating that an error occurred resolving to the exit program.

 o EXIT_PROGRAM_DENIED_REQUEST
 public static final int EXIT_PROGRAM_DENIED_REQUEST
The return code indicating that the user exit program associated with the server job rejected the request.

 o EXIT_PROGRAM_CALL_ERROR
 public static final int EXIT_PROGRAM_CALL_ERROR
The return code indicating that an error occurred with the user exit program call.

 o REQUEST_NOT_SUPPORTED
 public static final int REQUEST_NOT_SUPPORTED
The return code indicating that the requested action is not supported.

 o SYSTEM_LEVEL_NOT_CORRECT
 public static final int SYSTEM_LEVEL_NOT_CORRECT
The return code indicating that the requested action cannot be performed due to the system level not being correct.

Constructors

 o AS400SecurityException
 protected AS400SecurityException(int returnCode)
Constructs an AS400SecurityException.

An AS400SecurityException indicates that a security error has occurred.

Parameters:
returnCode - The return code which identifies the message to be returned. Possible values are defined as constants on this class.

Methods

 o getReturnCode
 public int getReturnCode()
Returns the return code associated with this exception.

Returns:
The return code.

All Packages  Class Hierarchy  This Package  Previous  Next  Index