Modifier and Type | Method and Description |
---|---|
Boolean |
UserAuthorisationCacheImpl.isPermitted(User user,
String applicationName) |
Boolean |
DelegatingUserAuthorisationCache.isPermitted(User user,
String applicationName) |
Boolean |
UserAuthorisationCache.isPermitted(User user,
String applicationName)
Returns whether the user is permitted to authenticate with the application.
|
void |
UserAuthorisationCacheImpl.setPermitted(User user,
String applicationName,
boolean permitted) |
void |
DelegatingUserAuthorisationCache.setPermitted(User user,
String applicationName,
boolean permitted) |
void |
UserAuthorisationCache.setPermitted(User user,
String applicationName,
boolean permitted)
Sets whether the user is permitted to authenticate with the application.
|
Modifier and Type | Method and Description |
---|---|
User |
BaseAction.getRemoteUser() |
User |
ActionHelper.getRemoteUser() |
Modifier and Type | Method and Description |
---|---|
List<User> |
UserSearcherImpl.doSearchByApplication(long applicationId,
Boolean active,
String searchText,
int resultsStartIndex,
int resultsPerPage) |
List<User> |
UserSearcherImpl.doSearchByDirectory(long directoryID,
Boolean active,
String searchText,
int resultsStartIndex,
int resultsPerPage) |
Modifier and Type | Method and Description |
---|---|
protected Optional<String> |
BaseAction.findAvatarUrl(User user,
int sizeHint) |
Modifier and Type | Field and Description |
---|---|
protected List<User> |
ViewApplicationUsers.results
Results listObjects.
|
Modifier and Type | Method and Description |
---|---|
List<User> |
ViewApplicationUsers.getResults() |
Modifier and Type | Method and Description |
---|---|
void |
ViewApplicationUsers.setResults(List<User> results) |
Modifier and Type | Method and Description |
---|---|
Collection<User> |
ViewGroupNestedPrincipals.getPrincipals() |
Collection<User> |
ViewGroupMembers.getPrincipals() |
Modifier and Type | Method and Description |
---|---|
void |
ViewGroupNestedPrincipals.setPrincipals(Collection<User> principals) |
void |
ViewGroupMembers.setPrincipals(Collection<User> principals) |
Modifier and Type | Field and Description |
---|---|
protected User |
RemovePrincipal.principal |
protected User |
ViewPrincipal.user |
Modifier and Type | Method and Description |
---|---|
User |
RemovePrincipal.getPrincipal() |
User |
ViewPrincipal.getUser() |
Modifier and Type | Method and Description |
---|---|
Optional<User> |
CrowdSSOAuthenticatedUserProviderImpl.getAuthorizedUser(javax.servlet.http.HttpServletRequest request) |
Optional<User> |
CrowdSSOAuthenticatedUserProvider.getAuthorizedUser(javax.servlet.http.HttpServletRequest request)
Provides authenticated SSO user based on token cookies.
|
Modifier and Type | Method and Description |
---|---|
User |
LoginPageFilter.getRemoteUser() |
Modifier and Type | Method and Description |
---|---|
void |
UserAuditProcessor.auditUserUpdated(User oldUser,
InternalUser updatedUser) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultUserAuditProcessor.auditUserUpdated(User oldUser,
InternalUser updatedUser) |
void |
NoopAuditProcessor.auditUserUpdated(User oldUser,
InternalUser updatedUser) |
void |
DisablableUserAuditProcessor.auditUserUpdated(User oldUser,
InternalUser updatedUser) |
Modifier and Type | Method and Description |
---|---|
BatchResultWithIdReferences<User> |
UserDAOHibernate.addAll(Collection<UserTemplateWithCredentialAndAttributes> users) |
BatchResultWithIdReferences<User> |
InternalUserDao.addAll(Collection<UserTemplateWithCredentialAndAttributes> users) |
BatchResult<User> |
UserDAOHibernate.addAll(Set<UserTemplateWithCredentialAndAttributes> users) |
Modifier and Type | Method and Description |
---|---|
InternalUser |
UserDAOHibernate.add(User user,
PasswordCredential credential) |
void |
UserDAOHibernate.remove(User user) |
void |
UserDAOHibernate.removeAttribute(User user,
String attributeName) |
InternalUser |
UserDAOHibernate.rename(User user,
String newUsername) |
void |
UserDAOHibernate.storeAttributes(User user,
Map<String,Set<String>> attributes,
boolean updateTimestamp) |
InternalUser |
UserDAOHibernate.update(User user) |
void |
UserDAOHibernate.updateCredential(User user,
PasswordCredential credential,
int maxPasswordHistory) |
Modifier and Type | Field and Description |
---|---|
protected Map<String,User> |
MockSimpleRemoteDirectory.userByExternalIdMap |
protected Map<String,User> |
MockSimpleRemoteDirectory.userMap |
Modifier and Type | Method and Description |
---|---|
User |
DelegatedAuthenticationDirectory.addOrUpdateLdapUser(String name)
Copies or updates a user in the internal directory from their counterpart in the LDAP directory.
|
User |
AzureAdDirectory.addUser(UserTemplate user,
PasswordCredential credential) |
User |
AuditingDirectoryDecorator.addUser(UserTemplate user,
PasswordCredential credential) |
User |
RemoteCrowdDirectory.addUser(UserTemplate user,
PasswordCredential credential) |
User |
InternalDirectory.addUser(UserTemplate user,
PasswordCredential credential) |
User |
AbstractForwardingDirectory.addUser(UserTemplate user,
PasswordCredential credential) |
User |
CachingDirectory.addUser(UserTemplate user,
PasswordCredential credential)
Adds a user with no special added logic.
|
User |
MockSimpleRemoteDirectory.addUser(UserTemplate user,
PasswordCredential credential) |
User |
RemoteDirectory.addUser(UserTemplate user,
PasswordCredential credential)
Deprecated.
|
User |
AzureAdDirectory.authenticate(String name,
PasswordCredential credential) |
User |
DbCachingRemoteDirectory.authenticate(String name,
PasswordCredential credential) |
User |
AuditingDirectoryDecorator.authenticate(String name,
PasswordCredential credential) |
User |
SpringLDAPConnector.authenticate(String name,
PasswordCredential credential) |
User |
RemoteCrowdDirectory.authenticate(String username,
PasswordCredential credential) |
User |
DelegatedAuthenticationDirectory.authenticate(String name,
PasswordCredential credential)
In addition to the normal authentication behaviour, following a successful
authentication the following may occur:
If the user does not exist in the internal directory and
DelegatedAuthenticationDirectory.ATTRIBUTE_CREATE_USER_ON_AUTH is enabled, the user's details
will be added to the internal directory.
If the user exists in the internal directory and
DelegatedAuthenticationDirectory.ATTRIBUTE_UPDATE_USER_ON_AUTH is enabled, the user's details
will be updated in the internal directory.
If the user exists in the internal directory and
DelegatedAuthenticationDirectory.ATTRIBUTE_UPDATE_USER_ON_AUTH is enabled and
the username was changed in remote directory, the user's name
will be updated in the internal directory.
A user marked as inactive locally will not be authenticated, retrieved,
renamed or updated from the LDAP server. |
User |
AbstractForwardingDirectory.authenticate(String name,
PasswordCredential credential) |
User |
AbstractInternalDirectory.authenticate(String name,
PasswordCredential credential) |
User |
MockSimpleRemoteDirectory.authenticate(String name,
PasswordCredential credential) |
User |
RemoteDirectory.authenticate(String name,
PasswordCredential credential)
Authenticates a
user with the directory store. |
protected User |
DbCachingRemoteDirectory.authenticateAndUpdateInternalUser(String name,
PasswordCredential credential)
Authenticates user and ensures that internal directory contains the
authenticated user.
|
protected User |
MockSimpleRemoteDirectory.copyUser(UserTemplate template) |
User |
AzureAdDirectory.findUserByExternalId(String externalId) |
User |
AuditingDirectoryDecorator.findUserByExternalId(String externalId) |
User |
RemoteCrowdDirectory.findUserByExternalId(String externalId) |
User |
AbstractForwardingDirectory.findUserByExternalId(String externalId) |
User |
MockSimpleRemoteDirectory.findUserByExternalId(String externalId) |
User |
RemoteDirectory.findUserByExternalId(String externalId)
Finds the user that matches the supplied
externalId . |
User |
AzureAdDirectory.findUserByName(String name) |
User |
AuditingDirectoryDecorator.findUserByName(String name) |
User |
RemoteCrowdDirectory.findUserByName(String name) |
User |
AbstractForwardingDirectory.findUserByName(String name) |
User |
MockSimpleRemoteDirectory.findUserByName(String name) |
User |
RemoteDirectory.findUserByName(String name)
Finds the
user that matches the supplied name . |
User |
MockSimpleRemoteDirectory.findUserByNameOrNull(String name) |
User |
AbstractInternalDirectory.forceRenameUser(User oldUser,
String newName) |
User |
InternalRemoteDirectory.forceRenameUser(User oldUser,
String newName)
Forces a rename on the given user in this directory.
|
protected User |
MockSimpleRemoteDirectory.rename(User oldUser,
String newName) |
User |
AzureAdDirectory.renameUser(String oldName,
String newName) |
User |
DbCachingRemoteDirectory.renameUser(String oldName,
String newName) |
User |
AuditingDirectoryDecorator.renameUser(String oldName,
String newName) |
User |
SpringLDAPConnector.renameUser(String oldName,
String newName) |
User |
Rfc2307.renameUser(String oldName,
String newName) |
User |
RemoteCrowdDirectory.renameUser(String oldName,
String newName) |
User |
AbstractForwardingDirectory.renameUser(String oldName,
String newName) |
User |
AbstractInternalDirectory.renameUser(String oldName,
String newName) |
User |
MockSimpleRemoteDirectory.renameUser(String oldName,
String newName) |
User |
RemoteDirectory.renameUser(String oldName,
String newName)
Renames a
user . |
User |
AzureAdDirectory.updateUser(UserTemplate user) |
User |
DbCachingRemoteDirectory.updateUser(UserTemplate user) |
User |
AuditingDirectoryDecorator.updateUser(UserTemplate user) |
User |
SpringLDAPConnector.updateUser(UserTemplate user) |
User |
Rfc2307.updateUser(UserTemplate user) |
User |
RemoteCrowdDirectory.updateUser(UserTemplate user) |
User |
InternalDirectory.updateUser(UserTemplate user) |
User |
AbstractForwardingDirectory.updateUser(UserTemplate user) |
User |
CachingDirectory.updateUser(UserTemplate user) |
User |
MockSimpleRemoteDirectory.updateUser(UserTemplate user) |
User |
RemoteDirectory.updateUser(UserTemplate user)
Updates the
user . |
protected User |
DbCachingRemoteDirectory.updateUserAndSetActiveFlag(User remoteUser,
User internalUser) |
User |
DbCachingRemoteDirectory.updateUserFromRemoteDirectory(User remoteUser) |
User |
AuditingDirectoryDecorator.updateUserFromRemoteDirectory(User remoteUser) |
User |
DelegatedAuthenticationDirectory.updateUserFromRemoteDirectory(User ldapUser) |
User |
AbstractForwardingDirectory.updateUserFromRemoteDirectory(User remoteUser) |
default User |
RemoteDirectory.updateUserFromRemoteDirectory(User remoteUser) |
User |
DbCachingRemoteDirectory.userAuthenticated(String username) |
User |
RemoteCrowdDirectory.userAuthenticated(String username) |
User |
DelegatedAuthenticationDirectory.userAuthenticated(String username) |
User |
AbstractInternalDirectory.userAuthenticated(String username) |
default User |
RemoteDirectory.userAuthenticated(String username) |
Modifier and Type | Method and Description |
---|---|
BatchResult<User> |
InternalDirectory.addAllUsers(Set<UserTemplateWithCredentialAndAttributes> users) |
BatchResult<User> |
CachingDirectory.addAllUsers(Set<UserTemplateWithCredentialAndAttributes> users) |
BatchResult<User> |
InternalRemoteDirectory.addAllUsers(Set<UserTemplateWithCredentialAndAttributes> users)
Adds a collection of users to the directory.
|
Modifier and Type | Method and Description |
---|---|
void |
DbCachingRemoteChangeOperations.addOrUpdateCachedUser(User user) |
void |
DirectoryCacheImplUsingChangeOperations.addOrUpdateCachedUser(User user) |
void |
DirectoryCacheChangeOperations.addOrUpdateCachedUser(User user) |
protected UserWithAttributes |
MockSimpleRemoteDirectory.deriveUserWithAttributes(User user,
UserTemplate template) |
User |
AbstractInternalDirectory.forceRenameUser(User oldUser,
String newName) |
User |
InternalRemoteDirectory.forceRenameUser(User oldUser,
String newName)
Forces a rename on the given user in this directory.
|
protected Attributes |
SpringLDAPConnector.getNewUserAttributes(User user,
PasswordCredential credential)
Translates the
User into LDAP attributes, in preparation for creating a new user. |
protected void |
SunONE.getNewUserDirectorySpecificAttributes(User user,
Attributes attributes)
Sun DSEE 6.2 in a default install requires the sn to be set before a user can be created.
|
protected void |
NovelleDirectory.getNewUserDirectorySpecificAttributes(User user,
Attributes attributes)
Novell eDirectory in a default install requires the sn to be set before a user can be created.
|
protected void |
SpringLDAPConnector.getNewUserDirectorySpecificAttributes(User user,
Attributes attributes)
Populates attributes object with directory-specific attributes.
|
protected void |
MicrosoftActiveDirectory.getNewUserDirectorySpecificAttributes(User user,
Attributes attributes)
Active Directory needs a couple of additional attributes set - the sAMAccountName (which is the account name
you use to log on to Windows), and the account disabled flag.
|
protected void |
OpenLDAP.getNewUserDirectorySpecificAttributes(User user,
Attributes attributes)
OpenLDAP 2.3.35 in a default install requires the sn to be set before a user can be created.
|
protected void |
ApacheDS15.getNewUserDirectorySpecificAttributes(User user,
Attributes attributes)
ApacheDS in a default install requires the sn to be set before a user can be created.
|
protected void |
Rfc2307.getNewUserDirectorySpecificAttributes(User user,
Attributes attributes) |
protected void |
ApacheDS.getNewUserDirectorySpecificAttributes(User user,
Attributes attributes)
ApacheDS in a default install requires the sn to be set before a user can be created.
|
protected List<ModificationItem> |
SpringLDAPConnector.getUserModificationItems(User userTemplate,
LDAPUserWithAttributes currentUser) |
protected List<ModificationItem> |
MicrosoftActiveDirectory.getUserModificationItems(User userTemplate,
LDAPUserWithAttributes currentUser) |
protected boolean |
DbCachingRemoteChangeOperations.hasChanged(User remoteUser,
User internalUser) |
protected User |
MockSimpleRemoteDirectory.rename(User oldUser,
String newName) |
protected void |
DbCachingRemoteDirectory.updateGroupsMembershipOnLogin(User user,
Set<String> userRemoteGroupNames) |
protected User |
DbCachingRemoteDirectory.updateUserAndSetActiveFlag(User remoteUser,
User internalUser) |
User |
DbCachingRemoteDirectory.updateUserFromRemoteDirectory(User remoteUser) |
User |
AuditingDirectoryDecorator.updateUserFromRemoteDirectory(User remoteUser) |
User |
DelegatedAuthenticationDirectory.updateUserFromRemoteDirectory(User ldapUser) |
User |
AbstractForwardingDirectory.updateUserFromRemoteDirectory(User remoteUser) |
default User |
RemoteDirectory.updateUserFromRemoteDirectory(User remoteUser) |
Modifier and Type | Method and Description |
---|---|
AddUpdateSets<UserTemplateWithCredentialAndAttributes,UserTemplate> |
DirectoryCacheImplUsingChangeOperations.addOrUpdateCachedUsers(Collection<? extends User> remoteUsers,
Date syncStartDate) |
void |
DbCachingRemoteChangeOperations.deleteCachedUsersNotIn(Collection<? extends User> remoteUsers,
Date synchStartDate) |
void |
DirectoryCacheImplUsingChangeOperations.deleteCachedUsersNotIn(Collection<? extends User> users,
Date syncStartDate) |
void |
DirectoryCacheChangeOperations.deleteCachedUsersNotIn(Collection<? extends User> users,
Date syncStartDate) |
AddUpdateSets<UserTemplateWithCredentialAndAttributes,UserTemplate> |
DbCachingRemoteChangeOperations.getUsersToAddAndUpdate(Collection<? extends User> remoteUsers,
Date syncStartDate)
Returns the users that need to be added or updated given the list of all remote users.
|
AddUpdateSets<UserTemplateWithCredentialAndAttributes,UserTemplate> |
DirectoryCacheChangeOperations.getUsersToAddAndUpdate(Collection<? extends User> remoteUsers,
Date syncStartDate) |
Modifier and Type | Field and Description |
---|---|
Map<String,User> |
MockDirectoryCache.userMap |
Modifier and Type | Method and Description |
---|---|
Collection<User> |
MockDirectoryCache.getUsers() |
Modifier and Type | Method and Description |
---|---|
void |
MockDirectoryCache.addOrUpdateCachedUser(User user) |
Modifier and Type | Method and Description |
---|---|
AddUpdateSets<UserTemplateWithCredentialAndAttributes,UserTemplate> |
MockDirectoryCache.addOrUpdateCachedUsers(Collection<? extends User> users,
Date syncStartDate) |
void |
MockDirectoryCache.deleteCachedUsersNotIn(Collection<? extends User> users,
Date syncStartDate) |
Modifier and Type | Method and Description |
---|---|
Attributes |
LDAPUserAttributesMapper.mapAttributesFromUser(User user)
Creates an LDAP
Attributes object containing the information in the User object. |
Modifier and Type | Method and Description |
---|---|
void |
DirectoryCache.addOrUpdateCachedUser(User user) |
Modifier and Type | Method and Description |
---|---|
AddUpdateSets<UserTemplateWithCredentialAndAttributes,UserTemplate> |
DirectoryCache.addOrUpdateCachedUsers(Collection<? extends User> users,
Date syncStartDate)
Synchronises a list of Users from an external directory in the local cache.
|
void |
DirectoryCache.deleteCachedUsersNotIn(Collection<? extends User> users,
Date syncStartDate) |
Modifier and Type | Method and Description |
---|---|
static MembershipQuery<User> |
ConversionUtils.toModelUserMembershipQuery(MembershipQuery embeddedQuery) |
static UserQuery<User> |
ConversionUtils.toModelUserQuery(UserQuery embeddedQuery) |
Modifier and Type | Method and Description |
---|---|
static List<User> |
ConversionUtils.toEmbeddedUsers(List<User> modelUsers)
Converts a list of model Users to a list of embedded Users.
|
Modifier and Type | Method and Description |
---|---|
User |
UserDao.add(User user,
PasswordCredential credential)
Creates a new user with the given details and credentials.
|
User |
UserDao.rename(User user,
String newName)
Changes the user's name to the provided new name.
|
User |
UserDao.update(User user)
Updates all the user properties (except the username) of the user with the same directory and
case-insensitive name.
|
Modifier and Type | Method and Description |
---|---|
BatchResult<User> |
UserDao.addAll(Set<UserTemplateWithCredentialAndAttributes> users)
Bulk add users.
|
Modifier and Type | Method and Description |
---|---|
User |
UserDao.add(User user,
PasswordCredential credential)
Creates a new user with the given details and credentials.
|
void |
UserDao.remove(User user)
Removes the user.
|
void |
UserDao.removeAttribute(User user,
String attributeName)
Removes the attributes for the user with the given name.
|
User |
UserDao.rename(User user,
String newName)
Changes the user's name to the provided new name.
|
void |
UserDao.storeAttributes(User user,
Map<String,Set<String>> attributes,
boolean updateTimestamp)
Adds or updates a user's attributes with the new Map of attribute values.
|
User |
UserDao.update(User user)
Updates all the user properties (except the username) of the user with the same directory and
case-insensitive name.
|
void |
UserDao.updateCredential(User user,
PasswordCredential credential,
int maxCredentialHistory)
Updates the credential (password) of the user with the same directory and case-insensitive name.
|
Modifier and Type | Method and Description |
---|---|
User |
RequestUsernamesEvent.getUser() |
User |
RequestResetPasswordEvent.getUser() |
Constructor and Description |
---|
RequestResetPasswordEvent(User user,
String resetLink)
Constructs a new instance of RequestResetPasswordEvent.
|
RequestUsernamesEvent(User user,
List<String> usernames) |
Constructor and Description |
---|
RemoteUserCreatedEvent(Object source,
long directoryID,
User user) |
RemoteUserCreatedOrUpdatedEvent(Object source,
long directoryID,
User user) |
RemoteUserUpdatedEvent(Object source,
long directoryID,
User user) |
Modifier and Type | Method and Description |
---|---|
User |
AutoUserUpdatedEvent.getOriginalUser() |
User |
UserEditedEvent.getOriginalUser() |
User |
UserAuthenticationSucceededEvent.getRemotePrincipal() |
User |
UserAuthenticationFailedAccessDeniedEvent.getRemotePrincipal() |
User |
UserAuthenticatedEvent.getUser() |
User |
UserUpdatedEvent.getUser() |
User |
UserCreatedEvent.getUser() |
Modifier and Type | Method and Description |
---|---|
User |
CacheAwareCrowdHttpAuthenticator.authenticate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String username,
String password) |
User |
CrowdHttpAuthenticatorImpl.authenticate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String username,
String password) |
User |
CrowdHttpAuthenticator.authenticate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String username,
String password)
Authenticates the user based on provided credentials.
|
User |
CacheAwareCrowdHttpAuthenticator.authenticateWithoutValidatingPassword(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String username) |
User |
CrowdHttpAuthenticatorImpl.authenticateWithoutValidatingPassword(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String username) |
User |
CrowdHttpAuthenticator.authenticateWithoutValidatingPassword(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String username)
Authenticates the user without validating password.
|
User |
CacheAwareCrowdHttpAuthenticator.getUser(javax.servlet.http.HttpServletRequest request) |
User |
CrowdHttpAuthenticatorImpl.getUser(javax.servlet.http.HttpServletRequest request) |
User |
CrowdHttpAuthenticator.getUser(javax.servlet.http.HttpServletRequest request)
Attempts to retrieve the currently authenticated User from the request.
|
Modifier and Type | Class and Description |
---|---|
class |
UserEntity
Represents a User entity (client side).
|
Modifier and Type | Method and Description |
---|---|
User |
RestCrowdClient.authenticateUser(String username,
String password) |
User |
RestCrowdClient.findUserFromSSOToken(String token) |
User |
RestCrowdClient.getUser(String name) |
User |
RestCrowdClient.getUserByKey(String key) |
User |
RestCrowdClient.renameUser(String oldUsername,
String newUsername) |
User |
RestCrowdClient.userAuthenticated(String username) |
Modifier and Type | Method and Description |
---|---|
List<User> |
RestCrowdClient.getNestedUsersOfGroup(String groupName,
int startIndex,
int maxResults) |
List<User> |
RestCrowdClient.getUsersOfGroup(String groupName,
int startIndex,
int maxResults) |
List<User> |
RestCrowdClient.searchUsers(SearchRestriction searchRestriction,
int startIndex,
int maxResults) |
Modifier and Type | Method and Description |
---|---|
UserWithAttributes |
RestCrowdClient.addUser(User user,
PasswordCredential passwordCredential) |
void |
RestCrowdClient.updateUser(User user) |
Modifier and Type | Method and Description |
---|---|
static List<User> |
EntityTranslator.toUserList(UserEntityList userEntityList)
Transforms UserEntityList into a list of users.
|
Modifier and Type | Method and Description |
---|---|
static UserEntity |
EntityTranslator.toUserEntity(User user)
Translates a User to a UserEntity.
|
static UserEntity |
EntityTranslator.toUserEntity(User user,
Attributes attributes)
Translates a User with Attributes to a UserEntity.
|
static UserEntity |
EntityTranslator.toUserEntity(User user,
PasswordCredential passwordCredential)
Translates a User to a UserEntity.
|
Constructor and Description |
---|
CrowdRememberMeAuthentication(User principal) |
Modifier and Type | Method and Description |
---|---|
User |
CrowdUserDetails.getRemotePrincipal()
Returns the remote principal that has authenticated.
|
Constructor and Description |
---|
CrowdUserDetails(User principal,
Collection<org.springframework.security.core.GrantedAuthority> authorities) |
Modifier and Type | Method and Description |
---|---|
User |
TranslatingApplicationService.addUser(Application application,
UserTemplate user,
PasswordCredential credential) |
User |
AbstractDelegatingApplicationService.addUser(Application application,
UserTemplate user,
PasswordCredential credential) |
User |
ApplicationServiceGeneric.addUser(Application application,
UserTemplate user,
PasswordCredential credential) |
User |
ApplicationService.addUser(Application application,
UserTemplate user,
PasswordCredential credential)
|
User |
TranslatingApplicationService.authenticateUser(Application application,
String username,
PasswordCredential passwordCredential) |
User |
AbstractDelegatingApplicationService.authenticateUser(Application application,
String username,
PasswordCredential passwordCredential) |
User |
ApplicationServiceGeneric.authenticateUser(Application application,
String username,
PasswordCredential passwordCredential) |
User |
ApplicationService.authenticateUser(Application application,
String username,
PasswordCredential passwordCredential)
Will attempt to authenticate the given user against the application.
|
User |
AbstractDelegatingApplicationService.findRemoteUserByName(Application application,
String username) |
User |
ApplicationServiceGeneric.findRemoteUserByName(Application application,
String username) |
User |
ApplicationService.findRemoteUserByName(Application application,
String username)
Returns the first user with the matching username from all active directories authoratiative remote directory.
|
User |
AbstractDelegatingApplicationService.findUserByKey(Application application,
String key) |
User |
ApplicationServiceGeneric.findUserByKey(Application application,
String key) |
User |
ApplicationService.findUserByKey(Application application,
String key)
Returns the user with a matching key from all the active directories assigned to the application.
|
User |
TranslatingApplicationService.findUserByName(Application application,
String name) |
User |
AbstractDelegatingApplicationService.findUserByName(Application application,
String name) |
User |
ApplicationServiceGeneric.findUserByName(Application application,
String name) |
User |
ApplicationService.findUserByName(Application application,
String name)
Returns the first user with the matching username
from all the active directories assigned to the application.
|
User |
TranslatingApplicationService.renameUser(Application application,
String oldUserName,
String newUsername) |
User |
AbstractDelegatingApplicationService.renameUser(Application application,
String oldUserName,
String newUsername) |
User |
ApplicationServiceGeneric.renameUser(Application application,
String oldUserName,
String newUsername) |
User |
ApplicationService.renameUser(Application application,
String oldUserName,
String newUsername)
Renames the user in the first active directory the users exists in.
|
User |
TranslatingApplicationService.updateUser(Application application,
UserTemplate user) |
User |
AbstractDelegatingApplicationService.updateUser(Application application,
UserTemplate user) |
User |
ApplicationServiceGeneric.updateUser(Application application,
UserTemplate user) |
User |
ApplicationService.updateUser(Application application,
UserTemplate user)
Updates the user in the first active directory the User belongs.
|
User |
TranslatingApplicationService.userAuthenticated(Application application,
String username) |
User |
AbstractDelegatingApplicationService.userAuthenticated(Application application,
String username) |
User |
ApplicationServiceGeneric.userAuthenticated(Application application,
String username) |
User |
ApplicationService.userAuthenticated(Application application,
String username) |
Modifier and Type | Method and Description |
---|---|
boolean |
TranslatingApplicationService.isUserAuthorised(Application application,
User user) |
boolean |
CachingApplicationService.isUserAuthorised(Application application,
User user) |
boolean |
ApplicationServiceGeneric.isUserAuthorised(Application application,
User user) |
boolean |
ApplicationService.isUserAuthorised(Application application,
User user)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
User |
CanonicalEntityByNameFinder.fastFailingFindUserByName(String name) |
User |
CanonicalEntityByNameFinder.findRemoteUserByName(String name) |
User |
CanonicalEntityByNameFinder.findUserByName(String name) |
Modifier and Type | Method and Description |
---|---|
Optional<User> |
CanonicalEntityByNameFinder.fastFailingFindOptionalUserByName(String name) |
Modifier and Type | Method and Description |
---|---|
List<AuditLogEntry> |
AuditLogUserMapperImpl.calculateDifference(AuditLogEventType eventType,
User oldUser,
User newUser) |
List<AuditLogEntry> |
AuditLogUserMapper.calculateDifference(AuditLogEventType eventType,
User oldUser,
User newUser) |
Modifier and Type | Method and Description |
---|---|
User |
AliasingAwareTokenAuthenticationManager.findUserByToken(Token token,
Application application) |
User |
TokenAuthenticationManagerImpl.findUserByToken(Token token,
Application application) |
User |
DelegatingTokenAuthenticationManager.findUserByToken(Token token,
Application application) |
User |
TokenAuthenticationManager.findUserByToken(Token token,
Application application)
Will find a user via the passed in token.
|
Modifier and Type | Method and Description |
---|---|
List<Application> |
AliasingAwareTokenAuthenticationManager.findAuthorisedApplications(User user,
String applicationName) |
List<Application> |
TokenAuthenticationManagerImpl.findAuthorisedApplications(User user,
String applicationName) |
List<Application> |
DelegatingTokenAuthenticationManager.findAuthorisedApplications(User user,
String applicationName) |
List<Application> |
TokenAuthenticationManager.findAuthorisedApplications(User user,
String applicationName)
Returns a list of applications a user
is authorised to authenticate with.
|
Modifier and Type | Method and Description |
---|---|
URI |
WebServiceAvatarProvider.getUserAvatar(User user,
int sizeHint) |
URI |
AvatarProvider.getUserAvatar(User user,
int sizeHint)
Gets a URL for an avatar based on the information in this
User , if one is available. |
Modifier and Type | Method and Description |
---|---|
User |
DirectoryManagerGeneric.addUser(long directoryId,
UserTemplate user,
PasswordCredential credential) |
User |
DirectoryManager.addUser(long directoryId,
UserTemplate user,
PasswordCredential credential)
Deprecated.
|
User |
DirectoryManagerGeneric.authenticateUser(long directoryId,
String username,
PasswordCredential passwordCredential) |
User |
DirectoryManager.authenticateUser(long directoryId,
String username,
PasswordCredential passwordCredential) |
User |
DirectoryManagerGeneric.findRemoteUserByName(Long directoryId,
String username) |
User |
DirectoryManager.findRemoteUserByName(Long id,
String username)
Returns the user matching the supplied username in the authoritative remote directory specified by the
passed in
directoryId |
User |
DirectoryManagerGeneric.findUserByExternalId(long directoryId,
String externalId) |
User |
DirectoryManager.findUserByExternalId(long directoryId,
String externalId)
Returns the user matching the supplied external ID in the directory specified by the passed in
directoryId . |
User |
DirectoryManagerGeneric.findUserByName(long directoryId,
String username) |
User |
DirectoryManager.findUserByName(long directoryId,
String username)
Returns the user matching the supplied username in the directory specified by the passed in
directoryId .. |
User |
DirectoryManagerGeneric.renameUser(long directoryId,
String oldUsername,
String newUsername) |
User |
DirectoryManager.renameUser(long directoryId,
String oldUsername,
String newUsername)
Renames a user in the directory specified by the passed in
directoryId . |
User |
DirectoryManagerGeneric.updateUser(long directoryId,
UserTemplate user) |
User |
DirectoryManager.updateUser(long directoryId,
UserTemplate user)
Updates a user with the supplied template and returns the updated user retrieved from the directory specified by the passed in
directoryId . |
User |
DirectoryManagerGeneric.updateUserFromRemoteDirectory(User remoteUser) |
User |
DirectoryManager.updateUserFromRemoteDirectory(User remoteUser)
Updates the user details for the specified user based on the details in the remote directory.
|
User |
DirectoryManagerGeneric.userAuthenticated(long directoryId,
String username) |
User |
DirectoryManager.userAuthenticated(long directoryId,
String username) |
Modifier and Type | Method and Description |
---|---|
BulkAddResult<User> |
DirectoryManagerGeneric.addAllUsers(long directoryId,
Collection<UserTemplateWithCredentialAndAttributes> users,
boolean overwrite) |
BulkAddResult<User> |
DirectoryManager.addAllUsers(long directoryId,
Collection<UserTemplateWithCredentialAndAttributes> users,
boolean overwrite)
Will add a collection of users to the directory specified by the passed in
directoryId param. |
Collection<User> |
MembershipService.getDirectUsersFromGroup(long directoryId,
String groupName,
int startIndex,
int maxResults)
Returns direct members of a group (excluding nested members)
|
Modifier and Type | Method and Description |
---|---|
User |
DirectoryManagerGeneric.updateUserFromRemoteDirectory(User remoteUser) |
User |
DirectoryManager.updateUserFromRemoteDirectory(User remoteUser)
Updates the user details for the specified user based on the details in the remote directory.
|
Modifier and Type | Method and Description |
---|---|
String |
ForgottenLoginMailer.checkActiveUser(User user) |
void |
ForgottenLoginMailer.mailResetPasswordLink(User user,
String resetLink)
Mails the reset password link to the
user . |
void |
ForgottenLoginMailer.mailUsernames(User user,
List<String> usernames)
Mails the list of usernames to the
user . |
Modifier and Type | Method and Description |
---|---|
List<User> |
MembershipServiceImpl.getDirectUsersFromGroup(long directoryId,
String groupName,
int startIndex,
int maxResults) |
Modifier and Type | Method and Description |
---|---|
Set<User> |
GroupAdministrationPermissionService.getDirectGroupLevelAdminUsers(boolean considerOnlyTargetGroupsWithApplications) |
Set<User> |
UserPermissionServiceImpl.getGroupLevelAdmins(boolean considerOnlyTargetGroupsWithApplications) |
Set<User> |
UserPermissionService.getGroupLevelAdmins(boolean considerOnlyTargetGroupsWithApplications) |
default Set<User> |
UserPermissionService.getSysAdmins(Application application,
boolean includeLocallyCachedOnly) |
Set<User> |
UserPermissionServiceImpl.getUsersWithPermission(Application application,
UserPermission permission,
boolean includeLocallyCachedOnly) |
Set<User> |
UserPermissionService.getUsersWithPermission(Application application,
UserPermission userPermission,
boolean includeLocallyCachedOnly) |
Modifier and Type | Method and Description |
---|---|
List<UserGroupAdministrationMapping> |
GroupAdministrationPermissionService.getAdministeredGroups(User user,
AdministeredGroupsQuery query)
Looks for groups a user administers
|
boolean |
GroupAdministrationPermissionService.isUserAdminOfGroup(User user,
Group group)
Check if a user is an administrator of a group
|
boolean |
GroupAdministrationPermissionService.isUserGroupLevelAdmin(User user) |
Modifier and Type | Method and Description |
---|---|
User |
RecoveryModeRemoteDirectory.addUser(UserTemplate user,
PasswordCredential credential) |
User |
RecoveryModeRemoteDirectory.authenticate(String name,
PasswordCredential credential) |
User |
RecoveryModeRemoteDirectory.findUserByExternalId(String externalId) |
User |
RecoveryModeRemoteDirectory.findUserByName(String name) |
User |
RecoveryModeRemoteDirectory.renameUser(String oldName,
String newName) |
User |
RecoveryModeRemoteDirectory.updateUser(UserTemplate user) |
Modifier and Type | Method and Description |
---|---|
boolean |
RecoveryModeAwareApplicationService.isUserAuthorised(Application application,
User user) |
Modifier and Type | Method and Description |
---|---|
User |
ApplicationAccessDeniedException.getUser() |
Constructor and Description |
---|
ApplicationAccessDeniedException(Application application,
User user) |
Modifier and Type | Method and Description |
---|---|
Map<Long,User> |
CachedUserGroupResolver.findUsersByIds(Collection<Long> userIds)
Bulk find users with the specified database identifiers.
|
Modifier and Type | Method and Description |
---|---|
Map<Long,User> |
CachedUserGroupResolverImpl.findUsersByIds(Collection<Long> userIds) |
Modifier and Type | Method and Description |
---|---|
BatchResultWithIdReferences<User> |
LegacyImportDataHolder.getUserImportResults() |
Modifier and Type | Method and Description |
---|---|
void |
LegacyImportDataHolder.setUserImportResults(BatchResultWithIdReferences<User> userImportResults) |
Modifier and Type | Method and Description |
---|---|
User |
UserEvent.getUser() |
Constructor and Description |
---|
UserEvent(Operation operation,
Long directoryId,
User user,
Map<String,Set<String>> storedAttributes,
Set<String> deletedAttributes) |
Modifier and Type | Method and Description |
---|---|
User |
UserTombstone.toUser() |
Modifier and Type | Interface and Description |
---|---|
interface |
TimestampedUser
Extends the user interface with "updated date" and "created date".
|
interface |
UserWithAttributes
Represents a user with attributes that exists in a directory.
|
Modifier and Type | Class and Description |
---|---|
class |
ImmutableTimestampedUser |
class |
ImmutableTimestampedUserWithAttributes |
class |
InternalUser
Encapsulates the concept of crowd user.
|
class |
InternalUserWithAttributes
Encapsulates the concept of user which has attributes.
|
Modifier and Type | Field and Description |
---|---|
static com.google.common.base.Function<User,String> |
Users.LOWER_NAME_FUNCTION
Deprecated.
Use the more general
DirectoryEntities.LOWER_NAME_FUNCTION . |
static com.google.common.base.Function<User,String> |
Users.NAME_FUNCTION
Deprecated.
Use the more general
DirectoryEntities.NAME_FUNCTION . |
Modifier and Type | Method and Description |
---|---|
static ImmutableUser.Builder |
ImmutableUser.builder(User user) |
static ImmutableUserWithAttributes.Builder |
ImmutableUserWithAttributes.builder(User user,
com.google.common.collect.SetMultimap<String,String> attributes) |
static ImmutableUser |
ImmutableUser.from(User user) |
static UserTemplateWithAttributes |
UserTemplateWithAttributes.ofUserWithNoAttributes(User user)
Deprecated.
Use
UserTemplateWithAttributes.toUserWithNoAttributes(User) instead. Since v2.9. |
static UserTemplateWithAttributes |
UserTemplateWithAttributes.toUserWithNoAttributes(User user)
Creates new UserTemplateWithAttributes based on the given user with empty attributes.
|
void |
InternalUser.updateDetailsFrom(User user) |
Modifier and Type | Method and Description |
---|---|
static Iterable<String> |
Users.namesOf(Iterable<? extends User> users)
Deprecated.
|
Constructor and Description |
---|
Builder(User user) |
Builder(User user,
com.google.common.collect.SetMultimap<String,String> attributes) |
DelegatingUserWithAttributes(User user,
Attributes attributes) |
ImmutableUser(User user) |
InternalUser(User user,
Directory directory,
PasswordCredential credential)
Constructor used for adding a new user.
|
UserTemplate(User user)
Build a template from an existing user.
|
UserTemplateWithAttributes(User user) |
UserTemplateWithCredentialAndAttributes(User user,
Map<String,Set<String>> attributes,
PasswordCredential credential) |
UserTemplateWithCredentialAndAttributes(User user,
PasswordCredential credential) |
Modifier and Type | Method and Description |
---|---|
User |
BaseAction.getRemotePrincipal()
Gets the remote principal for the request.
|
Modifier and Type | Method and Description |
---|---|
OpenIDAuthResponse |
OpenIDAuthenticationManagerGeneric.checkImmediate(User principal,
Locale locale,
OpenIDAuthRequest authReq) |
OpenIDAuthResponse |
OpenIDAuthenticationManager.checkImmediate(User principal,
Locale locale,
OpenIDAuthRequest authReq)
A convenience wrapper for the autoAllowRequest method.
|
Modifier and Type | Method and Description |
---|---|
Profile |
ProfileManager.addNewProfile(User user,
User principal,
Locale locale,
String profileName)
Creates and adds a new profile to a given user.
|
Profile |
ProfileManagerGeneric.addNewProfile(User user,
User principal,
Locale locale,
String profileName) |
Modifier and Type | Method and Description |
---|---|
User |
UserManager.getUser(User principal,
Locale locale)
Retrieves or creates a User from the database matching
the name of the supplied principal.
|
User |
UserManagerGeneric.getUser(User principal,
Locale locale) |
Modifier and Type | Method and Description |
---|---|
static UserEntity |
EntityTranslator.toUserEntity(User user,
Attributes attributes,
com.atlassian.plugins.rest.common.Link userLink)
Translates a User with Attributes to a UserEntity.
|
static UserEntity |
EntityTranslator.toUserEntity(User user,
com.atlassian.plugins.rest.common.Link userLink)
Translates a User to a UserEntity.
|
static UserEntity |
UserEntityUtil.translate(User user,
com.atlassian.plugins.rest.common.Link oldLink) |
static UserEntity |
UserEntityUtil.translateWithAttributes(User user,
Attributes attributes,
com.atlassian.plugins.rest.common.Link oldLink) |
Modifier and Type | Method and Description |
---|---|
static UserEntityList |
EntityTranslator.toUserEntities(List<? extends User> users,
URI baseUri)
Translates a list of users to a list of UserEntities.
|
Modifier and Type | Method and Description |
---|---|
List<User> |
DirectoryEntitySearchServiceImpl.searchPotentialMembers(EntityQuery<User> query,
long directoryId,
String groupName) |
List<User> |
DirectoryEntitySearchService.searchPotentialMembers(EntityQuery<User> usersQuery,
long directoryId,
String groupName)
Returns users that can be assigned as members of the specified group.
|
List<User> |
DirectoryEntitySearchServiceImpl.searchUsers(EntityQuery<User> query,
List<Directory> optionalDirectories) |
List<User> |
DirectoryEntitySearchService.searchUsers(EntityQuery<User> usersQuery,
List<Directory> directoriesRestriction)
Returns users matching
usersQuery . |
Modifier and Type | Method and Description |
---|---|
List<User> |
DirectoryEntitySearchServiceImpl.searchPotentialMembers(EntityQuery<User> query,
long directoryId,
String groupName) |
List<User> |
DirectoryEntitySearchService.searchPotentialMembers(EntityQuery<User> usersQuery,
long directoryId,
String groupName)
Returns users that can be assigned as members of the specified group.
|
List<User> |
DirectoryEntitySearchServiceImpl.searchUsers(EntityQuery<User> query,
List<Directory> optionalDirectories) |
List<User> |
DirectoryEntitySearchService.searchUsers(EntityQuery<User> usersQuery,
List<Directory> directoriesRestriction)
Returns users matching
usersQuery . |
Modifier and Type | Method and Description |
---|---|
User |
CrowdClient.authenticateUser(String username,
String password)
Authenticates a user with the server.
|
User |
CrowdClient.findUserFromSSOToken(String token)
Returns the user from the specified user token.
|
User |
CrowdClient.getUser(String name)
Gets a User by user name.
|
User |
CrowdClient.getUserByKey(String key)
Gets a User by key.
|
User |
CrowdClient.renameUser(String oldUsername,
String newUsername)
Renames a user on the remote Crowd server, initially finding them by their current username.
|
User |
CrowdClient.userAuthenticated(String username) |
Modifier and Type | Method and Description |
---|---|
List<User> |
CrowdClient.getNestedUsersOfGroup(String groupName,
int startIndex,
int maxResults)
Searches for users who are nested members of a group.
|
List<User> |
CrowdClient.getUsersOfGroup(String groupName,
int startIndex,
int maxResults)
Searches for users who are direct members of a group.
|
List<User> |
CrowdClient.searchUsers(SearchRestriction searchRestriction,
int startIndex,
int maxResults)
Searches for users matching the following criteria.
|
Modifier and Type | Method and Description |
---|---|
UserWithAttributes |
CrowdClient.addUser(User user,
PasswordCredential passwordCredential)
Deprecated.
|
void |
CrowdClient.updateUser(User user)
Updates a user on the remote Crowd server.
|
Modifier and Type | Method and Description |
---|---|
Set<User> |
GroupAdministrationPermissionServiceImpl.getDirectGroupLevelAdminUsers(boolean considerOnlyTargetGroupsWithApplications) |
Modifier and Type | Method and Description |
---|---|
List<UserGroupAdministrationMapping> |
GroupAdministrationPermissionServiceImpl.getAdministeredGroups(User user,
AdministeredGroupsQuery query) |
boolean |
GroupAdministrationPermissionServiceImpl.isUserAdminOfGroup(User user,
Group group) |
boolean |
GroupAdministrationPermissionServiceImpl.isUserGroupLevelAdmin(User user) |
Modifier and Type | Method and Description |
---|---|
static SOAPPrincipal |
ObjectTranslator.processUser(User user) |
Modifier and Type | Method and Description |
---|---|
static SOAPPrincipal[] |
ObjectTranslator.processUsers(Collection<User> users) |
Modifier and Type | Method and Description |
---|---|
protected org.hamcrest.Matcher<User> |
BaseAzureAdTest.alanSteinerUser() |
protected org.hamcrest.Matcher<User> |
BaseAzureAdTest.aliciaThomberUser() |
protected org.hamcrest.Matcher<User> |
BaseAzureAdTest.cieAdministratorUser() |
Modifier and Type | Class and Description |
---|---|
class |
UserMatcher<E extends User> |
Modifier and Type | Method and Description |
---|---|
static <T extends User> |
UserMatcher.user()
A matcher that matches any user.
|
static <T extends User> |
CrowdMatchers.user() |
static <T extends User> |
UserMatcher.user(Class<T> type)
A matcher that matches any user; synonymous with
UserMatcher.user() but its argument is used to set the matcher type. |
static <T extends User> |
CrowdMatchers.user(Class<T> type)
A matcher that matches any user; synonymous with
CrowdMatchers.user() but its argument is used to set the matcher type. |
static <T extends User> |
UserMatcher.userNamed(String name)
A matcher that matches a user with the given name.
|
static <T extends User> |
CrowdMatchers.userNamed(String name) |
Constructor and Description |
---|
UserRenamedEventMatcher(long directoryId,
User user,
String oldUsername) |
Modifier and Type | Method and Description |
---|---|
static void |
ModelAssertions.assertUsersEqual(User expected,
User actual) |
static TestUserBuilder |
TestUserBuilder.newUser(User user) |
Modifier and Type | Method and Description |
---|---|
static User |
UserUtils.populateNames(User user)
Ensures that the first name, last name and displayName of
the user object is fully populated.
|
Modifier and Type | Method and Description |
---|---|
static User |
UserUtils.populateNames(User user)
Ensures that the first name, last name and displayName of
the user object is fully populated.
|
static String |
CrowdConsoleUrlProvider.viewUserUrl(User user) |
Copyright © 2020 Atlassian. All rights reserved.