Modifier and Type | Method and Description |
---|---|
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 |
AuthenticationManager.authenticateUser(String[] tenants,
String username,
String password)
Authenticates a user.
|
Authentication |
AuthenticationManager.authenticateUser(String tenant,
String username,
String password)
Authenticates a user.
|
Authentication |
RememberMeManager.autoLogin(org.craftercms.commons.http.RequestContext context)
Attempts auto login if a remember me cookie is present in the current request
|
Authentication |
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 ID
|
Modifier and Type | Method and 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.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultAuthentication
Default implementation of
Authentication . |
Modifier and Type | Method and Description |
---|---|
protected Authentication |
RememberMeManagerImpl.authenticate(String profileId) |
Authentication |
AuthenticationManagerImpl.authenticateUser(Profile profile) |
Authentication |
AuthenticationManagerImpl.authenticateUser(Profile profile,
boolean remembered) |
Authentication |
AuthenticationManagerImpl.authenticateUser(String[] tenants,
String username,
String password) |
Authentication |
AuthenticationManagerImpl.authenticateUser(String tenant,
String username,
String password) |
Authentication |
RememberMeManagerImpl.autoLogin(org.craftercms.commons.http.RequestContext context) |
Authentication |
EhCacheAuthenticationCache.getAuthentication(String ticket) |
Authentication |
AuthenticationManagerImpl.getAuthentication(String ticket,
boolean reloadProfile) |
Modifier and Type | Method and Description |
---|---|
void |
RememberMeManagerImpl.enableRememberMe(Authentication authentication,
org.craftercms.commons.http.RequestContext context) |
void |
RestLoginSuccessHandler.handle(org.craftercms.commons.http.RequestContext context,
Authentication authentication) |
void |
LoginSuccessHandlerImpl.handle(org.craftercms.commons.http.RequestContext context,
Authentication authentication) |
void |
AuthenticationManagerImpl.invalidateAuthentication(Authentication authentication) |
void |
EhCacheAuthenticationCache.putAuthentication(Authentication authentication) |
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
Authentication |
ProviderLoginSupport.complete(String tenant,
String providerId,
javax.servlet.http.HttpServletRequest request)
Completes the OAuth authentication, returning the resulting
Authentication 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 resulting
Authentication 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 resulting
Authentication object, or null if it
couldn't be completed. |
Modifier and Type | Method and 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) |
Modifier and Type | Method and 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.
|
Modifier and Type | Method and 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.
|
Copyright © 2023 CrafterCMS. All rights reserved.