Modifier and Type | Class and Description |
---|---|
class |
InternalSystemUserDetails
Represents an internal system user.
|
class |
PublicUserDetails
Represents a not logged in public user.
|
Modifier and Type | Method and Description |
---|---|
static UserDetails |
SecurityHelper.assertCurrentUser()
Checks if there is a user logged in.
|
static UserDetails |
SecurityHelper.assertCurrentUser(Long userId)
Gets the current logged in user and checks if the given id is matching.
|
static UserDetails |
SecurityHelper.assertCurrentUserIsClientManager()
Checks if there is a user logged in and the user is client manager.
|
UserDetails |
AuthenticationManagementImpl.checkLocalUserPasswordOnLogin(String username,
String password) |
UserDetails |
AuthenticationManagement.checkLocalUserPasswordOnLogin(String username,
String password)
Check the password of a local user for a match with a given clear text password.
|
static UserDetails |
SecurityHelper.getCurrentUser()
Get the current user which is set in the acegi security context.
|
Modifier and Type | Method and Description |
---|---|
protected UserDetails |
ExternalAuthenticationProvider.handleRetrieveUserDetails(org.springframework.security.core.Authentication authentication)
Try to retrieve the user details by using
ExternalAuthenticationProvider.retrieveExternalUser(Authentication) and
synchronize the returned data with the local database. |
protected abstract UserDetails |
BaseCommunoteAuthenticationProvider.handleRetrieveUserDetails(org.springframework.security.core.Authentication authentication)
Tries to retrieve user details using the passed authentication.
|
UserDetails |
BaseCommunoteAuthenticationProvider.retrieveAndAuthenticateUserDetails(org.springframework.security.core.Authentication authentication)
Uses the passed authentication to retrieve and authenticate the user Details.
|
Modifier and Type | Method and Description |
---|---|
protected abstract org.springframework.security.core.Authentication |
BaseCommunoteAuthenticationProvider.createSuccessAuthentication(UserDetails details,
org.springframework.security.core.Authentication authentication)
Creates a successful
Authentication object. |
Modifier and Type | Method and Description |
---|---|
protected org.springframework.security.core.Authentication |
ConfluenceAuthenticationProvider.createSuccessAuthentication(UserDetails details,
org.springframework.security.core.Authentication authentication)
Creates a successful
Authentication object. |
Modifier and Type | Method and Description |
---|---|
protected UserDetails |
DatabaseAuthenticationProvider.handleRetrieveUserDetails(org.springframework.security.core.Authentication auth)
Tries to retrieve user details using the passed authentication.
|
Modifier and Type | Method and Description |
---|---|
protected org.springframework.security.core.Authentication |
DatabaseAuthenticationProvider.createSuccessAuthentication(UserDetails details,
org.springframework.security.core.Authentication authentication)
Creates a successful
Authentication object. |
Modifier and Type | Method and Description |
---|---|
protected org.springframework.security.core.Authentication |
LdapAuthenticationProvider.createSuccessAuthentication(UserDetails details,
org.springframework.security.core.Authentication authentication)
Creates a successful
Authentication object. |
Copyright © 2019 Communote team. All rights reserved.