Class SAFPasswordChangeException

  • All Implemented Interfaces:
    java.io.Serializable

    public class SAFPasswordChangeException
    extends java.lang.Exception
    For exceptions thrown from SAFPasswordUtility.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getApplid()
      The APPLID used to perform this authorization check.
      int getRacfReasonCode()
      The RACF reason code from the service which generated this authorization failure.
      int getRacfReturnCode()
      The RACF return code from the service which generated this authorization failure.
      int getSafReturnCode()
      The SAF return code from the service which generated this authorization failure.
      java.lang.String getUserSecurityName()
      The username against who this authorization check was made.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SAFPasswordChangeException

        public SAFPasswordChangeException​(java.lang.Throwable t)
      • SAFPasswordChangeException

        public SAFPasswordChangeException​(java.lang.String userSecName,
                                          java.lang.String ApplID)
      • SAFPasswordChangeException

        public SAFPasswordChangeException​(int safReturnCode,
                                          int racfReturnCode,
                                          int racfReasonCode,
                                          java.lang.String userSecName,
                                          java.lang.String applID)
    • Method Detail

      • getSafReturnCode

        public int getSafReturnCode()
        The SAF return code from the service which generated this authorization failure.
        Returns:
        The SAF return code, or -1 if the SAF return code is not available.
      • getRacfReturnCode

        public int getRacfReturnCode()
        The RACF return code from the service which generated this authorization failure. Note that if a security product other than RACF is being used, its return code will be returned by this method.
        Returns:
        The RACF return code, or -1 if the RACF return code is not available.
      • getRacfReasonCode

        public int getRacfReasonCode()
        The RACF reason code from the service which generated this authorization failure. Note that if a security product other than RACF is being used, its reason code will be returned by this method.
        Returns:
        The RACF reason code, or -1 if the RACF reason code is not available.
      • getUserSecurityName

        public java.lang.String getUserSecurityName()
        The username against who this authorization check was made.
        Returns:
        The username against who this authorization check was made, or null if not available.
      • getApplid

        public java.lang.String getApplid()
        The APPLID used to perform this authorization check.
        Returns:
        The APPLID, or null if not available.