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 TypeMethodDescriptionvoidRememberMeManager.enableRememberMe(Authentication authentication, org.craftercms.commons.http.RequestContext context) Enables remember me for the current authenticated profile, generally by adding a remember me cookie.voidLoginSuccessHandler.handle(org.craftercms.commons.http.RequestContext context, Authentication authentication) Handles the request after a successful authentication.voidAuthenticationManager.invalidateAuthentication(Authentication authentication) Invalidates the given authentication.voidAuthenticationCache.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.cacheMethods in org.craftercms.security.authentication.impl that return AuthenticationModifier and TypeMethodDescriptionprotected AuthenticationRememberMeManagerImpl.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 TypeMethodDescriptionvoidRememberMeManagerImpl.enableRememberMe(Authentication authentication, org.craftercms.commons.http.RequestContext context) voidLoginSuccessHandlerImpl.handle(org.craftercms.commons.http.RequestContext context, Authentication authentication) voidRestLoginSuccessHandler.handle(org.craftercms.commons.http.RequestContext context, Authentication authentication) voidAuthenticationManagerImpl.invalidateAuthentication(Authentication authentication) voidGuavaAuthenticationCache.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 voidLoginProcessor.onLoginSuccess(org.craftercms.commons.http.RequestContext context, Authentication authentication) protected voidLogoutProcessor.onLogoutSuccess(org.craftercms.commons.http.RequestContext context, Authentication authentication) protected <T> voidReturnCurrentAuthenticationProcessor.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 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. -
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 AuthenticationSecurityUtils.getAuthentication(javax.servlet.http.HttpServletRequest request) Returns the authentication attribute from the specified request.static AuthenticationSecurityUtils.getCurrentAuthentication()Returns the authentication attribute from the current request.Methods in org.craftercms.security.utils with parameters of type AuthenticationModifier and TypeMethodDescriptionstatic voidSecurityUtils.setAuthentication(javax.servlet.http.HttpServletRequest request, Authentication authentication) Sets the authentication attribute in the specified request.static voidSecurityUtils.setCurrentAuthentication(Authentication authentication) Sets the authentication attribute in the current request.