Package org.apache.sling.api.auth
Class NoAuthenticationHandlerException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.sling.api.SlingException
-
- org.apache.sling.api.auth.NoAuthenticationHandlerException
-
- All Implemented Interfaces:
java.io.Serializable
public class NoAuthenticationHandlerException extends SlingException
TheNoAuthenticationHandlerException
is thrown to indicate that theAuthenticator.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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NoAuthenticationHandlerException()
-