Uses of Interface
org.craftercms.security.authentication.Authentication
Packages that use Authentication
Package
Description
-
Uses of Authentication in org.craftercms.security.authentication
Methods in org.craftercms.security.authentication that return AuthenticationModifier 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.RememberMeManager.autoLogin
(org.craftercms.commons.http.RequestContext context) Attempts auto login if a remember me cookie is present in the current requestAuthenticationCache.getAuthentication
(String ticket) Returns the cached authentication for the given ticket.AuthenticationManager.getAuthentication
(String ticket, boolean reloadProfile) Returns the authentication associated to the given ticket IDMethods in org.craftercms.security.authentication with parameters of type AuthenticationModifier and TypeMethodDescriptionvoid
RememberMeManager.enableRememberMe
(Authentication authentication, org.craftercms.commons.http.RequestContext context) Enables remember me for the current authenticated profile, generally by adding a remember me cookie.void
LoginSuccessHandler.handle
(org.craftercms.commons.http.RequestContext context, Authentication authentication) Handles the request after a successful authentication.void
AuthenticationManager.invalidateAuthentication
(Authentication authentication) Invalidates the given authentication.void
AuthenticationCache.putAuthentication
(Authentication authentication) Puts the specified authentication in the cache. -
Uses of Authentication in org.craftercms.security.authentication.impl
Classes in org.craftercms.security.authentication.impl that implement AuthenticationFields in org.craftercms.security.authentication.impl with type parameters of type AuthenticationModifier and TypeFieldDescriptionprotected com.google.common.cache.Cache<String,
Authentication> GuavaAuthenticationCache.cache
Methods in org.craftercms.security.authentication.impl that return AuthenticationModifier and TypeMethodDescriptionprotected Authentication
RememberMeManagerImpl.authenticate
(String profileId) AuthenticationManagerImpl.authenticateUser
(String[] tenants, String username, String password) AuthenticationManagerImpl.authenticateUser
(String tenant, String username, String password) AuthenticationManagerImpl.authenticateUser
(Profile profile) AuthenticationManagerImpl.authenticateUser
(Profile profile, boolean remembered) RememberMeManagerImpl.autoLogin
(org.craftercms.commons.http.RequestContext context) AuthenticationManagerImpl.getAuthentication
(String ticket, boolean reloadProfile) GuavaAuthenticationCache.getAuthentication
(String ticket) Methods in org.craftercms.security.authentication.impl with parameters of type AuthenticationModifier and TypeMethodDescriptionvoid
RememberMeManagerImpl.enableRememberMe
(Authentication authentication, org.craftercms.commons.http.RequestContext context) void
LoginSuccessHandlerImpl.handle
(org.craftercms.commons.http.RequestContext context, Authentication authentication) void
RestLoginSuccessHandler.handle
(org.craftercms.commons.http.RequestContext context, Authentication authentication) void
AuthenticationManagerImpl.invalidateAuthentication
(Authentication authentication) void
GuavaAuthenticationCache.putAuthentication
(Authentication authentication) Constructor parameters in org.craftercms.security.authentication.impl with type arguments of type AuthenticationModifierConstructorDescriptionGuavaAuthenticationCache
(com.google.common.cache.Cache<String, Authentication> cache) -
Uses of Authentication in org.craftercms.security.processors.impl
Methods in org.craftercms.security.processors.impl with parameters of type AuthenticationModifier and TypeMethodDescriptionprotected void
LoginProcessor.onLoginSuccess
(org.craftercms.commons.http.RequestContext context, Authentication authentication) protected void
LogoutProcessor.onLogoutSuccess
(org.craftercms.commons.http.RequestContext context, Authentication authentication) protected <T> void
ReturnCurrentAuthenticationProcessor.sendAuthentication
(Authentication auth, org.craftercms.commons.http.RequestContext context) -
Uses of Authentication in org.craftercms.security.social
Methods in org.craftercms.security.social that return AuthenticationModifier and TypeMethodDescriptionProviderLoginSupport.complete
(String tenant, String providerId, javax.servlet.http.HttpServletRequest request) Completes the OAuth authentication, returning the resultingAuthentication
object, 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 resultingAuthentication
object, 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 resultingAuthentication
object, or null if it couldn't be completed. -
Uses of Authentication in org.craftercms.security.social.impl
Methods in org.craftercms.security.social.impl that return AuthenticationModifier 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) -
Uses of Authentication in org.craftercms.security.utils
Methods in org.craftercms.security.utils that return AuthenticationModifier and TypeMethodDescriptionstatic Authentication
SecurityUtils.getAuthentication
(javax.servlet.http.HttpServletRequest request) Returns the authentication attribute from the specified request.static Authentication
SecurityUtils.getCurrentAuthentication()
Returns the authentication attribute from the current request.Methods in org.craftercms.security.utils with parameters of type AuthenticationModifier and TypeMethodDescriptionstatic void
SecurityUtils.setAuthentication
(javax.servlet.http.HttpServletRequest request, Authentication authentication) Sets the authentication attribute in the specified request.static void
SecurityUtils.setCurrentAuthentication
(Authentication authentication) Sets the authentication attribute in the current request.