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 voidAuthenticationRequiredHandler. handle(org.craftercms.commons.http.RequestContext context, AuthenticationException e)Handles the request when authentication is required.voidLoginFailureHandler. handle(org.craftercms.commons.http.RequestContext context, AuthenticationException e)Handles the request after a failed authenticationvoidLoginSuccessHandler. handle(org.craftercms.commons.http.RequestContext context, Authentication authentication)Handles the request after a successful authentication.voidLogoutSuccessHandler. 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 voidAuthenticationRequiredHandlerImpl. 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.voidLoginFailureHandlerImpl. handle(org.craftercms.commons.http.RequestContext context, AuthenticationException e)Redirects the response to target URL if target URL is not empty.voidLoginSuccessHandlerImpl. handle(org.craftercms.commons.http.RequestContext context, Authentication authentication)voidLogoutSuccessHandlerImpl. handle(org.craftercms.commons.http.RequestContext context)Redirects to the target URL.voidRestAuthenticationRequiredHandler. handle(org.craftercms.commons.http.RequestContext context, AuthenticationException e)voidRestLoginFailureHandler. handle(org.craftercms.commons.http.RequestContext context, AuthenticationException e)voidRestLoginSuccessHandler. handle(org.craftercms.commons.http.RequestContext context, Authentication authentication)voidRestLogoutSuccessHandler. 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 voidAccessDeniedHandler. 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 voidAccessDeniedHandlerImpl. forwardToErrorPage(org.craftercms.commons.http.RequestContext context)voidAccessDeniedHandlerImpl. 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.voidRestAccessDeniedHandler. 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 classAccessDeniedExceptionThrown when a user doesn't have enough privileges to access a resource.classAuthenticationExceptionGeneral exception thrown by the authentication service.classAuthenticationRequiredExceptionThrown if the user is required to authenticate to access a resource.classAuthenticationSystemExceptionThrown when something in the authentication system fails.classBadCredentialsExceptionThrown when user authentication fails because of invalid username/password.classDisabledUserExceptionThrown if an authentication attempt is performed with a disabled user.classOAuth2ExceptionException 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 classCookieTheftExceptionThrown when a remember me cookie has been possibly stolen and is being used.classInvalidCookieExceptionThrown when a remember me cookie provided has an invalid format.classRememberMeExceptionRoot 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 SecurityProviderExceptionSecurityExceptionProcessor. findSecurityException(Exception topException)Methods in org.craftercms.security.processors.impl with parameters of type SecurityProviderException Modifier and Type Method Description protected voidSecurityExceptionProcessor. 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 voidSecurityExceptionProcessor. handleAccessDeniedException(org.craftercms.commons.http.RequestContext context, AccessDeniedException e)Handles the specifiedAccessDeniedException, by calling theAccessDeniedHandler.protected voidSecurityExceptionProcessor. handleAuthenticationRequiredException(org.craftercms.commons.http.RequestContext context, AuthenticationRequiredException e)protected voidSecurityExceptionProcessor. handleSecurityProviderException(SecurityProviderException e, org.craftercms.commons.http.RequestContext context)
-