public interface AmbariAuthenticationEventHandler
Modifier and Type | Method and Description |
---|---|
void |
beforeAttemptAuthentication(AmbariAuthenticationFilter filter,
javax.servlet.ServletRequest servletRequest,
javax.servlet.ServletResponse servletResponse)
The event callback called just before an authentication attempt.
|
void |
onSuccessfulAuthentication(AmbariAuthenticationFilter filter,
javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse servletResponse,
org.springframework.security.core.Authentication result)
The event callback called when a successful authentication attempt has occurred.
|
void |
onUnsuccessfulAuthentication(AmbariAuthenticationFilter filter,
javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse servletResponse,
AmbariAuthenticationException cause)
The event callback called when a failed authentication attempt has occurred.
|
void onSuccessfulAuthentication(AmbariAuthenticationFilter filter, javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse, org.springframework.security.core.Authentication result)
filter
- the Authentication filer used for authenticationservletRequest
- the requestservletResponse
- the responseresult
- the authentication resultvoid onUnsuccessfulAuthentication(AmbariAuthenticationFilter filter, javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse, AmbariAuthenticationException cause)
filter
- the Authentication filer used for authenticationservletRequest
- the requestservletResponse
- the responsecause
- the exception used to declare the cause for the failurevoid beforeAttemptAuthentication(AmbariAuthenticationFilter filter, javax.servlet.ServletRequest servletRequest, javax.servlet.ServletResponse servletResponse)
filter
- the Authentication filer used for authenticationservletRequest
- the requestservletResponse
- the responseCopyright © 2022 Apache Software Foundation. All rights reserved.