Uses of Class
org.craftercms.security.exception.AuthenticationException
Packages that use AuthenticationException
Package
Description
-
Uses of AuthenticationException in org.craftercms.security.authentication
Methods in org.craftercms.security.authentication with parameters of type AuthenticationExceptionModifier and TypeMethodDescriptionvoid
AuthenticationRequiredHandler.handle
(org.craftercms.commons.http.RequestContext context, AuthenticationException e) Handles the request when authentication is required.void
LoginFailureHandler.handle
(org.craftercms.commons.http.RequestContext context, AuthenticationException e) Handles the request after a failed authenticationMethods in org.craftercms.security.authentication that throw AuthenticationExceptionModifier and TypeMethodDescriptionAuthenticationManager.authenticateUser
(String[] tenants, String username, String password) Authenticates a user.AuthenticationManager.authenticateUser
(String tenant, String username, String password) Authenticates a user.AuthenticationManager.authenticateUser
(Profile profile) Authenticates a user just with it's profile ID.AuthenticationManager.authenticateUser
(Profile profile, boolean remembered) Authenticates a user just with it's profile ID.AuthenticationManager.getAuthentication
(String ticket, boolean reloadProfile) Returns the authentication associated to the given ticket IDvoid
AuthenticationManager.invalidateAuthentication
(Authentication authentication) Invalidates the given authentication. -
Uses of AuthenticationException in org.craftercms.security.authentication.impl
Methods in org.craftercms.security.authentication.impl with parameters of type AuthenticationExceptionModifier and TypeMethodDescriptionvoid
AuthenticationRequiredHandlerImpl.handle
(org.craftercms.commons.http.RequestContext context, AuthenticationException e) Saves the current request in the request cache and then redirects to the login form page.void
LoginFailureHandlerImpl.handle
(org.craftercms.commons.http.RequestContext context, AuthenticationException e) Redirects the response to target URL if target URL is not empty.void
RestAuthenticationRequiredHandler.handle
(org.craftercms.commons.http.RequestContext context, AuthenticationException e) void
RestLoginFailureHandler.handle
(org.craftercms.commons.http.RequestContext context, AuthenticationException e) protected void
AuthenticationRequiredHandlerImpl.sendError
(AuthenticationException e, org.craftercms.commons.http.RequestContext context) protected void
LoginFailureHandlerImpl.sendError
(AuthenticationException e, org.craftercms.commons.http.RequestContext context) Methods in org.craftercms.security.authentication.impl that throw AuthenticationExceptionModifier and TypeMethodDescriptionprotected Authentication
RememberMeManagerImpl.authenticate
(String profileId) AuthenticationManagerImpl.authenticateUser
(String[] tenants, String username, String password) AuthenticationManagerImpl.authenticateUser
(Profile profile) AuthenticationManagerImpl.authenticateUser
(Profile profile, boolean remembered) AuthenticationManagerImpl.getAuthentication
(String ticket, boolean reloadProfile) protected Profile
AuthenticationManagerImpl.loadProfile
(String ticketId) -
Uses of AuthenticationException in org.craftercms.security.exception
Subclasses of AuthenticationException in org.craftercms.security.exceptionModifier and TypeClassDescriptionclass
Thrown if the user is required to authenticate to access a resource.class
Thrown when something in the authentication system fails.class
Thrown when user authentication fails because of invalid username/password.class
Thrown if an authentication attempt is performed with a disabled user.class
Exception used when a OAuth2 provider returns an error on a login attempt. -
Uses of AuthenticationException in org.craftercms.security.exception.rememberme
Subclasses of AuthenticationException in org.craftercms.security.exception.remembermeModifier and TypeClassDescriptionclass
Thrown when a remember me cookie has been possibly stolen and is being used.class
Thrown when a remember me cookie provided has an invalid format.class
Root exception for remember me related errors. -
Uses of AuthenticationException in org.craftercms.security.processors.impl
Methods in org.craftercms.security.processors.impl with parameters of type AuthenticationExceptionModifier and TypeMethodDescriptionprotected void
LoginProcessor.onLoginFailure
(org.craftercms.commons.http.RequestContext context, AuthenticationException e) protected void
LoginProcessor.saveException
(jakarta.servlet.http.HttpServletRequest request, AuthenticationException e) -
Uses of AuthenticationException in org.craftercms.security.social
Methods in org.craftercms.security.social that throw AuthenticationExceptionModifier and TypeMethodDescriptionProviderLoginSupport.complete
(String tenant, String providerId, jakarta.servlet.http.HttpServletRequest request) Completes the OAuth authentication, returning the resultingAuthentication
object, or null if it couldn't be completed.ProviderLoginSupport.complete
(String tenant, String providerId, jakarta.servlet.http.HttpServletRequest request, Set<String> newUserRoles, Map<String, Object> newUserAttributes) Completes the OAuth authentication, returning the resultingAuthentication
object, or null if it couldn't be completed.ProviderLoginSupport.complete
(String tenant, String providerId, jakarta.servlet.http.HttpServletRequest request, Set<String> newUserRoles, Map<String, Object> newUserAttributes, org.springframework.social.connect.web.ConnectSupport connectSupport) Completes the OAuth authentication, returning the resultingAuthentication
object, or null if it couldn't be completed.ProviderLoginSupport.start
(String tenant, String providerId, jakarta.servlet.http.HttpServletRequest request) Starts the OAuth login process.ProviderLoginSupport.start
(String tenant, String providerId, jakarta.servlet.http.HttpServletRequest request, org.springframework.util.MultiValueMap<String, String> additionalUrlParams) Starts the OAuth login process.ProviderLoginSupport.start
(String tenant, String providerId, jakarta.servlet.http.HttpServletRequest request, org.springframework.util.MultiValueMap<String, String> additionalUrlParams, org.springframework.social.connect.web.ConnectSupport connectSupport) Starts the OAuth login process. -
Uses of AuthenticationException in org.craftercms.security.social.impl
Methods in org.craftercms.security.social.impl that throw AuthenticationExceptionModifier and TypeMethodDescriptionProviderLoginSupportImpl.complete
(String tenant, String providerId, jakarta.servlet.http.HttpServletRequest request) ProviderLoginSupportImpl.complete
(String tenant, String providerId, jakarta.servlet.http.HttpServletRequest request, Set<String> newUserRoles, Map<String, Object> newUserAttributes) ProviderLoginSupportImpl.complete
(String tenant, String providerId, jakarta.servlet.http.HttpServletRequest request, Set<String> newUserRoles, Map<String, Object> newUserAttributes, org.springframework.social.connect.web.ConnectSupport connectSupport) ProviderLoginSupportImpl.start
(String tenant, String providerId, jakarta.servlet.http.HttpServletRequest request) ProviderLoginSupportImpl.start
(String tenant, String providerId, jakarta.servlet.http.HttpServletRequest request, org.springframework.util.MultiValueMap<String, String> additionalUrlParams) ProviderLoginSupportImpl.start
(String tenant, String providerId, jakarta.servlet.http.HttpServletRequest request, org.springframework.util.MultiValueMap<String, String> additionalUrlParams, org.springframework.social.connect.web.ConnectSupport connectSupport)