com.atlassian.stash.auth.HttpAuthenticationSuccessHandler |
Handler that is called when a user successfully authenticates with the system. The system will call
onAuthenticationSuccess(HttpAuthenticationSuccessContext)
on all installed http-auth-success-handler
modules in order of their configured weight, until a handler returns true
.
Please note that the HTTP authentication APIs are currently considered to be BETA and are expected to change slightly in future releases. Breaking API changes will be avoided where possible, but may happen.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Callback method that is called by the system on authentication success.
|
Callback method that is called by the system on authentication success. The authenticated
com.atlassian.stash.user.StashUser user can be retrieved
through getUser()
.
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
.ServletException | |
IOException | |
ServletException |