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 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 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 IDvoidAuthenticationManager.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 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.voidRestAuthenticationRequiredHandler.handle(org.craftercms.commons.http.RequestContext context, AuthenticationException e) voidRestLoginFailureHandler.handle(org.craftercms.commons.http.RequestContext context, AuthenticationException e) protected voidAuthenticationRequiredHandlerImpl.sendError(AuthenticationException e, org.craftercms.commons.http.RequestContext context) protected voidLoginFailureHandlerImpl.sendError(AuthenticationException e, org.craftercms.commons.http.RequestContext context) Methods in org.craftercms.security.authentication.impl that throw AuthenticationExceptionModifier and TypeMethodDescriptionprotected AuthenticationRememberMeManagerImpl.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 ProfileAuthenticationManagerImpl.loadProfile(String ticketId) -
Uses of AuthenticationException in org.craftercms.security.exception
Subclasses of AuthenticationException in org.craftercms.security.exceptionModifier and TypeClassDescriptionclassThrown 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 AuthenticationException in org.craftercms.security.exception.rememberme
Subclasses of AuthenticationException 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 AuthenticationException in org.craftercms.security.processors.impl
Methods in org.craftercms.security.processors.impl with parameters of type AuthenticationExceptionModifier and TypeMethodDescriptionprotected voidLoginProcessor.onLoginFailure(org.craftercms.commons.http.RequestContext context, AuthenticationException e) protected voidLoginProcessor.saveException(javax.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, javax.servlet.http.HttpServletRequest request) Completes the OAuth authentication, returning the resultingAuthenticationobject, or null if it couldn't be completed.ProviderLoginSupport.complete(String tenant, String providerId, javax.servlet.http.HttpServletRequest request, Set<String> newUserRoles, Map<String, Object> newUserAttributes) Completes the OAuth authentication, returning the resultingAuthenticationobject, or null if it couldn't be completed.ProviderLoginSupport.complete(String tenant, String providerId, javax.servlet.http.HttpServletRequest request, Set<String> newUserRoles, Map<String, Object> newUserAttributes, org.springframework.social.connect.web.ConnectSupport connectSupport) Completes the OAuth authentication, returning the resultingAuthenticationobject, or null if it couldn't be completed.ProviderLoginSupport.start(String tenant, String providerId, javax.servlet.http.HttpServletRequest request) Starts the OAuth login process.ProviderLoginSupport.start(String tenant, String providerId, javax.servlet.http.HttpServletRequest request, org.springframework.util.MultiValueMap<String, String> additionalUrlParams) Starts the OAuth login process.ProviderLoginSupport.start(String tenant, String providerId, javax.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, javax.servlet.http.HttpServletRequest request) ProviderLoginSupportImpl.complete(String tenant, String providerId, javax.servlet.http.HttpServletRequest request, Set<String> newUserRoles, Map<String, Object> newUserAttributes) ProviderLoginSupportImpl.complete(String tenant, String providerId, javax.servlet.http.HttpServletRequest request, Set<String> newUserRoles, Map<String, Object> newUserAttributes, org.springframework.social.connect.web.ConnectSupport connectSupport) ProviderLoginSupportImpl.start(String tenant, String providerId, javax.servlet.http.HttpServletRequest request) ProviderLoginSupportImpl.start(String tenant, String providerId, javax.servlet.http.HttpServletRequest request, org.springframework.util.MultiValueMap<String, String> additionalUrlParams) ProviderLoginSupportImpl.start(String tenant, String providerId, javax.servlet.http.HttpServletRequest request, org.springframework.util.MultiValueMap<String, String> additionalUrlParams, org.springframework.social.connect.web.ConnectSupport connectSupport)