public interface HttpAuthenticationFailureHandler
onAuthenticationFailure(HttpAuthenticationFailureContext)is called by the system for all installed
http-auth-failure-handlermodule types, in order of their configured weight (low to high).
boolean onAuthenticationFailure(@Nonnull HttpAuthenticationFailureContext context) throws javax.servlet.ServletException, IOException
reasonfor authentication failure can be retrieved through
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.
trueif the request was fully handled and no other failure handlers should be evaluated. Otherwise
javax.servlet.ServletException- may be thrown by implementations
IOException- may be thrown by implementations
Copyright © 2020 Atlassian. All rights reserved.