Class NoAuthenticationHandlerException

  • All Implemented Interfaces:
    java.io.Serializable

    @Deprecated(since="2015")
    public class NoAuthenticationHandlerException
    extends SlingException
    Deprecated.
    Use Apache Sling's org.apache.sling.auth.core package instead.
    The NoAuthenticationHandlerException is thrown to indicate that there is no AuthenticationHandler willing to handle the request.

    This exception is thrown without a message. The caller of the Authenticator method called is expected to immediately handle this exception and not to forward it up the call chain.

    This exception is not intended to be thrown by client code but is used by the Authenticator implementation to indicate, that no AuthenticationHandler is available to login.

    See Also:
    Serialized Form
    • Method Summary

      • 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

      • NoAuthenticationHandlerException

        public NoAuthenticationHandlerException()
        Deprecated.
      • NoAuthenticationHandlerException

        public NoAuthenticationHandlerException​(java.lang.String message,
                                                java.lang.Throwable cause)
        Deprecated.