Package | Description |
---|---|
org.craftercms.security.authentication.impl | |
org.craftercms.security.processors.impl |
Modifier and Type | Class and Description |
---|---|
class |
AuthenticationRequiredHandlerImpl
Default implementation of
AuthenticationRequiredHandler :
Saves the current request so it can be reused after successful login.
Redirects to the login form URL.
|
class |
RestAuthenticationRequiredHandler
Implementation of
AuthenticationRequiredHandler for REST based
applications, which returns a 401 UNAUTHORIZED status with the authentication exception message. |
Modifier and Type | Field and Description |
---|---|
protected AuthenticationRequiredHandler |
SecurityExceptionProcessor.authenticationRequiredHandler |
Modifier and Type | Method and Description |
---|---|
void |
SecurityExceptionProcessor.setAuthenticationRequiredHandler(AuthenticationRequiredHandler authenticationRequiredHandler)
Sets the
AuthenticationRequiredHandler , to handle any AuthenticationRequiredException s thrown. |
Copyright © 2023 CrafterCMS. All rights reserved.