public interface HttpAuthenticationFailureHandler
onAuthenticationFailure(HttpAuthenticationFailureContext) is called by the
system for all installed http-auth-failure-handler module types, in order of their configured weight (low to
high).| Modifier and Type | Method and Description |
|---|---|
boolean |
onAuthenticationFailure(HttpAuthenticationFailureContext context)
Callback method that is called by the system on authentication failure.
|
boolean onAuthenticationFailure(@Nonnull HttpAuthenticationFailureContext context) throws javax.servlet.ServletException, IOException
reason for authentication failure can be retrieved
through HttpAuthenticationFailureContext.getAuthenticationException().
Implementors can prevent other failure handlers further down the chain from being evaluated by returning
true. They should only do so if the handler has written to or redirected the HTTP response.
context - a context object holding the request, response, authentication details and authentication exception.true if the request was fully handled and no other failure handlers should be evaluated.
Otherwise false.javax.servlet.ServletException - may be thrown by implementationsIOException - may be thrown by implementationsCopyright © 2022 Atlassian. All rights reserved.