com.cognos.CAM_AAA.authentication

Class SystemRecoverableException

  • All Implemented Interfaces:
    java.io.Serializable


    public class SystemRecoverableException
    extends UnrecoverableException
    Indicates that the authentication failed but recovery is possible following interaction with the system.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      SystemRecoverableException(java.lang.String theMessage, byte[] theSecurityContext)
      Creates a system recoverable exception with a Kerberos authentication token.
      SystemRecoverableException(java.lang.String theMessage, java.lang.String theRequestedVars)
      Creates a system recoverable exception to request a single trusted environment variable.
      SystemRecoverableException(java.lang.String theMessage, java.lang.String[] theRequestedVars)
      Creates a system recoverable exception to request multiple trusted environment variables.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String[] getRequestedVars()
      Returns all the names of the environment variables being requested or null if none is being requested.
      byte[] getSecurityContext()
      Returns the Kerberos token that is being trasmitted with this exception or null if none is being sent.
      • 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

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

      • SystemRecoverableException

        public SystemRecoverableException(java.lang.String theMessage,
                                          byte[] theSecurityContext)
        Creates a system recoverable exception with a Kerberos authentication token.
        Parameters:
        theMessage - The details about the condition that caused this exception.
        theSecurityContext - The Kerberos token to send to the other party.
      • SystemRecoverableException

        public SystemRecoverableException(java.lang.String theMessage,
                                          java.lang.String[] theRequestedVars)
        Creates a system recoverable exception to request multiple trusted environment variables.
        Parameters:
        theMessage - The details about the condition that caused this exception.
        theRequestedVars - An array containing the name of each environment variable being requested.
      • SystemRecoverableException

        public SystemRecoverableException(java.lang.String theMessage,
                                          java.lang.String theRequestedVars)
        Creates a system recoverable exception to request a single trusted environment variable.
        Parameters:
        theMessage - The details about the condition that caused this exception.
        theRequestedVars - The name of the environment variable being requested.
    • Method Detail

      • getRequestedVars

        public java.lang.String[] getRequestedVars()
        Returns all the names of the environment variables being requested or null if none is being requested.
        Returns:
        An array containing the name of each environment variable being requested.
      • getSecurityContext

        public byte[] getSecurityContext()
        Returns the Kerberos token that is being trasmitted with this exception or null if none is being sent.
        Returns:
        The Kerberos token being transmitted with this exception.