Uses of Class
org.craftercms.security.exception.SecurityProviderException
Packages that use SecurityProviderException
Package
Description
-
Uses of SecurityProviderException in org.craftercms.security.authentication
Methods in org.craftercms.security.authentication that throw SecurityProviderExceptionModifier 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 authenticationvoid
LoginSuccessHandler.handle
(org.craftercms.commons.http.RequestContext context, Authentication authentication) Handles the request after a successful authentication.void
LogoutSuccessHandler.handle
(org.craftercms.commons.http.RequestContext context) Handles the request after a successful logout. -
Uses of SecurityProviderException in org.craftercms.security.authentication.impl
Methods in org.craftercms.security.authentication.impl that throw SecurityProviderExceptionModifier 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
LoginSuccessHandlerImpl.handle
(org.craftercms.commons.http.RequestContext context, Authentication authentication) void
LogoutSuccessHandlerImpl.handle
(org.craftercms.commons.http.RequestContext context) Redirects to the target URL.void
RestAuthenticationRequiredHandler.handle
(org.craftercms.commons.http.RequestContext context, AuthenticationException e) void
RestLoginFailureHandler.handle
(org.craftercms.commons.http.RequestContext context, AuthenticationException e) void
RestLoginSuccessHandler.handle
(org.craftercms.commons.http.RequestContext context, Authentication authentication) void
RestLogoutSuccessHandler.handle
(org.craftercms.commons.http.RequestContext context) -
Uses of SecurityProviderException in org.craftercms.security.authorization
Methods in org.craftercms.security.authorization that throw SecurityProviderExceptionModifier and TypeMethodDescriptionvoid
AccessDeniedHandler.handle
(org.craftercms.commons.http.RequestContext context, AccessDeniedException e) Handles the request after access to a resource is denied for a user. -
Uses of SecurityProviderException in org.craftercms.security.authorization.impl
Methods in org.craftercms.security.authorization.impl that throw SecurityProviderExceptionModifier and TypeMethodDescriptionprotected void
AccessDeniedHandlerImpl.forwardToErrorPage
(org.craftercms.commons.http.RequestContext context) void
AccessDeniedHandlerImpl.handle
(org.craftercms.commons.http.RequestContext context, AccessDeniedException e) Forwards to the error page, but if not error page was specified, a 403 error is sent.void
RestAccessDeniedHandler.handle
(org.craftercms.commons.http.RequestContext context, AccessDeniedException e) -
Uses of SecurityProviderException in org.craftercms.security.exception
Subclasses of SecurityProviderException in org.craftercms.security.exceptionModifier and TypeClassDescriptionclass
Thrown when a user doesn't have enough privileges to access a resource.class
General exception thrown by the authentication service.class
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 SecurityProviderException in org.craftercms.security.exception.rememberme
Subclasses of SecurityProviderException 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 SecurityProviderException in org.craftercms.security.processors.impl
Methods in org.craftercms.security.processors.impl that return SecurityProviderExceptionModifier and TypeMethodDescriptionSecurityExceptionProcessor.findSecurityException
(Exception topException) Methods in org.craftercms.security.processors.impl with parameters of type SecurityProviderExceptionModifier and TypeMethodDescriptionprotected void
SecurityExceptionProcessor.handleSecurityProviderException
(SecurityProviderException e, org.craftercms.commons.http.RequestContext context) Methods in org.craftercms.security.processors.impl that throw SecurityProviderExceptionModifier and TypeMethodDescriptionprotected void
SecurityExceptionProcessor.handleAccessDeniedException
(org.craftercms.commons.http.RequestContext context, AccessDeniedException e) Handles the specifiedAccessDeniedException
, by calling theAccessDeniedHandler
.protected void
SecurityExceptionProcessor.handleAuthenticationRequiredException
(org.craftercms.commons.http.RequestContext context, AuthenticationRequiredException e) protected void
SecurityExceptionProcessor.handleSecurityProviderException
(SecurityProviderException e, org.craftercms.commons.http.RequestContext context)