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, setResponseWriter
public void handle(org.craftercms.commons.http.RequestContext context, Authentication authentication) throws SecurityProviderException, IOException
LoginSuccessHandler
handle
in interface LoginSuccessHandler
context
- the request contextauthentication
- the authentication objectSecurityProviderException
IOException
Copyright © 2023 CrafterCMS. All rights reserved.