@groovy.transform.CompileStatic class RestAuthenticationSuccessHandler extends java.lang.Object implements AuthenticationSuccessHandler
Generates a JSON response using a AccessTokenJsonRenderer.
| Type | Name and description |
|---|---|
AccessTokenJsonRenderer |
renderer |
| Constructor and description |
|---|
RestAuthenticationSuccessHandler() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
onAuthenticationSuccess(HttpServletRequest request, HttpServletResponse response, Authentication authentication)Called when a user has been successfully authenticated. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#equals(java.lang.Object), java.lang.Object#getClass(), java.lang.Object#hashCode(), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int) |
Called when a user has been successfully authenticated.
request - the request which caused the successful authenticationresponse - the responseauthentication - the Authentication object which was created during the authentication process.Groovy Documentation