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 TypeMethodDescriptionvoidAuthenticationRequiredHandler.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 SecurityProviderExceptionModifier and TypeMethodDescriptionvoidAuthenticationRequiredHandlerImpl.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 SecurityProviderExceptionModifier and TypeMethodDescriptionvoidAccessDeniedHandler.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 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.exceptionModifier and TypeClassDescriptionclassThrown when a user doesn't have enough privileges to access a resource.classGeneral exception thrown by the authentication service.classThrown if the user is required to authenticate to access a resource.classThrown when something in the authentication system fails.classThrown when user authentication fails because of invalid username/password.classThrown if an authentication attempt is performed with a disabled user.classException 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 TypeClassDescriptionclassThrown when a remember me cookie has been possibly stolen and is being used.classThrown when a remember me cookie provided has an invalid format.classRoot 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 voidSecurityExceptionProcessor.handleSecurityProviderException(SecurityProviderException e, org.craftercms.commons.http.RequestContext context) Methods in org.craftercms.security.processors.impl that throw SecurityProviderExceptionModifier and TypeMethodDescriptionprotected 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)