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 Authentication
AuthenticationManager. authenticateUser(String[] tenants, String username, String password)
Authenticates a user.Authentication
AuthenticationManager. authenticateUser(String tenant, String username, String password)
Authenticates a user.Authentication
AuthenticationManager. authenticateUser(Profile profile)
Authenticates a user just with it's profile ID.Authentication
AuthenticationManager. authenticateUser(Profile profile, boolean remembered)
Authenticates a user just with it's profile ID.Authentication
RememberMeManager. autoLogin(org.craftercms.commons.http.RequestContext context)
Attempts auto login if a remember me cookie is present in the current requestAuthentication
AuthenticationCache. getAuthentication(String ticket)
Returns the cached authentication for the given ticket.Authentication
AuthenticationManager. 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 void
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 Authentication Modifier and Type Class Description class
DefaultAuthentication
Default 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. cache
Methods in org.craftercms.security.authentication.impl that return Authentication Modifier and Type Method Description protected Authentication
RememberMeManagerImpl. authenticate(String profileId)
Authentication
AuthenticationManagerImpl. authenticateUser(String[] tenants, String username, String password)
Authentication
AuthenticationManagerImpl. authenticateUser(String tenant, String username, String password)
Authentication
AuthenticationManagerImpl. authenticateUser(Profile profile)
Authentication
AuthenticationManagerImpl. authenticateUser(Profile profile, boolean remembered)
Authentication
RememberMeManagerImpl. autoLogin(org.craftercms.commons.http.RequestContext context)
Authentication
AuthenticationManagerImpl. getAuthentication(String ticket, boolean reloadProfile)
Authentication
GuavaAuthenticationCache. getAuthentication(String ticket)
Methods in org.craftercms.security.authentication.impl with parameters of type Authentication Modifier and Type Method Description void
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 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 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 Authentication Modifier and Type Method Description Authentication
ProviderLoginSupport. 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.Authentication
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.Authentication
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 Authentication Modifier and Type Method Description Authentication
ProviderLoginSupportImpl. complete(String tenant, String providerId, javax.servlet.http.HttpServletRequest request)
Authentication
ProviderLoginSupportImpl. complete(String tenant, String providerId, javax.servlet.http.HttpServletRequest request, Set<String> newUserRoles, Map<String,Object> newUserAttributes)
Authentication
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 Authentication Modifier and Type Method Description static 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 Authentication Modifier and Type Method Description static 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.
-