Uses of Interface
org.craftercms.security.authentication.Authentication
-
-
Uses of Authentication in org.craftercms.security.authentication
Methods in org.craftercms.security.authentication that return Authentication Modifier and Type Method Description AuthenticationAuthenticationManager. authenticateUser(String[] tenants, String username, String password)Authenticates a user.AuthenticationAuthenticationManager. authenticateUser(String tenant, String username, String password)Authenticates a user.AuthenticationAuthenticationManager. authenticateUser(Profile profile)Authenticates a user just with it's profile ID.AuthenticationAuthenticationManager. authenticateUser(Profile profile, boolean remembered)Authenticates a user just with it's profile ID.AuthenticationRememberMeManager. autoLogin(org.craftercms.commons.http.RequestContext context)Attempts auto login if a remember me cookie is present in the current requestAuthenticationAuthenticationCache. getAuthentication(String ticket)Returns the cached authentication for the given ticket.AuthenticationAuthenticationManager. getAuthentication(String ticket, boolean reloadProfile)Returns the authentication associated to the given ticket IDMethods in org.craftercms.security.authentication with parameters of type Authentication Modifier and Type Method Description voidRememberMeManager. 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 Authentication Modifier and Type Class Description classDefaultAuthenticationDefault implementation ofAuthentication.Fields in org.craftercms.security.authentication.impl with type parameters of type Authentication Modifier and Type Field Description protected com.google.common.cache.Cache<String,Authentication>GuavaAuthenticationCache. cacheMethods in org.craftercms.security.authentication.impl that return Authentication Modifier and Type Method Description protected AuthenticationRememberMeManagerImpl. authenticate(String profileId)AuthenticationAuthenticationManagerImpl. authenticateUser(String[] tenants, String username, String password)AuthenticationAuthenticationManagerImpl. authenticateUser(String tenant, String username, String password)AuthenticationAuthenticationManagerImpl. authenticateUser(Profile profile)AuthenticationAuthenticationManagerImpl. authenticateUser(Profile profile, boolean remembered)AuthenticationRememberMeManagerImpl. autoLogin(org.craftercms.commons.http.RequestContext context)AuthenticationAuthenticationManagerImpl. getAuthentication(String ticket, boolean reloadProfile)AuthenticationGuavaAuthenticationCache. getAuthentication(String ticket)Methods in org.craftercms.security.authentication.impl with parameters of type Authentication Modifier and Type Method Description voidRememberMeManagerImpl. 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 Authentication Constructor Description GuavaAuthenticationCache(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 Authentication Modifier and Type Method Description protected 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 Authentication Modifier and Type Method Description AuthenticationProviderLoginSupport. 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.AuthenticationProviderLoginSupport. 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.AuthenticationProviderLoginSupport. 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 Authentication Modifier and Type Method Description AuthenticationProviderLoginSupportImpl. complete(String tenant, String providerId, javax.servlet.http.HttpServletRequest request)AuthenticationProviderLoginSupportImpl. complete(String tenant, String providerId, javax.servlet.http.HttpServletRequest request, Set<String> newUserRoles, Map<String,Object> newUserAttributes)AuthenticationProviderLoginSupportImpl. 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 Authentication Modifier and Type Method Description static 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 Authentication Modifier and Type Method Description static 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.
-