public class RestLoginSuccessHandler extends AbstractRestHandlerBase implements LoginSuccessHandler
LoginSuccessHandler for REST based applications,
which returns the Authentication object as the response body.responseWriter| Constructor and Description |
|---|
RestLoginSuccessHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
handle(org.craftercms.commons.http.RequestContext context,
Authentication authentication)
Handles the request after a successful authentication.
|
sendErrorMessage, sendMessage, sendObject, setResponseWriterpublic void handle(org.craftercms.commons.http.RequestContext context,
Authentication authentication)
throws SecurityProviderException,
IOException
LoginSuccessHandlerhandle in interface LoginSuccessHandlercontext - the request contextauthentication - the authentication objectSecurityProviderExceptionIOExceptionCopyright © 2023 CrafterCMS. All rights reserved.