Class NoAuthenticationHandlerException

All Implemented Interfaces:
Serializable

public class NoAuthenticationHandlerException extends SlingException
The NoAuthenticationHandlerException is thrown to indicate that the Authenticator.login(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) method could not find a way to authenticate the request user.

This exception is thrown without a message. The caller of the Authenticator.login(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) 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.

Since:
1.0 (Sling API Bundle 2.1.0)
See Also:
  • Constructor Details

    • NoAuthenticationHandlerException

      public NoAuthenticationHandlerException()