Package | Description |
---|---|
org.craftercms.security.authentication.impl | |
org.craftercms.security.authorization.impl |
Modifier and Type | Class and Description |
---|---|
class |
RestAuthenticationRequiredHandler
Implementation of
AuthenticationRequiredHandler for REST based
applications, which returns a 401 UNAUTHORIZED status with the authentication exception message. |
class |
RestLoginFailureHandler
Implementation of
LoginFailureHandler for REST based applications,
which returns a 401 UNAUTHORIZED status with a the authentication exception message. |
class |
RestLoginSuccessHandler
Implementation of
LoginSuccessHandler for REST based applications,
which returns the Authentication object as the response body. |
class |
RestLogoutSuccessHandler
Implementation of
LogoutSuccessHandler for REST based applications,
which just returns a 200 OK status with a simple success message. |
Modifier and Type | Class and Description |
---|---|
class |
RestAccessDeniedHandler
Implementation of
AccessDeniedHandler for REST based applications,
which returns a 403 FORBIDDEN status with the access denied exception message. |
Copyright © 2023 CrafterCMS. All rights reserved.