Uses of Class
org.craftercms.security.exception.SecurityProviderException
-
-
Uses of SecurityProviderException in org.craftercms.security.authentication
Methods in org.craftercms.security.authentication that throw SecurityProviderException Modifier and Type Method Description void
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 SecurityProviderException Modifier and Type Method Description void
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 SecurityProviderException Modifier and Type Method Description void
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 SecurityProviderException Modifier and Type Method Description protected 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.exception Modifier and Type Class Description class
AccessDeniedException
Thrown when a user doesn't have enough privileges to access a resource.class
AuthenticationException
General exception thrown by the authentication service.class
AuthenticationRequiredException
Thrown if the user is required to authenticate to access a resource.class
AuthenticationSystemException
Thrown when something in the authentication system fails.class
BadCredentialsException
Thrown when user authentication fails because of invalid username/password.class
DisabledUserException
Thrown if an authentication attempt is performed with a disabled user.class
OAuth2Exception
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.rememberme Modifier and Type Class Description class
CookieTheftException
Thrown when a remember me cookie has been possibly stolen and is being used.class
InvalidCookieException
Thrown when a remember me cookie provided has an invalid format.class
RememberMeException
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 SecurityProviderException Modifier and Type Method Description SecurityProviderException
SecurityExceptionProcessor. findSecurityException(Exception topException)
Methods in org.craftercms.security.processors.impl with parameters of type SecurityProviderException Modifier and Type Method Description protected void
SecurityExceptionProcessor. handleSecurityProviderException(SecurityProviderException e, org.craftercms.commons.http.RequestContext context)
Methods in org.craftercms.security.processors.impl that throw SecurityProviderException Modifier and Type Method Description protected 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)
-