Package org.craftercms.security.authentication.impl
package org.craftercms.security.authentication.impl
-
ClassDescriptionDefault implementation of
AuthenticationManager
.Default implementation ofAuthenticationRequiredHandler
: Saves the current request so it can be reused after successful login. Redirects to the login form URL.Default implementation ofAuthentication
.Implementation ofAuthenticationCache
that uses a GuavaCache
.Default implementation ofLoginFailureHandler
, which redirects the response to a target URL or 401 is sent if there's no target URL.Default implementation ofLoginSuccessHandler
: Deletes any authentication exception saved in the session. Adds the ticket ID and profile last modified cookies to response. Uses the SpringRequestCache
to obtain the previous request before login and redirect to it.Default implementation forLogoutSuccessHandlerImpl
, which redirects to a target URL.Default implementation ofRememberMeManager
.Implementation ofAuthenticationRequiredHandler
for REST based applications, which returns a 401 UNAUTHORIZED status with the authentication exception message.Implementation ofLoginFailureHandler
for REST based applications, which returns a 401 UNAUTHORIZED status with a the authentication exception message.Implementation ofLoginSuccessHandler
for REST based applications, which returns theAuthentication
object as the response body.Implementation ofLogoutSuccessHandler
for REST based applications, which just returns a 200 OK status with a simple success message.