public interface HttpAuthenticationSuccessHandler
onAuthenticationSuccess(HttpAuthenticationSuccessContext)
on all installed http-auth-success-handler
modules in order of their configured weight, until a handler returns true
.Modifier and Type | Method and Description |
---|---|
boolean |
onAuthenticationSuccess(HttpAuthenticationSuccessContext context)
Callback method that is called by the system on authentication success over HTTP.
|
boolean onAuthenticationSuccess(@Nonnull HttpAuthenticationSuccessContext context) throws javax.servlet.ServletException, IOException
user
can be retrieved
through HttpAuthenticationSuccessContext.getUser()
.
Implementations can prevent other success 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 authenticated user.true
if the request was fully handled and no other success handlers should be evaluated.
Otherwise false
.javax.servlet.ServletException
- may be thrown by implementationsIOException
- may be thrown by implementationsCopyright © 2024 Atlassian. All rights reserved.