Modifier and Type | Method and Description |
---|---|
List<T> |
Searcher.doSearchByDirectory(long directoryID,
Boolean active,
String searchText,
int resultsStartIndex,
int resultsPerPage)
Performs a search for DirectoryEntities in the specified directory, returning a list of those that match.
|
List<User> |
UserSearcherImpl.doSearchByDirectory(long directoryID,
Boolean active,
String searchText,
int resultsStartIndex,
int resultsPerPage) |
Modifier and Type | Method and Description |
---|---|
List<String> |
AddApplicationAuthorisationDetails.getUnsubscribedGroupsForDirectory(Long directoryId) |
Modifier and Type | Method and Description |
---|---|
String |
CsvConfirmation.getDirectoryName() |
Modifier and Type | Method and Description |
---|---|
protected void |
ViewGroupMembers.fetchGroupInformation() |
protected void |
ViewGroup.processGeneral() |
Modifier and Type | Method and Description |
---|---|
void |
ApplicationDefaultGroupMembershipResolver.onDefaultGroupsAdded(Application application,
Directory directory,
UserWithAttributes user) |
void |
DefaultGroupMembershipResolver.onDefaultGroupsAdded(Application application,
Directory directory,
UserWithAttributes user)
The callback that should be called after adding the user to all the default groups returned from this DefaultGroupMembershipResolver
|
void |
DirectoryDefaultGroupMembershipResolver.onDefaultGroupsAdded(Application application,
Directory directory,
UserWithAttributes user) |
Modifier and Type | Method and Description |
---|---|
String |
ClusterHeartbeatDAOHibernate.writeNewHeartbeat(Supplier<String> nodeIdSupplier,
String nodeName,
long timestamp)
Tries to insert a new heartbeat based on the parameters.
|
Modifier and Type | Method and Description |
---|---|
protected void |
RFC4519Directory.addDnToGroup(String dn,
LDAPGroupWithAttributes group) |
Group |
AzureAdDirectory.addGroup(GroupTemplate group) |
Group |
AuditingDirectoryDecorator.addGroup(GroupTemplate group) |
Group |
DbCachingRemoteDirectory.addGroup(GroupTemplate group) |
Group |
Rfc2307.addGroup(GroupTemplate group) |
Group |
SpringLDAPConnector.addGroup(GroupTemplate group) |
Group |
RemoteCrowdDirectory.addGroup(GroupTemplate group) |
Group |
AbstractForwardingDirectory.addGroup(GroupTemplate group) |
Group |
DelegatedAuthenticationDirectory.addGroup(GroupTemplate group) |
Group |
AbstractInternalDirectory.addGroup(GroupTemplate group) |
Group |
MockSimpleRemoteDirectory.addGroup(GroupTemplate group) |
Group |
RemoteDirectory.addGroup(GroupTemplate group)
Adds a
group to the directory store. |
void |
DirectoryCacheImplUsingChangeOperations.addGroupMembersForGroup(Group parentGroup,
Set<String> remoteGroups) |
void |
DbCachingRemoteChangeOperations.addGroupMembershipsForGroup(Group parentGroup,
Collection<String> groupsToAdd) |
void |
DirectoryCacheChangeOperations.addGroupMembershipsForGroup(Group parentGroup,
Collection<String> toAdd) |
void |
DbCachingRemoteChangeOperations.addGroups(Set<GroupTemplate> groupsToAdd) |
void |
DirectoryCacheChangeOperations.addGroups(Set<GroupTemplate> allToAdd) |
void |
AzureAdDirectory.addGroupToGroup(String childGroup,
String parentGroup) |
void |
AuditingDirectoryDecorator.addGroupToGroup(String childGroup,
String parentGroup) |
void |
DbCachingRemoteChangeOperations.addGroupToGroup(String childGroup,
String parentGroup) |
void |
DbCachingRemoteDirectory.addGroupToGroup(String childGroup,
String parentGroup) |
void |
DirectoryCacheImplUsingChangeOperations.addGroupToGroup(String childGroup,
String parentGroup) |
void |
Rfc2307.addGroupToGroup(String childGroup,
String parentGroup) |
void |
RFC4519Directory.addGroupToGroup(String childGroup,
String parentGroup) |
void |
RemoteCrowdDirectory.addGroupToGroup(String childGroup,
String parentGroup) |
void |
AbstractForwardingDirectory.addGroupToGroup(String childGroup,
String parentGroup) |
void |
MockSimpleRemoteDirectory.addGroupToGroup(String childGroup,
String parentGroup) |
void |
DirectoryCacheChangeOperations.addGroupToGroup(String childGroup,
String parentGroup) |
void |
RemoteDirectory.addGroupToGroup(String childGroup,
String parentGroup)
Adds a group as a member of a parent group.
|
Group |
InternalDirectory.addLocalGroup(GroupTemplate group) |
abstract Group |
AbstractInternalDirectory.addLocalGroup(GroupTemplate group) |
Group |
CachingDirectory.addLocalGroup(GroupTemplate group) |
Group |
InternalRemoteDirectory.addLocalGroup(GroupTemplate group)
Adds a "local" group to the directory.
|
void |
DbCachingRemoteChangeOperations.addOrUpdateCachedGroup(Group group) |
void |
DirectoryCacheImplUsingChangeOperations.addOrUpdateCachedGroup(Group group) |
void |
DirectoryCacheChangeOperations.addOrUpdateCachedGroup(Group group) |
void |
DirectoryCacheImplUsingChangeOperations.addOrUpdateCachedGroups(Collection<? extends Group> remoteGroups,
Date syncStartDate) |
void |
DbCachingRemoteChangeOperations.addOrUpdateCachedUser(User user) |
void |
DirectoryCacheImplUsingChangeOperations.addOrUpdateCachedUser(User user) |
void |
DirectoryCacheChangeOperations.addOrUpdateCachedUser(User user) |
AddUpdateSets<UserTemplateWithCredentialAndAttributes,UserTemplate> |
DirectoryCacheImplUsingChangeOperations.addOrUpdateCachedUsers(Collection<? extends User> remoteUsers,
Date syncStartDate) |
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) |
LDAPUserWithAttributes |
Rfc2307.addUser(UserTemplate user,
PasswordCredential credential) |
LDAPUserWithAttributes |
SpringLDAPConnector.addUser(UserTemplate user,
PasswordCredential credential)
Adds a user to LDAP.
|
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 |
RemoteDirectory.addUser(UserTemplate user,
PasswordCredential credential)
Deprecated.
|
UserWithAttributes |
AzureAdDirectory.addUser(UserTemplateWithAttributes user,
PasswordCredential credential) |
UserWithAttributes |
AuditingDirectoryDecorator.addUser(UserTemplateWithAttributes user,
PasswordCredential credential) |
UserWithAttributes |
DbCachingRemoteDirectory.addUser(UserTemplateWithAttributes user,
PasswordCredential credential) |
LDAPUserWithAttributes |
Rfc2307.addUser(UserTemplateWithAttributes user,
PasswordCredential credential) |
LDAPUserWithAttributes |
SpringLDAPConnector.addUser(UserTemplateWithAttributes user,
PasswordCredential credential)
Adds a user to LDAP.
|
UserWithAttributes |
RemoteCrowdDirectory.addUser(UserTemplateWithAttributes user,
PasswordCredential credential) |
UserWithAttributes |
InternalDirectory.addUser(UserTemplateWithAttributes user,
PasswordCredential credential)
Adds a user and the following custom attributes:
- RemotePrincipalConstants.PASSWORD_LASTCHANGED set to the current time.
|
UserWithAttributes |
AbstractForwardingDirectory.addUser(UserTemplateWithAttributes user,
PasswordCredential credential) |
abstract UserWithAttributes |
AbstractInternalDirectory.addUser(UserTemplateWithAttributes user,
PasswordCredential credential) |
UserWithAttributes |
CachingDirectory.addUser(UserTemplateWithAttributes user,
PasswordCredential credential)
Adds a user without modifying it, including storing its attributes.
|
UserWithAttributes |
RemoteDirectory.addUser(UserTemplateWithAttributes user,
PasswordCredential credential)
Adds a
user to the directory store. |
void |
DirectoryCacheImplUsingChangeOperations.addUserMembersForGroup(Group parentGroup,
Set<String> remoteUsers) |
void |
DbCachingRemoteChangeOperations.addUserMembershipsForGroup(Group group,
Set<String> usersToAdd) |
void |
DirectoryCacheChangeOperations.addUserMembershipsForGroup(Group group,
Set<String> toAdd) |
void |
DbCachingRemoteChangeOperations.addUsers(Set<UserTemplateWithCredentialAndAttributes> usersToAdd) |
void |
DirectoryCacheChangeOperations.addUsers(Set<UserTemplateWithCredentialAndAttributes> usersToAdd) |
void |
AzureAdDirectory.addUserToGroup(String username,
String groupName) |
void |
AuditingDirectoryDecorator.addUserToGroup(String username,
String groupName) |
void |
DbCachingRemoteChangeOperations.addUserToGroup(String username,
String groupName) |
void |
DbCachingRemoteDirectory.addUserToGroup(String username,
String groupName) |
void |
DirectoryCacheImplUsingChangeOperations.addUserToGroup(String username,
String groupName) |
void |
MicrosoftActiveDirectory.addUserToGroup(String username,
String groupName) |
void |
Rfc2307.addUserToGroup(String username,
String groupName) |
void |
RFC4519Directory.addUserToGroup(String username,
String groupName) |
void |
RemoteCrowdDirectory.addUserToGroup(String username,
String groupName) |
void |
AbstractForwardingDirectory.addUserToGroup(String username,
String groupName) |
void |
MockSimpleRemoteDirectory.addUserToGroup(String username,
String groupName) |
void |
DirectoryCacheChangeOperations.addUserToGroup(String username,
String groupName) |
void |
RemoteDirectory.addUserToGroup(String username,
String groupName)
Adds a user as a member of a group.
|
void |
DbCachingRemoteChangeOperations.applySyncingGroupAttributes(String groupName,
Set<String> deletedAttributes,
Map<String,Set<String>> storedAttributes) |
void |
DirectoryCacheImplUsingChangeOperations.applySyncingGroupAttributes(String groupName,
Set<String> deletedAttributes,
Map<String,Set<String>> storedAttributes) |
void |
DirectoryCacheChangeOperations.applySyncingGroupAttributes(String groupName,
Set<String> deletedAttributes,
Map<String,Set<String>> storedAttributes)
Removes any syncing group attributes listed in deletedAttributes, and store any that are listed in storedAttributes
If any non-syncing attributes are included, they will be ignored
|
void |
DbCachingRemoteChangeOperations.applySyncingUserAttributes(String userName,
Set<String> deletedAttributes,
Map<String,Set<String>> storedAttributes) |
void |
DirectoryCacheImplUsingChangeOperations.applySyncingUserAttributes(String userName,
Set<String> deletedAttributes,
Map<String,Set<String>> storedAttributes) |
void |
DirectoryCacheChangeOperations.applySyncingUserAttributes(String userName,
Set<String> deletedAttributes,
Map<String,Set<String>> storedAttributes)
Removes any syncing user attributes listed in deletedAttributes, and store any that are listed in storedAttributes
If any non-syncing attributes are included, they will be ignored
|
User |
AzureAdDirectory.authenticate(String name,
PasswordCredential credential) |
User |
AuditingDirectoryDecorator.authenticate(String name,
PasswordCredential credential) |
User |
DbCachingRemoteDirectory.authenticate(String name,
PasswordCredential credential) |
User |
SpringLDAPConnector.authenticate(String name,
PasswordCredential credential) |
User |
RemoteCrowdDirectory.authenticate(String username,
PasswordCredential credential) |
User |
AbstractForwardingDirectory.authenticate(String name,
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 |
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.
|
BoundedCount |
AzureAdDirectory.countDirectMembersOfGroup(String groupName,
int querySizeHint) |
BoundedCount |
AuditingDirectoryDecorator.countDirectMembersOfGroup(String groupName,
int querySizeHint) |
BoundedCount |
SpringLDAPConnector.countDirectMembersOfGroup(String groupName,
int querySizeHint) |
BoundedCount |
RemoteCrowdDirectory.countDirectMembersOfGroup(String groupName,
int querySizeHint) |
BoundedCount |
AbstractForwardingDirectory.countDirectMembersOfGroup(String groupName,
int querySizeHint) |
BoundedCount |
MockSimpleRemoteDirectory.countDirectMembersOfGroup(String groupName,
int querySizeHint) |
BoundedCount |
RemoteDirectory.countDirectMembersOfGroup(String groupName,
int querySizeHint)
Count the direct members of a group in the remote directory.
|
void |
DbCachingRemoteChangeOperations.deleteCachedGroup(String groupName) |
void |
DirectoryCacheImplUsingChangeOperations.deleteCachedGroup(String groupName) |
void |
DirectoryCacheChangeOperations.deleteCachedGroup(String groupName) |
void |
DbCachingRemoteChangeOperations.deleteCachedGroups(Set<String> groupnames) |
void |
DirectoryCacheImplUsingChangeOperations.deleteCachedGroups(Set<String> groupnames) |
void |
DirectoryCacheChangeOperations.deleteCachedGroups(Set<String> groupnames) |
void |
DbCachingRemoteChangeOperations.deleteCachedGroupsByGuids(Set<String> guids) |
void |
DirectoryCacheImplUsingChangeOperations.deleteCachedGroupsByGuids(Set<String> guids) |
void |
DirectoryCacheChangeOperations.deleteCachedGroupsByGuids(Set<String> guids) |
void |
DbCachingRemoteChangeOperations.deleteCachedGroupsNotIn(GroupType groupType,
List<? extends Group> remoteGroups,
Date syncStartDate) |
void |
DirectoryCacheImplUsingChangeOperations.deleteCachedGroupsNotIn(GroupType groupType,
List<? extends Group> remoteGroups,
Date syncStartDate) |
void |
DirectoryCacheChangeOperations.deleteCachedGroupsNotIn(GroupType groupType,
List<? extends Group> ldapGroups,
Date syncStartDate) |
void |
DbCachingRemoteChangeOperations.deleteCachedGroupsNotInByExternalId(Collection<? extends Group> remoteGroups,
Date syncStartDate) |
void |
DirectoryCacheImplUsingChangeOperations.deleteCachedGroupsNotInByExternalId(Collection<? extends Group> remoteGroups,
Date syncStartDate) |
void |
DirectoryCacheChangeOperations.deleteCachedGroupsNotInByExternalId(Collection<? extends Group> remoteGroups,
Date syncStartDate) |
void |
DbCachingRemoteChangeOperations.deleteCachedUser(String username) |
void |
DirectoryCacheImplUsingChangeOperations.deleteCachedUser(String username) |
void |
DirectoryCacheChangeOperations.deleteCachedUser(String username) |
void |
DbCachingRemoteChangeOperations.deleteCachedUsersByGuid(Set<String> guids) |
void |
DirectoryCacheImplUsingChangeOperations.deleteCachedUsersByGuid(Set<String> guids) |
void |
DirectoryCacheChangeOperations.deleteCachedUsersByGuid(Set<String> usernames) |
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) |
void |
DirectoryCacheImplUsingChangeOperations.deleteGroupMembersForGroup(Group parentGroup,
Set<String> remoteGroups) |
void |
DirectoryCacheImplUsingChangeOperations.deleteUserMembersForGroup(Group parentGroup,
Set<String> remoteUsers) |
void |
AzureAdDirectory.expireAllPasswords() |
void |
AuditingDirectoryDecorator.expireAllPasswords() |
void |
DbCachingRemoteDirectory.expireAllPasswords() |
void |
SpringLDAPConnector.expireAllPasswords() |
void |
RemoteCrowdDirectory.expireAllPasswords() |
void |
AbstractForwardingDirectory.expireAllPasswords() |
void |
RemoteDirectory.expireAllPasswords()
Sets the
UserConstants.REQUIRES_PASSWORD_CHANGE attribute to true for
all users in the directory using bulk operations |
DeltaQueryResult<GroupWithMembershipChanges> |
AzureAdDirectory.fetchGroupChanges(String syncToken) |
long |
MicrosoftActiveDirectory.fetchHighestCommittedUSN() |
String |
MicrosoftActiveDirectory.fetchInvocationId() |
DeltaQueryResult<UserWithAttributes> |
AzureAdDirectory.fetchUserChanges(String syncToken) |
List<LDAPGroupWithAttributes> |
MicrosoftActiveDirectory.findAddedOrUpdatedGroupsSince(long usnChanged) |
protected <T> List<T> |
MicrosoftActiveDirectory.findAddedOrUpdatedObjectsSince(long usnChange,
Name objectBaseDN,
String objectFilter,
ContextMapperWithRequiredAttributes<T> contextMapper) |
List<LDAPUserWithAttributes> |
MicrosoftActiveDirectory.findAddedOrUpdatedUsersSince(long usnChange) |
protected Iterable<LdapName> |
MicrosoftActiveDirectory.findAdditionalDirectMembers(LdapName groupDn,
Supplier<Optional<LDAPGroupWithAttributes>> groupSupplier) |
protected Iterable<LdapName> |
RFC4519Directory.findAdditionalDirectMembers(LdapName groupDn,
Supplier<Optional<LDAPGroupWithAttributes>> group) |
Set<String> |
MicrosoftActiveDirectory.findAllGroupGuids() |
Set<org.apache.commons.lang3.tuple.Pair<String,String>> |
MicrosoftActiveDirectory.findAllGroupNamesAndGuids() |
Set<String> |
MicrosoftActiveDirectory.findAllUserGuids() |
Iterable<LdapName> |
RFC4519Directory.findDirectMembersOfGroup(LdapName groupDn)
This method is not part of
RemoteDirectory 's contract. |
<T extends LDAPDirectoryEntity> |
LDAPDirectory.findEntityByDN(String dn,
Class<T> entityClass)
Finds a directory entity (principal, group or role)
by their distinguished name.
|
<T extends LDAPDirectoryEntity> |
SpringLDAPConnector.findEntityByDN(String dn,
Class<T> entityClass) |
protected <T extends LDAPDirectoryEntity> |
SpringLDAPConnector.findEntityByDN(String dn,
String baseDN,
String filter,
ContextMapperWithRequiredAttributes contextMapper,
Class<T> entityClass) |
Group |
AzureAdDirectory.findGroupByName(String name) |
Group |
AuditingDirectoryDecorator.findGroupByName(String name) |
LDAPGroupWithAttributes |
SpringLDAPConnector.findGroupByName(String name) |
Group |
RemoteCrowdDirectory.findGroupByName(String name) |
Group |
AbstractForwardingDirectory.findGroupByName(String name) |
Group |
RemoteDirectory.findGroupByName(String name)
Finds the
group that matches the supplied name . |
protected LDAPGroupWithAttributes |
SpringLDAPConnector.findGroupByNameAndType(String name,
GroupType groupType) |
DirectoryCacheChangeOperations.AddRemoveSets<String> |
DbCachingRemoteChangeOperations.findGroupMembershipForGroupChanges(Group parentGroup,
Collection<String> remoteGroups) |
DirectoryCacheChangeOperations.AddRemoveSets<String> |
DirectoryCacheChangeOperations.findGroupMembershipForGroupChanges(Group parentGroup,
Collection<String> remoteGroups) |
protected Iterable<String> |
MicrosoftActiveDirectory.findGroupMembershipNames(MembershipQuery<String> query) |
protected Iterable<String> |
RFC4519Directory.findGroupMembershipNames(MembershipQuery<String> query) |
protected List<? extends LDAPGroupWithAttributes> |
MicrosoftActiveDirectory.findGroupMemberships(MembershipQuery<? extends LDAPGroupWithAttributes> query) |
protected List<? extends LDAPGroupWithAttributes> |
RFC4519Directory.findGroupMemberships(MembershipQuery<? extends LDAPGroupWithAttributes> query) |
protected <T> List<T> |
RFC4519Directory.findGroupMembershipsOfUserViaMemberOf(String username,
int startIndex,
int maxResults,
com.atlassian.crowd.directory.RFC4519Directory.LookupByDn<T> mapper) |
Map<String,String> |
DbCachingRemoteChangeOperations.findGroupsByExternalIds(Set<String> externalIds) |
Map<String,String> |
DirectoryCacheImplUsingChangeOperations.findGroupsByExternalIds(Set<String> externalIds) |
Map<String,String> |
DirectoryCacheChangeOperations.findGroupsByExternalIds(Set<String> externalIds)
Searches the specified directory for group names of groups with the specified external ids
|
Map<String,String> |
DbCachingRemoteChangeOperations.findGroupsExternalIdsByNames(Set<String> groupNames) |
Map<String,String> |
DirectoryCacheImplUsingChangeOperations.findGroupsExternalIdsByNames(Set<String> groupNames) |
Map<String,String> |
DirectoryCacheChangeOperations.findGroupsExternalIdsByNames(Set<String> groupNames)
Searches the specified directory for externalIds of groups with the specified names
|
DirectoryCacheChangeOperations.GroupsToAddUpdateReplace |
DbCachingRemoteChangeOperations.findGroupsToUpdate(Collection<? extends Group> remoteGroups,
Date syncStartDate) |
DirectoryCacheChangeOperations.GroupsToAddUpdateReplace |
DirectoryCacheChangeOperations.findGroupsToUpdate(Collection<? extends Group> remoteGroups,
Date syncStartDate) |
GroupWithAttributes |
AzureAdDirectory.findGroupWithAttributesByName(String name) |
GroupWithAttributes |
AuditingDirectoryDecorator.findGroupWithAttributesByName(String name) |
GroupWithAttributes |
DbCachingRemoteChangeOperations.findGroupWithAttributesByName(String name) |
GroupWithAttributes |
DirectoryCacheImplUsingChangeOperations.findGroupWithAttributesByName(String name) |
LDAPGroupWithAttributes |
SpringLDAPConnector.findGroupWithAttributesByName(String name) |
GroupWithAttributes |
RemoteCrowdDirectory.findGroupWithAttributesByName(String name) |
GroupWithAttributes |
AbstractForwardingDirectory.findGroupWithAttributesByName(String name) |
GroupWithAttributes |
MockSimpleRemoteDirectory.findGroupWithAttributesByName(String name) |
GroupWithAttributes |
DirectoryCacheChangeOperations.findGroupWithAttributesByName(String name) |
GroupWithAttributes |
RemoteDirectory.findGroupWithAttributesByName(String name)
Finds the
group that matches the supplied name . |
protected List<Tombstone> |
MicrosoftActiveDirectory.findTombstonesSince(long usnChange,
Name objectBaseDN,
String objectClass) |
User |
AzureAdDirectory.findUserByExternalId(String externalId) |
User |
AuditingDirectoryDecorator.findUserByExternalId(String externalId) |
LDAPUserWithAttributes |
SpringLDAPConnector.findUserByExternalId(String externalId) |
User |
RemoteCrowdDirectory.findUserByExternalId(String externalId) |
User |
AbstractForwardingDirectory.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) |
LDAPUserWithAttributes |
SpringLDAPConnector.findUserByName(String name) |
User |
RemoteCrowdDirectory.findUserByName(String name) |
User |
AbstractForwardingDirectory.findUserByName(String name) |
User |
RemoteDirectory.findUserByName(String name)
Finds the
user that matches the supplied name . |
DirectoryCacheChangeOperations.AddRemoveSets<String> |
DbCachingRemoteChangeOperations.findUserMembershipForGroupChanges(Group group,
Collection<String> remoteUsers) |
DirectoryCacheChangeOperations.AddRemoveSets<String> |
DirectoryCacheChangeOperations.findUserMembershipForGroupChanges(Group group,
Collection<String> remoteUsers) |
protected List<LDAPUserWithAttributes> |
MicrosoftActiveDirectory.findUserMembersOfGroupViaMemberDN(String groupName,
GroupType groupType,
int startIndex,
int maxResults) |
protected List<LDAPUserWithAttributes> |
RFC4519Directory.findUserMembersOfGroupViaMemberDN(String groupName,
GroupType groupType,
int startIndex,
int maxResults) |
protected Iterable<LDAPUserWithAttributes> |
MicrosoftActiveDirectory.findUserMembersOfGroupViaMemberOf(String groupName,
GroupType groupType,
int startIndex,
int maxResults) |
protected Iterable<LDAPUserWithAttributes> |
RFC4519Directory.findUserMembersOfGroupViaMemberOf(String groupName,
GroupType groupType,
int startIndex,
int maxResults) |
List<Tombstone> |
MicrosoftActiveDirectory.findUserTombstonesSince(long usnChange) |
UserWithAttributes |
AzureAdDirectory.findUserWithAttributesByName(String name) |
UserWithAttributes |
AuditingDirectoryDecorator.findUserWithAttributesByName(String name) |
UserWithAttributes |
DbCachingRemoteChangeOperations.findUserWithAttributesByName(String name) |
UserWithAttributes |
DirectoryCacheImplUsingChangeOperations.findUserWithAttributesByName(String name) |
LDAPUserWithAttributes |
SpringLDAPConnector.findUserWithAttributesByName(String name) |
UserWithAttributes |
RemoteCrowdDirectory.findUserWithAttributesByName(String name) |
UserWithAttributes |
AbstractForwardingDirectory.findUserWithAttributesByName(String name) |
UserWithAttributes |
MockSimpleRemoteDirectory.findUserWithAttributesByName(String name) |
UserWithAttributes |
DirectoryCacheChangeOperations.findUserWithAttributesByName(String name) |
UserWithAttributes |
RemoteDirectory.findUserWithAttributesByName(String name)
Finds the
user that matches the supplied name . |
Set<String> |
DbCachingRemoteChangeOperations.getAllGroupGuids() |
Set<String> |
DirectoryCacheImplUsingChangeOperations.getAllGroupGuids() |
Set<String> |
DirectoryCacheChangeOperations.getAllGroupGuids() |
Set<String> |
DbCachingRemoteChangeOperations.getAllLocalGroupNames() |
Set<String> |
DirectoryCacheImplUsingChangeOperations.getAllLocalGroupNames() |
Set<String> |
DirectoryCacheChangeOperations.getAllLocalGroupNames() |
Set<String> |
AbstractInternalDirectory.getAllUserExternalIds() |
Set<String> |
InternalRemoteDirectory.getAllUserExternalIds()
Retrieves all users externalIds found in this directory.
|
Set<String> |
DbCachingRemoteChangeOperations.getAllUserGuids() |
Set<String> |
DirectoryCacheImplUsingChangeOperations.getAllUserGuids() |
Set<String> |
DirectoryCacheChangeOperations.getAllUserGuids() |
CrowdClient |
RemoteCrowdDirectory.getCrowdClient()
Access the Crowd client used for communication with the remote Crowd directory, intended for internal reuse only.
|
String |
RemoteCrowdDirectory.getCurrentEventToken()
Returns a token that can be used for querying events that have happened
after the token was generated.
|
org.apache.commons.lang3.tuple.Pair<List<UserWithAttributes>,List<GroupWithAttributes>> |
AzureMembershipHelper.getDirectChildren(String groupId)
Returns direct children of a group.
|
long |
DbCachingRemoteChangeOperations.getExternalCachedGroupCount() |
long |
DirectoryCacheImplUsingChangeOperations.getExternalCachedGroupCount() |
long |
DirectoryCacheChangeOperations.getExternalCachedGroupCount() |
List<GroupWithAttributes> |
AzureAdDirectory.getFilteredGroups() |
long |
DbCachingRemoteChangeOperations.getGroupCount() |
long |
DbCachingRemoteDirectory.getGroupCount() |
long |
DirectoryCacheImplUsingChangeOperations.getGroupCount() |
long |
AbstractInternalDirectory.getGroupCount() |
long |
DirectoryCacheChangeOperations.getGroupCount() |
long |
FastEntityCountProvider.getGroupCount() |
Iterable<Membership> |
AzureAdDirectory.getMemberships() |
Iterable<Membership> |
AuditingDirectoryDecorator.getMemberships() |
Iterable<Membership> |
RFC2307Directory.getMemberships() |
Iterable<Membership> |
RFC4519Directory.getMemberships() |
Iterable<Membership> |
RemoteCrowdDirectory.getMemberships() |
Iterable<Membership> |
AbstractForwardingDirectory.getMemberships() |
Iterable<Membership> |
AbstractInternalDirectory.getMemberships() |
Iterable<Membership> |
MockSimpleRemoteDirectory.getMemberships() |
Iterable<Membership> |
RemoteDirectory.getMemberships()
Get an iterable view of the available group memberships.
|
Events |
RemoteCrowdDirectory.getNewEvents(String eventToken)
Returns an events object which contains a new eventToken and events that
happened after the given
eventToken was generated. |
AvatarReference |
AuditingDirectoryDecorator.getUserAvatarByName(String username,
int sizeHint) |
AvatarReference.BlobAvatar |
SpringLDAPConnector.getUserAvatarByName(String username,
int sizeHint) |
AvatarReference |
AbstractForwardingDirectory.getUserAvatarByName(String username,
int sizeHint) |
AvatarReference |
AbstractInternalDirectory.getUserAvatarByName(String username,
int sizeHint) |
AvatarReference |
MockSimpleRemoteDirectory.getUserAvatarByName(String username,
int sizeHint) |
default AvatarReference |
RemoteDirectory.getUserAvatarByName(String username,
int sizeHint)
Return an avatar, if available, for the named user.
|
long |
DbCachingRemoteChangeOperations.getUserCount() |
long |
DbCachingRemoteDirectory.getUserCount() |
long |
DirectoryCacheImplUsingChangeOperations.getUserCount() |
long |
AbstractInternalDirectory.getUserCount() |
long |
DirectoryCacheChangeOperations.getUserCount() |
long |
FastEntityCountProvider.getUserCount() |
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) |
boolean |
AzureAdDirectory.isGroupDirectGroupMember(String childGroup,
String parentGroup) |
boolean |
AuditingDirectoryDecorator.isGroupDirectGroupMember(String childGroup,
String parentGroup) |
boolean |
RFC4519Directory.isGroupDirectGroupMember(String childGroup,
String parentGroup) |
boolean |
RemoteCrowdDirectory.isGroupDirectGroupMember(String childGroup,
String parentGroup) |
boolean |
AbstractForwardingDirectory.isGroupDirectGroupMember(String childGroup,
String parentGroup) |
boolean |
MockSimpleRemoteDirectory.isGroupDirectGroupMember(String childGroup,
String parentGroup) |
boolean |
RemoteDirectory.isGroupDirectGroupMember(String childGroup,
String parentGroup)
Determines if a group is a direct member of another group.
|
DirectoryCacheChangeOperations.GroupShadowingType |
DbCachingRemoteChangeOperations.isGroupShadowed(Group remoteGroup)
Returns true if the given remote Group should not have its memberships synchronised for any reason.
|
DirectoryCacheChangeOperations.GroupShadowingType |
DirectoryCacheChangeOperations.isGroupShadowed(Group group) |
boolean |
AzureAdDirectory.isUserDirectGroupMember(String username,
String groupName) |
boolean |
AuditingDirectoryDecorator.isUserDirectGroupMember(String username,
String groupName) |
boolean |
MicrosoftActiveDirectory.isUserDirectGroupMember(String username,
String groupName) |
boolean |
RFC2307Directory.isUserDirectGroupMember(String username,
String groupName) |
boolean |
RFC4519Directory.isUserDirectGroupMember(String username,
String groupName) |
boolean |
RemoteCrowdDirectory.isUserDirectGroupMember(String username,
String groupName) |
boolean |
AbstractForwardingDirectory.isUserDirectGroupMember(String username,
String groupName) |
boolean |
MockSimpleRemoteDirectory.isUserDirectGroupMember(String username,
String groupName) |
boolean |
RemoteDirectory.isUserDirectGroupMember(String username,
String groupName)
Determines if a user is a direct member of a group.
|
Iterator<Membership> |
AzureMembershipHelper.membershipIterator() |
protected org.springframework.ldap.core.CollectingNameClassPairCallbackHandler |
SpringLDAPConnector.pageSearchResults(Name baseDN,
String filter,
org.springframework.ldap.core.ContextMapper contextMapper,
SearchControls searchControls,
org.springframework.ldap.core.DirContextProcessor ldapRequestControls,
int maxResults)
Performs a paged results search on an LDAP directory server searching using the LDAP paged results control
option to fetch results in chunks rather than all at once.
|
DeltaQueryResult<GroupWithMembershipChanges> |
AzureAdDirectory.performGroupsDeltaQuery() |
DeltaQueryResult<UserWithAttributes> |
AzureAdDirectory.performUsersDeltaQuery() |
protected List<LDAPGroupWithAttributes> |
MicrosoftActiveDirectory.postprocessGroups(List<LDAPGroupWithAttributes> groups) |
protected List<LDAPGroupWithAttributes> |
SpringLDAPConnector.postprocessGroups(List<LDAPGroupWithAttributes> groups)
Perform any post-processing on groups.
|
protected void |
RFC4519Directory.removeDnFromGroup(String dn,
LDAPGroupWithAttributes group) |
void |
AzureAdDirectory.removeGroup(String name) |
void |
AuditingDirectoryDecorator.removeGroup(String name) |
void |
DbCachingRemoteDirectory.removeGroup(String name) |
void |
MicrosoftActiveDirectory.removeGroup(String name) |
void |
Rfc2307.removeGroup(String name) |
void |
SpringLDAPConnector.removeGroup(String name) |
void |
RemoteCrowdDirectory.removeGroup(String groupname) |
void |
AbstractForwardingDirectory.removeGroup(String name) |
void |
MockSimpleRemoteDirectory.removeGroup(String name) |
void |
RemoteDirectory.removeGroup(String name)
Removes the
group that matches the supplied name . |
void |
AzureAdDirectory.removeGroupAttributes(String groupName,
String attributeName) |
void |
AuditingDirectoryDecorator.removeGroupAttributes(String groupName,
String attributeName) |
void |
DbCachingRemoteDirectory.removeGroupAttributes(String groupName,
String attributeName) |
void |
SpringLDAPConnector.removeGroupAttributes(String groupName,
String attributeName) |
void |
RemoteCrowdDirectory.removeGroupAttributes(String groupName,
String attributeName) |
void |
AbstractForwardingDirectory.removeGroupAttributes(String groupName,
String attributeName) |
void |
MockSimpleRemoteDirectory.removeGroupAttributes(String groupName,
String attributeName) |
void |
RemoteDirectory.removeGroupAttributes(String groupName,
String attributeName)
Removes all the values for a single attribute key for a group.
|
void |
AzureAdDirectory.removeGroupFromGroup(String childGroup,
String parentGroup) |
void |
AuditingDirectoryDecorator.removeGroupFromGroup(String childGroup,
String parentGroup) |
void |
DbCachingRemoteChangeOperations.removeGroupFromGroup(String childGroup,
String parentGroup) |
void |
DbCachingRemoteDirectory.removeGroupFromGroup(String childGroup,
String parentGroup) |
void |
DirectoryCacheImplUsingChangeOperations.removeGroupFromGroup(String childGroup,
String parentGroup) |
void |
Rfc2307.removeGroupFromGroup(String childGroup,
String parentGroup) |
void |
RFC4519Directory.removeGroupFromGroup(String childGroup,
String parentGroup) |
void |
RemoteCrowdDirectory.removeGroupFromGroup(String childGroup,
String parentGroup) |
void |
AbstractForwardingDirectory.removeGroupFromGroup(String childGroup,
String parentGroup) |
void |
MockSimpleRemoteDirectory.removeGroupFromGroup(String childGroup,
String parentGroup) |
void |
DirectoryCacheChangeOperations.removeGroupFromGroup(String childGroup,
String parentGroup) |
void |
RemoteDirectory.removeGroupFromGroup(String childGroup,
String parentGroup)
Removes a group as a member of a parent group.
|
void |
DbCachingRemoteChangeOperations.removeGroupMembershipsForGroup(Group parentGroup,
Collection<String> groupsToRemove) |
void |
DirectoryCacheChangeOperations.removeGroupMembershipsForGroup(Group parentGroup,
Collection<String> toRemove) |
void |
DbCachingRemoteChangeOperations.removeGroups(Collection<String> groupsToRemove) |
void |
DirectoryCacheChangeOperations.removeGroups(Collection<String> keySet) |
void |
AzureAdDirectory.removeUser(String name) |
void |
AuditingDirectoryDecorator.removeUser(String name) |
void |
DbCachingRemoteDirectory.removeUser(String name) |
void |
Rfc2307.removeUser(String name) |
void |
SpringLDAPConnector.removeUser(String name) |
void |
RemoteCrowdDirectory.removeUser(String username) |
void |
AbstractForwardingDirectory.removeUser(String name) |
void |
RemoteDirectory.removeUser(String name)
Removes the
user that matches the supplied name . |
void |
AzureAdDirectory.removeUserAttributes(String username,
String attributeName) |
void |
AuditingDirectoryDecorator.removeUserAttributes(String username,
String attributeName) |
void |
DbCachingRemoteDirectory.removeUserAttributes(String username,
String attributeName) |
void |
SpringLDAPConnector.removeUserAttributes(String username,
String attributeName) |
void |
RemoteCrowdDirectory.removeUserAttributes(String username,
String attributeName) |
void |
AbstractForwardingDirectory.removeUserAttributes(String username,
String attributeName) |
void |
MockSimpleRemoteDirectory.removeUserAttributes(String username,
String attributeName) |
void |
RemoteDirectory.removeUserAttributes(String username,
String attributeName)
Removes all the values for a single attribute key for a user.
|
void |
AzureAdDirectory.removeUserFromGroup(String username,
String groupName) |
void |
AuditingDirectoryDecorator.removeUserFromGroup(String username,
String groupName) |
void |
DbCachingRemoteChangeOperations.removeUserFromGroup(String username,
String groupName) |
void |
DbCachingRemoteDirectory.removeUserFromGroup(String username,
String groupName) |
void |
DirectoryCacheImplUsingChangeOperations.removeUserFromGroup(String username,
String groupName) |
void |
MicrosoftActiveDirectory.removeUserFromGroup(String username,
String groupName) |
void |
Rfc2307.removeUserFromGroup(String username,
String groupName) |
void |
RFC4519Directory.removeUserFromGroup(String username,
String groupName) |
void |
RemoteCrowdDirectory.removeUserFromGroup(String username,
String groupName) |
void |
AbstractForwardingDirectory.removeUserFromGroup(String username,
String groupName) |
void |
MockSimpleRemoteDirectory.removeUserFromGroup(String username,
String groupName) |
void |
DirectoryCacheChangeOperations.removeUserFromGroup(String username,
String groupName) |
void |
RemoteDirectory.removeUserFromGroup(String username,
String groupName)
Removes a user as a member of a group.
|
void |
DbCachingRemoteChangeOperations.removeUserMembershipsForGroup(Group group,
Set<String> usersToRemove) |
void |
DirectoryCacheChangeOperations.removeUserMembershipsForGroup(Group group,
Set<String> toRemove) |
Group |
AzureAdDirectory.renameGroup(String oldName,
String newName) |
Group |
AuditingDirectoryDecorator.renameGroup(String oldName,
String newName) |
Group |
Rfc2307.renameGroup(String oldName,
String newName) |
Group |
SpringLDAPConnector.renameGroup(String oldName,
String newName) |
Group |
RemoteCrowdDirectory.renameGroup(String oldName,
String newName) |
Group |
AbstractForwardingDirectory.renameGroup(String oldName,
String newName) |
Group |
RemoteDirectory.renameGroup(String oldName,
String newName)
Renames a
group . |
User |
AzureAdDirectory.renameUser(String oldName,
String newName) |
User |
AuditingDirectoryDecorator.renameUser(String oldName,
String newName) |
User |
DbCachingRemoteDirectory.renameUser(String oldName,
String newName) |
User |
Rfc2307.renameUser(String oldName,
String newName) |
User |
SpringLDAPConnector.renameUser(String oldName,
String newName) |
User |
RemoteCrowdDirectory.renameUser(String oldName,
String newName) |
User |
AbstractForwardingDirectory.renameUser(String oldName,
String newName) |
User |
MockSimpleRemoteDirectory.renameUser(String oldName,
String newName) |
User |
RemoteDirectory.renameUser(String oldName,
String newName)
Renames a
user . |
protected <T> List<T> |
SpringLDAPConnector.searchEntities(Name baseDN,
String filter,
ContextMapperWithRequiredAttributes<T> contextMapper,
int startIndex,
int maxResults)
Executes a search with paging if paged results is supported.
|
protected <T> List<T> |
SpringLDAPConnector.searchEntitiesWithRequestControls(Name baseDN,
String filter,
ContextMapperWithRequiredAttributes<T> contextMapper,
SearchControls searchControls,
org.springframework.ldap.core.DirContextProcessor ldapRequestControls,
int startIndex,
int maxResults) |
<T> List<T> |
SpringLDAPConnector.searchGroupObjects(EntityQuery<?> query,
ContextMapperWithRequiredAttributes<T> mapper) |
protected <T> List<T> |
SpringLDAPConnector.searchGroupObjectsOfSpecifiedGroupType(EntityQuery<?> query,
ContextMapperWithRequiredAttributes<T> mapper)
This method expects that the query contains a non-null groupType in the entityDescriptor.
|
<T> List<T> |
AzureAdDirectory.searchGroupRelationships(MembershipQuery<T> query) |
<T> List<T> |
AuditingDirectoryDecorator.searchGroupRelationships(MembershipQuery<T> query) |
<T> List<T> |
SpringLDAPConnector.searchGroupRelationships(MembershipQuery<T> query) |
<T> List<T> |
RemoteCrowdDirectory.searchGroupRelationships(MembershipQuery<T> query) |
<T> List<T> |
AbstractForwardingDirectory.searchGroupRelationships(MembershipQuery<T> query) |
<T> List<T> |
MockSimpleRemoteDirectory.searchGroupRelationships(MembershipQuery<T> query) |
<T> List<T> |
MultiValuesQueriesSupport.searchGroupRelationships(MembershipQuery<T> query)
Searches for membership information.
|
<T> List<T> |
RemoteDirectory.searchGroupRelationships(MembershipQuery<T> query)
Searches for membership information.
|
protected <T> Iterable<T> |
RFC2307Directory.searchGroupRelationshipsWithGroupTypeSpecified(MembershipQuery<T> query) |
protected <T> Iterable<T> |
RFC4519Directory.searchGroupRelationshipsWithGroupTypeSpecified(MembershipQuery<T> query) |
protected abstract <T> Iterable<T> |
SpringLDAPConnector.searchGroupRelationshipsWithGroupTypeSpecified(MembershipQuery<T> query)
Execute the search for group relationships given that a group of type GROUP or LEGACY_ROLE has
been specified in the EntityDescriptor for the group(s).
|
<T> List<T> |
AzureAdDirectory.searchGroups(EntityQuery<T> query) |
<T> List<T> |
AuditingDirectoryDecorator.searchGroups(EntityQuery<T> query) |
<T> List<T> |
SpringLDAPConnector.searchGroups(EntityQuery<T> query) |
<T> List<T> |
RemoteCrowdDirectory.searchGroups(EntityQuery<T> query) |
<T> List<T> |
AbstractForwardingDirectory.searchGroups(EntityQuery<T> query) |
<T> List<T> |
MockSimpleRemoteDirectory.searchGroups(EntityQuery<T> query) |
<T> List<T> |
RemoteDirectory.searchGroups(EntityQuery<T> query)
Searches for
groups that match the supplied query criteria. |
protected Collection<LDAPGroupWithAttributes> |
RFC4519Directory.searchGroupsByAttribute(Set<String> propertyValues,
Function<List<String>,org.springframework.ldap.filter.Filter> filterFunction) |
Collection<LDAPGroupWithAttributes> |
RFC4519Directory.searchGroupsByDns(Set<String> groupsDn) |
Collection<LDAPGroupWithAttributes> |
MicrosoftActiveDirectory.searchGroupsBySids(Set<String> groupSids) |
<T> List<T> |
SpringLDAPConnector.searchUserObjects(EntityQuery<?> query,
ContextMapperWithRequiredAttributes<T> mapper) |
<T> List<T> |
AzureAdDirectory.searchUsers(EntityQuery<T> query) |
<T> List<T> |
AuditingDirectoryDecorator.searchUsers(EntityQuery<T> query) |
<T> List<T> |
SpringLDAPConnector.searchUsers(EntityQuery<T> query) |
<T> List<T> |
RemoteCrowdDirectory.searchUsers(EntityQuery<T> query) |
<T> List<T> |
AbstractForwardingDirectory.searchUsers(EntityQuery<T> query) |
<T> List<T> |
MockSimpleRemoteDirectory.searchUsers(EntityQuery<T> query) |
<T> List<T> |
RemoteDirectory.searchUsers(EntityQuery<T> query)
Searches for
users that match the supplied query criteria. |
void |
AzureAdDirectory.storeGroupAttributes(String groupName,
Map<String,Set<String>> attributes) |
void |
AuditingDirectoryDecorator.storeGroupAttributes(String groupName,
Map<String,Set<String>> attributes) |
void |
DbCachingRemoteDirectory.storeGroupAttributes(String groupName,
Map<String,Set<String>> attributes) |
void |
SpringLDAPConnector.storeGroupAttributes(String groupName,
Map<String,Set<String>> attributes) |
void |
RemoteCrowdDirectory.storeGroupAttributes(String groupName,
Map<String,Set<String>> attributes) |
void |
AbstractForwardingDirectory.storeGroupAttributes(String groupName,
Map<String,Set<String>> attributes) |
void |
MockSimpleRemoteDirectory.storeGroupAttributes(String groupName,
Map<String,Set<String>> attributes) |
void |
RemoteDirectory.storeGroupAttributes(String groupName,
Map<String,Set<String>> attributes)
Adds or updates a group's attributes with the new Map of attribute values in the directory specified by the passed in
directoryId . |
void |
AzureAdDirectory.storeUserAttributes(String username,
Map<String,Set<String>> attributes) |
void |
AuditingDirectoryDecorator.storeUserAttributes(String username,
Map<String,Set<String>> attributes) |
void |
DbCachingRemoteDirectory.storeUserAttributes(String username,
Map<String,Set<String>> attributes) |
void |
SpringLDAPConnector.storeUserAttributes(String username,
Map<String,Set<String>> attributes) |
void |
RemoteCrowdDirectory.storeUserAttributes(String username,
Map<String,Set<String>> attributes) |
void |
AbstractForwardingDirectory.storeUserAttributes(String username,
Map<String,Set<String>> attributes) |
void |
AbstractInternalDirectory.storeUserAttributes(String username,
Map<String,Set<String>> attributes) |
void |
MockSimpleRemoteDirectory.storeUserAttributes(String username,
Map<String,Set<String>> attributes) |
void |
RemoteDirectory.storeUserAttributes(String username,
Map<String,Set<String>> attributes)
Adds or updates a user's attributes with the new Map of attribute values in the directory specified by the passed in
directoryId . |
void |
DirectoryCacheImplUsingChangeOperations.syncGroupMembersForGroup(Group parentGroup,
Collection<String> remoteGroups) |
void |
DbCachingRemoteChangeOperations.syncGroupMembershipsAndMembersForGroup(String groupName,
Set<String> parentGroupNames,
Set<String> childGroupNames) |
void |
DirectoryCacheImplUsingChangeOperations.syncGroupMembershipsAndMembersForGroup(String groupName,
Set<String> parentGroupNames,
Set<String> childGroupNames) |
void |
DirectoryCacheChangeOperations.syncGroupMembershipsAndMembersForGroup(String groupName,
Set<String> parentGroupNames,
Set<String> childGroupNames) |
void |
DbCachingRemoteChangeOperations.syncGroupMembershipsForUser(String childUsername,
Set<String> parentGroupNames) |
void |
DirectoryCacheImplUsingChangeOperations.syncGroupMembershipsForUser(String childUsername,
Set<String> parentGroupNames) |
void |
DirectoryCacheChangeOperations.syncGroupMembershipsForUser(String childUsername,
Set<String> parentGroupNames) |
void |
DbCachingRemoteDirectory.synchroniseCache(SynchronisationMode mode,
SynchronisationStatusManager synchronisationStatusManager) |
void |
SynchronisableDirectory.synchroniseCache(SynchronisationMode mode,
SynchronisationStatusManager synchronisationStatusManager)
Requests that this directory should update its cache by synchronising with the remote data.
|
void |
DirectoryCacheImplUsingChangeOperations.syncUserMembersForGroup(Group parentGroup,
Collection<String> remoteUsers) |
void |
AzureAdDirectory.testConnection() |
void |
AuditingDirectoryDecorator.testConnection() |
void |
DbCachingRemoteDirectory.testConnection() |
void |
SpringLDAPConnector.testConnection() |
void |
RemoteCrowdDirectory.testConnection() |
void |
AbstractForwardingDirectory.testConnection() |
void |
DelegatedAuthenticationDirectory.testConnection() |
void |
AbstractInternalDirectory.testConnection()
Does nothing, connection is determined by the ability to communicate with the database.
|
void |
MockSimpleRemoteDirectory.testConnection() |
void |
RemoteDirectory.testConnection()
Test if a connection to the directory server can be established.
|
Group |
AzureAdDirectory.updateGroup(GroupTemplate group) |
Group |
AuditingDirectoryDecorator.updateGroup(GroupTemplate group) |
Group |
DbCachingRemoteDirectory.updateGroup(GroupTemplate group) |
Group |
Rfc2307.updateGroup(GroupTemplate group) |
Group |
SpringLDAPConnector.updateGroup(GroupTemplate group) |
Group |
RemoteCrowdDirectory.updateGroup(GroupTemplate group) |
Group |
AbstractForwardingDirectory.updateGroup(GroupTemplate group) |
Group |
MockSimpleRemoteDirectory.updateGroup(GroupTemplate group) |
Group |
RemoteDirectory.updateGroup(GroupTemplate group)
Updates the
group . |
void |
DbCachingRemoteChangeOperations.updateGroups(Collection<GroupTemplate> groupsToUpdate) |
void |
DirectoryCacheChangeOperations.updateGroups(Collection<GroupTemplate> groupsToUpdate) |
protected void |
DbCachingRemoteDirectory.updateGroupsMembershipOnLogin(User user) |
User |
AzureAdDirectory.updateUser(UserTemplate user) |
User |
AuditingDirectoryDecorator.updateUser(UserTemplate user) |
User |
DbCachingRemoteDirectory.updateUser(UserTemplate user) |
User |
Rfc2307.updateUser(UserTemplate user) |
User |
SpringLDAPConnector.updateUser(UserTemplate user) |
User |
RemoteCrowdDirectory.updateUser(UserTemplate user) |
User |
AbstractForwardingDirectory.updateUser(UserTemplate user) |
User |
MockSimpleRemoteDirectory.updateUser(UserTemplate user) |
User |
RemoteDirectory.updateUser(UserTemplate user)
Updates the
user . |
protected User |
DbCachingRemoteDirectory.updateUserAndSetActiveFlag(User remoteUser,
User internalUser) |
void |
AzureAdDirectory.updateUserCredential(String username,
PasswordCredential credential) |
void |
AuditingDirectoryDecorator.updateUserCredential(String username,
PasswordCredential credential) |
void |
DbCachingRemoteDirectory.updateUserCredential(String username,
PasswordCredential credential) |
void |
SpringLDAPConnector.updateUserCredential(String name,
PasswordCredential credential) |
void |
RemoteCrowdDirectory.updateUserCredential(String username,
PasswordCredential credential) |
void |
AbstractForwardingDirectory.updateUserCredential(String username,
PasswordCredential credential) |
void |
DelegatedAuthenticationDirectory.updateUserCredential(String username,
PasswordCredential credential) |
void |
MockSimpleRemoteDirectory.updateUserCredential(String username,
PasswordCredential credential) |
void |
RemoteDirectory.updateUserCredential(String username,
PasswordCredential credential)
|
User |
AuditingDirectoryDecorator.updateUserFromRemoteDirectory(User remoteUser) |
User |
DbCachingRemoteDirectory.updateUserFromRemoteDirectory(User remoteUser) |
User |
AbstractForwardingDirectory.updateUserFromRemoteDirectory(User remoteUser) |
User |
DelegatedAuthenticationDirectory.updateUserFromRemoteDirectory(User ldapUser) |
default User |
RemoteDirectory.updateUserFromRemoteDirectory(User remoteUser) |
void |
DbCachingRemoteChangeOperations.updateUsers(Collection<UserTemplate> usersToUpdate) |
void |
DirectoryCacheChangeOperations.updateUsers(Collection<UserTemplate> usersToUpdate) |
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) |
Constructor and Description |
---|
DirectoryMembershipsIterable(RemoteDirectory remoteDirectory) |
Modifier and Type | Method and Description |
---|---|
void |
UserCredentialVerifier.checkUserCredential(String username,
PasswordCredential userCredential)
Checks whether the user with the provided username can authenticate against Azure AD with provided credential.
|
com.microsoft.aad.adal4j.AuthenticationContext |
AdalAuthenticationContextFactory.create(String authority,
ExecutorService executorService) |
com.microsoft.aad.adal4j.AuthenticationResult |
AdalAuthenticator.getAdalAuthenticationToken()
Authenticates to Microsoft Graph
|
Modifier and Type | Method and Description |
---|---|
void |
SameThreadUserCredentialVerifier.checkUserCredential(String username,
PasswordCredential userCredential) |
com.microsoft.aad.adal4j.AuthenticationContext |
DefaultAdalAuthenticationContextFactory.create(String authority,
ExecutorService executorService) |
com.microsoft.aad.adal4j.AuthenticationResult |
SameThreadAdalAuthenticator.getAdalAuthenticationToken() |
Modifier and Type | Method and Description |
---|---|
protected void |
DeltaQueryCacheRefresher.checkNoReaddedGroups(DirectoryCache directoryCache,
DeltaQueryResult<GroupWithMembershipChanges> mappedGroups) |
protected void |
DeltaQueryCacheRefresher.checkNoRenamedGroups(DirectoryCache directoryCache,
DeltaQueryResult<GroupWithMembershipChanges> mappedGroups) |
protected List<GroupWithAttributes> |
UserFilterableNonDeltaQueryCacheRefresher.findAllRemoteGroups(boolean withAttributes) |
protected List<UserWithAttributes> |
UserFilterableNonDeltaQueryCacheRefresher.findAllRemoteUsers(boolean withAttributes) |
DeltaQueryResult<GroupWithMembershipChanges> |
BackgroundQueriesProcessor.getGroups() |
Map<String,String> |
DeltaQueryCacheRefresher.IdToNameProvider.getIdToNames(Set<String> ids) |
protected Iterable<Membership> |
UserFilterableNonDeltaQueryCacheRefresher.getMemberships(Collection groups,
boolean isFullSync) |
protected Set<String> |
DeltaQueryCacheRefresher.getNames(Map<String,String> idToNameCache,
Set<String> idsToResolve,
DeltaQueryCacheRefresher.IdToNameProvider findById,
boolean failOnNotResolved,
String entityType) |
Set<String> |
DeltaQueryCacheRefresher.IdToNameResolver.getNames(Set<String> ids,
boolean failOnNotResolved) |
protected DeltaQueryResult<UserWithAttributes> |
DeltaQueryCacheRefresher.getUserChangesFromDeltaQuery(String userSyncToken) |
DeltaQueryResult<UserWithAttributes> |
BackgroundQueriesProcessor.getUsers() |
protected DeltaQueryResult<UserWithAttributes> |
DeltaQueryCacheRefresher.getUsersFromDeltaQuery() |
CacheSynchronisationResult |
DeltaQueryCacheRefresher.synchroniseAll(DirectoryCache directoryCache) |
CacheSynchronisationResult |
DeltaQueryCacheRefresher.synchroniseChanges(DirectoryCache directoryCache,
String syncToken) |
protected DeltaQueryResult<GroupWithMembershipChanges> |
DeltaQueryCacheRefresher.synchroniseGroupChanges(DirectoryCache directoryCache,
DeltaQueryResult<GroupWithMembershipChanges> mappedGroups,
Date syncStartDate) |
protected void |
DeltaQueryCacheRefresher.synchroniseMembershipChanges(DirectoryCache directoryCache,
Collection<UserWithAttributes> mappedUsers,
Collection<GroupWithMembershipChanges> mappedGroups) |
protected DeltaQueryResult<UserWithAttributes> |
DeltaQueryCacheRefresher.synchroniseUserChanges(DirectoryCache directoryCache,
DeltaQueryResult<UserWithAttributes> mappedUsers,
Date syncStartDate) |
Modifier and Type | Method and Description |
---|---|
void |
LocalGroupHandler.addUserToLocalGroup(String username,
String groupName) |
Group |
LocalGroupHandler.createLocalGroup(GroupTemplate groupTemplate)
Creates a local group with the supplied template.
|
Group |
LocalGroupHandler.findLocalGroup(String groupName)
Finds a local group.
|
void |
LocalGroupHandler.removeUserFromLocalGroup(String username,
String groupName) |
Group |
LocalGroupHandler.updateLocalGroup(GroupTemplate groupTemplate)
Updates a local group.
|
Modifier and Type | Method and Description |
---|---|
void |
MockDirectoryCache.addGroupMembersForGroup(Group parentGroup,
Set<String> groups) |
void |
MockDirectoryCache.addGroupToGroup(String childGroup,
String parentGroup) |
void |
MockDirectoryCache.addOrUpdateCachedGroup(Group group) |
void |
MockDirectoryCache.addOrUpdateCachedGroups(Collection<? extends Group> groups,
Date syncStartDate) |
void |
MockDirectoryCache.addOrUpdateCachedUser(User user) |
AddUpdateSets<UserTemplateWithCredentialAndAttributes,UserTemplate> |
MockDirectoryCache.addOrUpdateCachedUsers(Collection<? extends User> users,
Date syncStartDate) |
void |
MockDirectoryCache.addUserMembersForGroup(Group parentGroup,
Set<String> remoteUsers) |
void |
MockDirectoryCache.addUserToGroup(String username,
String groupName) |
void |
MockDirectoryCache.applySyncingGroupAttributes(String groupName,
Set<String> deletedAttributes,
Map<String,Set<String>> storedAttributes) |
void |
MockDirectoryCache.applySyncingUserAttributes(String userName,
Set<String> deletedAttributes,
Map<String,Set<String>> storedAttributes) |
void |
MockDirectoryCache.deleteCachedGroup(String groupname) |
void |
MockDirectoryCache.deleteCachedGroups(List<String> groupnames) |
void |
MockDirectoryCache.deleteCachedGroups(Set<String> groupnames) |
void |
MockDirectoryCache.deleteCachedGroupsByGuids(Set<String> guids) |
void |
MockDirectoryCache.deleteCachedGroupsNotIn(GroupType groupType,
List<? extends Group> remoteGroups,
Date syncStartDate) |
void |
MockDirectoryCache.deleteCachedGroupsNotInByExternalId(Collection<? extends Group> remoteGroups,
Date syncStartDate) |
void |
MockDirectoryCache.deleteCachedUser(String username) |
void |
MockDirectoryCache.deleteCachedUsersByGuid(Set<String> guids) |
void |
MockDirectoryCache.deleteCachedUsersNotIn(Collection<? extends User> users,
Date syncStartDate) |
void |
MockDirectoryCache.deleteGroupMembersForGroup(Group parentGroup,
Set<String> groups) |
void |
MockDirectoryCache.deleteUserMembersForGroup(Group parentGroup,
Set<String> remoteUsers) |
protected List<GroupWithAttributes> |
RemoteDirectoryCacheRefresher.findAllRemoteGroups(boolean withAttributes) |
protected List<UserWithAttributes> |
RemoteDirectoryCacheRefresher.findAllRemoteUsers(boolean withAttributes) |
Map<String,String> |
MockDirectoryCache.findGroupsByExternalIds(Set<String> externalIds) |
Map<String,String> |
MockDirectoryCache.findGroupsExternalIdsByNames(Set<String> groupNames) |
GroupWithAttributes |
MockDirectoryCache.findGroupWithAttributesByName(String name) |
UserWithAttributes |
MockDirectoryCache.findUserWithAttributesByName(String name) |
Set<String> |
MockDirectoryCache.getAllGroupGuids() |
Set<String> |
MockDirectoryCache.getAllLocalGroupNames() |
long |
MockDirectoryCache.getGroupCount() |
void |
MockDirectoryCache.removeGroupFromGroup(String childGroup,
String parentGroup) |
void |
MockDirectoryCache.removeUserFromGroup(String username,
String groupName) |
void |
MockDirectoryCache.syncGroupMembersForGroup(Group parentGroup,
Collection<String> groups) |
void |
MockDirectoryCache.syncGroupMembershipsAndMembersForGroup(String groupName,
Set<String> parentGroupNames,
Set<String> childGroupNames) |
void |
MockDirectoryCache.syncGroupMembershipsForUser(String childUsername,
Set<String> parentGroupNames) |
CacheSynchronisationResult |
EventTokenChangedCacheRefresher.synchroniseAll(DirectoryCache directoryCache) |
protected PartialSynchronisationResult<? extends GroupWithAttributes> |
RemoteDirectoryCacheRefresher.synchroniseAllGroups(DirectoryCache directoryCache) |
protected PartialSynchronisationResult<? extends GroupWithAttributes> |
EventTokenChangedCacheRefresher.synchroniseAllGroups(DirectoryCache directoryCache) |
protected PartialSynchronisationResult<? extends UserWithAttributes> |
RemoteDirectoryCacheRefresher.synchroniseAllUsers(DirectoryCache directoryCache) |
protected PartialSynchronisationResult<? extends UserWithAttributes> |
EventTokenChangedCacheRefresher.synchroniseAllUsers(DirectoryCache directoryCache) |
CacheSynchronisationResult |
RemoteDirectoryCacheRefresher.synchroniseChanges(DirectoryCache directoryCache,
String syncToken) |
CacheSynchronisationResult |
EventTokenChangedCacheRefresher.synchroniseChanges(DirectoryCache directoryCache,
String eventToken) |
void |
MockDirectoryCache.syncUserMembersForGroup(Group parentGroup,
Collection<String> users) |
Modifier and Type | Method and Description |
---|---|
<V extends PageableDeltaQueryGraphList<T>,T> |
AzureAdPagingWrapper.fetchAllDeltaQueryResults(V firstPage) |
<V extends PageableGraphList<T>,T> |
AzureAdPagingWrapper.fetchAllMatchingResults(V firstPage,
Predicate<T> filter)
Will fetch all results from Microsoft Graph that match the specified predicate
|
<V extends PageableGraphList<T>,T> |
AzureAdPagingWrapper.fetchAllResults(V firstPage)
Will fetch all results from Microsoft Graph
|
<V extends PageableGraphList<T>,T> |
AzureAdPagingWrapper.fetchAppropriateAmountOfResults(V firstPage,
int startIndex,
int maxResults)
Will fetch results from Microsoft Graph until the desired amount of results is reached or until the results are exhausted
|
GraphDirectoryObjectList |
AzureAdRestClient.getDirectChildrenOfGroup(String groupId,
ODataSelect select) |
GraphDirectoryObjectList |
AzureAdRestClient.getDirectParentsOfGroup(String groupId,
ODataSelect select) |
GraphDirectoryObjectList |
AzureAdRestClient.getDirectParentsOfUser(String nameOrExternalId,
ODataSelect select) |
<T extends PageableGraphList> |
AzureAdRestClient.getNextPage(String nextLink,
Class<T> resultsClass) |
<T extends PageableGraphList> |
AzureAdRestClient.getNextPage(String nextLink,
Class<T> resultsClass,
ODataTop limit) |
<T> T |
AzureAdRestClient.handleRequest(Supplier<T> requestSupplier) |
<V extends PageableGraphList<T>,T> |
AzureAdPagingWrapper.pageForElement(V firstPage,
Predicate<T> predicate)
Retrieves the first element matching the specified predicate, if any, paging for it if necessary
|
GraphDeltaQueryGroupList |
AzureAdRestClient.performGroupsDeltaQuery(MicrosoftGraphQueryParam... parameters) |
GraphDeltaQueryUserList |
AzureAdRestClient.performUsersDeltaQuery(MicrosoftGraphQueryParam parameter) |
GraphGroupList |
AzureAdRestClient.searchGroups(GraphQuery query) |
GraphUsersList |
AzureAdRestClient.searchUsers(GraphQuery query) |
Modifier and Type | Method and Description |
---|---|
protected void |
RFC4519DirectoryMembershipsIterable.lookupMissingNames(List<com.atlassian.crowd.directory.rfc4519.RFC4519DirectoryMembershipsIterable.MembershipHolder> memberships) |
Modifier and Type | Method and Description |
---|---|
void |
DirectoryCache.addGroupMembersForGroup(Group parentGroup,
Set<String> groups) |
void |
DirectoryCache.addGroupToGroup(String childGroup,
String parentGroup) |
void |
DirectoryCache.addOrUpdateCachedGroup(Group group) |
void |
DirectoryCache.addOrUpdateCachedGroups(Collection<? extends Group> groups,
Date syncStartDate) |
void |
DirectoryCache.addOrUpdateCachedUser(User user) |
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.addUserMembersForGroup(Group parentGroup,
Set<String> remoteUsers) |
void |
DirectoryCache.addUserToGroup(String username,
String groupName) |
void |
DirectoryCache.applySyncingGroupAttributes(String groupName,
Set<String> deletedAttributes,
Map<String,Set<String>> storedAttributes)
Removes any syncing group attributes listed in deletedAttributes, and store any that are listed in storedAttributes
If any non-syncing attributes are included, they will be ignored
|
void |
DirectoryCache.applySyncingUserAttributes(String userName,
Set<String> deletedAttributes,
Map<String,Set<String>> storedAttributes)
Removes any syncing user attributes listed in deletedAttributes, and store any that are listed in storedAttributes
If any non-syncing attributes are included, they will be ignored
|
DirectoryCacheChangeOperations.GroupsToAddUpdateReplace |
DefaultGroupActionStrategy.decide(InternalDirectoryGroup groupMatchedByName,
InternalDirectoryGroup groupMatchedByExternalId,
Group remoteGroup,
Date syncStartDate,
long directoryId) |
DirectoryCacheChangeOperations.GroupsToAddUpdateReplace |
ExternalIdCheckingGroupActionStrategy.decide(InternalDirectoryGroup internalGroup,
InternalDirectoryGroup groupMatchedByExternalId,
Group remoteGroup,
Date syncStartDate,
long directoryId) |
DirectoryCacheChangeOperations.GroupsToAddUpdateReplace |
GroupActionStrategy.decide(InternalDirectoryGroup groupMatchedByName,
InternalDirectoryGroup groupMatchedByExternalId,
Group remoteGroup,
Date syncStartDate,
long directoryId) |
void |
DirectoryCache.deleteCachedGroup(String groupName) |
void |
DirectoryCache.deleteCachedGroups(Set<String> groupnames) |
void |
DirectoryCache.deleteCachedGroupsByGuids(Set<String> guids) |
void |
DirectoryCache.deleteCachedGroupsNotIn(GroupType groupType,
List<? extends Group> remoteGroups,
Date syncStartDate) |
void |
DirectoryCache.deleteCachedGroupsNotInByExternalId(Collection<? extends Group> remoteGroups,
Date syncStartDate) |
void |
DirectoryCache.deleteCachedUser(String username) |
void |
DirectoryCache.deleteCachedUsersByGuid(Set<String> guids) |
void |
DirectoryCache.deleteCachedUsersNotIn(Collection<? extends User> users,
Date syncStartDate) |
void |
DirectoryCache.deleteGroupMembersForGroup(Group parentGroup,
Set<String> groups) |
void |
DirectoryCache.deleteUserMembersForGroup(Group parentGroup,
Set<String> remoteUsers) |
Map<String,String> |
DirectoryCache.findGroupsByExternalIds(Set<String> externalIds)
Searches the specified directory for group names of groups with the specified external ids
|
Map<String,String> |
DirectoryCache.findGroupsExternalIdsByNames(Set<String> groupNames)
Searches the specified directory for externalIds of groups with the specified names
|
GroupWithAttributes |
DirectoryCache.findGroupWithAttributesByName(String name) |
UserWithAttributes |
DirectoryCache.findUserWithAttributesByName(String name) |
Set<String> |
DirectoryCache.getAllGroupGuids()
Returns a set of all group guids present in the cache excluding null values.
|
Set<String> |
DirectoryCache.getAllLocalGroupNames()
Returns a set of all local group names.
|
Set<String> |
DirectoryCache.getAllUserGuids()
Returns a set of all user guids present in the cache excluding null values.
|
long |
DirectoryCache.getExternalCachedGroupCount()
Counts external cached groups in the directory cache
|
long |
DirectoryCache.getGroupCount()
Counts groups in directory cache.
|
protected Iterable<Membership> |
AbstractCacheRefresher.getMemberships(Collection<G> groups,
boolean isFullSync) |
protected Iterable<Membership> |
UsnChangedCacheRefresher.getMemberships(Collection<LDAPGroupWithAttributes> groupsToInclude,
boolean isFullSync) |
long |
DirectoryCache.getUserCount()
Counts users in directory cache.
|
void |
DirectoryCache.removeGroupFromGroup(String childGroup,
String parentGroup) |
void |
DirectoryCache.removeUserFromGroup(String username,
String groupName) |
void |
DirectoryCache.syncGroupMembersForGroup(Group parentGroup,
Collection<String> groups) |
void |
DirectoryCache.syncGroupMembershipsAndMembersForGroup(String groupName,
Set<String> parentGroupNames,
Set<String> childGroupNames) |
void |
DirectoryCache.syncGroupMembershipsForUser(String childUsername,
Set<String> parentGroupNames) |
CacheSynchronisationResult |
UsnChangedCacheRefresher.synchroniseAll(DirectoryCache directoryCache) |
CacheSynchronisationResult |
CacheRefresher.synchroniseAll(DirectoryCache directoryCache)
Will visit all Users and Groups in the external directory in order to do a Full refresh.
|
CacheSynchronisationResult |
AbstractCacheRefresher.synchroniseAll(DirectoryCache directoryCache) |
protected void |
AbstractCacheRefresher.synchroniseAllGroupAttributes(Collection<G> remoteGroups,
DirectoryCache directoryCache) |
protected PartialSynchronisationResult<LDAPGroupWithAttributes> |
UsnChangedCacheRefresher.synchroniseAllGroups(DirectoryCache directoryCache) |
protected abstract PartialSynchronisationResult<G> |
AbstractCacheRefresher.synchroniseAllGroups(DirectoryCache directoryCache)
This method is expected to fetch the groups to update (or all currently in the remote directory)
and update the directory cache (call the appropriate method for deleting and then the appropriate method for
updating/adding).
|
protected void |
AbstractCacheRefresher.synchroniseAllUserAttributes(Collection<? extends UserWithAttributes> remoteUsers,
DirectoryCache directoryCache) |
protected PartialSynchronisationResult<? extends UserWithAttributes> |
UsnChangedCacheRefresher.synchroniseAllUsers(DirectoryCache directoryCache) |
protected abstract PartialSynchronisationResult<? extends UserWithAttributes> |
AbstractCacheRefresher.synchroniseAllUsers(DirectoryCache directoryCache)
This method is expected to fetch the users to update (or all currently in the remote directory)
and update the directory cache (call the appropriate method for deleting and then the appropriate method for
updating/adding).
|
CacheSynchronisationResult |
UsnChangedCacheRefresher.synchroniseChanges(DirectoryCache directoryCache,
String highestCommittedUsn) |
CacheSynchronisationResult |
CacheRefresher.synchroniseChanges(DirectoryCache directoryCache,
String syncToken)
Attempts to synchronise changes since the last refresh as opposed to performing a full synchronisation.
|
protected void |
AbstractCacheRefresher.synchroniseMemberships(Collection<G> remoteGroups,
DirectoryCache directoryCache,
boolean isFullSync) |
void |
DirectoryCache.syncUserMembersForGroup(Group parentGroup,
Collection<String> remoteUsers) |
Modifier and Type | Class and Description |
---|---|
class |
DirectoryInstantiationException
Exception when a
RemoteDirectory implementation can not be loaded
by a Directory . |
class |
InvalidCrowdServiceException
Thrown when a Crowd client is not communicating with a valid Crowd service.
|
class |
OperationNotSupportedException
Checked exception thrown if the requested operation is not supported.
|
class |
UnsupportedCrowdApiException
Failure because this API call is only supported by a later version of Crowd.
|
Modifier and Type | Method and Description |
---|---|
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.authenticate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String username,
String password) |
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.authenticateWithoutValidatingPassword(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String username) |
AuthenticationState |
CrowdHttpAuthenticatorImpl.checkAuthenticated(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
AuthenticationState |
CrowdHttpAuthenticator.checkAuthenticated(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Tests whether a request is authenticated via SSO.
|
AuthenticationState |
CacheAwareCrowdHttpAuthenticator.checkAuthenticated(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
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.
|
User |
CacheAwareCrowdHttpAuthenticator.getUser(javax.servlet.http.HttpServletRequest request) |
boolean |
CrowdHttpAuthenticatorImpl.isAuthenticated(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Deprecated.
|
boolean |
CrowdHttpAuthenticator.isAuthenticated(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Deprecated.
since 2.8.3. Use
CrowdHttpAuthenticator.checkAuthenticated(HttpServletRequest, HttpServletResponse) instead. |
boolean |
CacheAwareCrowdHttpAuthenticator.isAuthenticated(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Deprecated.
|
void |
CrowdHttpAuthenticatorImpl.logout(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
CrowdHttpAuthenticator.logout(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Logs out the authenticated user.
|
void |
CacheAwareCrowdHttpAuthenticator.logout(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
Modifier and Type | Method and Description |
---|---|
void |
RestCrowdClient.addGroup(Group group) |
void |
RestCrowdClient.addGroupToGroup(String childGroup,
String parentGroup) |
UserWithAttributes |
RestCrowdClient.addUser(User user,
PasswordCredential passwordCredential) |
UserWithAttributes |
RestCrowdClient.addUser(UserWithAttributes user,
PasswordCredential passwordCredential) |
void |
RestCrowdClient.addUserToGroup(String username,
String groupName) |
String |
RestCrowdClient.authenticateSSOUser(UserAuthenticationContext userAuthenticationContext) |
String |
RestCrowdClient.authenticateSSOUser(UserAuthenticationContext userAuthenticationContext,
long duration) |
String |
RestCrowdClient.authenticateSSOUserWithoutValidatingPassword(UserAuthenticationContext userAuthenticationContext) |
User |
RestCrowdClient.authenticateUser(String username,
String password) |
void |
RestCrowdClient.expireAllPasswords() |
User |
RestCrowdClient.findUserFromSSOToken(String token) |
List<Group> |
RestCrowdClient.getChildGroupsOfGroup(String groupName,
int startIndex,
int maxResults) |
CookieConfiguration |
RestCrowdClient.getCookieConfiguration() |
String |
RestCrowdClient.getCurrentEventToken() |
Group |
RestCrowdClient.getGroup(String name)
Get a group by name.
|
List<Group> |
RestCrowdClient.getGroupsForNestedUser(String userName,
int startIndex,
int maxResults) |
List<Group> |
RestCrowdClient.getGroupsForUser(String userName,
int startIndex,
int maxResults) |
List<GroupWithAttributes> |
RestCrowdClient.getGroupsWithAttributesForUser(String userName,
int startIndex,
int maxResults) |
GroupWithAttributes |
RestCrowdClient.getGroupWithAttributes(String name) |
Iterable<Membership> |
RestCrowdClient.getMemberships() |
List<String> |
RestCrowdClient.getNamesOfChildGroupsOfGroup(String groupName,
int startIndex,
int maxResults) |
List<String> |
RestCrowdClient.getNamesOfGroupsForNestedUser(String userName,
int startIndex,
int maxResults) |
List<String> |
RestCrowdClient.getNamesOfGroupsForUser(String userName,
int startIndex,
int maxResults) |
List<String> |
RestCrowdClient.getNamesOfNestedChildGroupsOfGroup(String groupName,
int startIndex,
int maxResults) |
List<String> |
RestCrowdClient.getNamesOfNestedUsersOfGroup(String groupName,
int startIndex,
int maxResults) |
List<String> |
RestCrowdClient.getNamesOfParentGroupsForGroup(String groupName,
int startIndex,
int maxResults) |
List<String> |
RestCrowdClient.getNamesOfParentGroupsForNestedGroup(String groupName,
int startIndex,
int maxResults) |
List<String> |
RestCrowdClient.getNamesOfUsersOfGroup(String groupName,
int startIndex,
int maxResults) |
List<Group> |
RestCrowdClient.getNestedChildGroupsOfGroup(String groupName,
int startIndex,
int maxResults) |
List<User> |
RestCrowdClient.getNestedUsersOfGroup(String groupName,
int startIndex,
int maxResults) |
Events |
RestCrowdClient.getNewEvents(String eventToken) |
List<Group> |
RestCrowdClient.getParentGroupsForGroup(String groupName,
int startIndex,
int maxResults) |
List<Group> |
RestCrowdClient.getParentGroupsForNestedGroup(String groupName,
int startIndex,
int maxResults) |
User |
RestCrowdClient.getUser(String name) |
User |
RestCrowdClient.getUserByKey(String key) |
List<User> |
RestCrowdClient.getUsersOfGroup(String groupName,
int startIndex,
int maxResults) |
UserWithAttributes |
RestCrowdClient.getUserWithAttributes(String name) |
String |
RestCrowdClient.getWebhook(long webhookId) |
void |
RestCrowdClient.invalidateSSOToken(String token) |
void |
RestCrowdClient.invalidateSSOTokensForUser(String username) |
void |
RestCrowdClient.invalidateSSOTokensForUser(String username,
String exclude) |
boolean |
RestCrowdClient.isGroupDirectGroupMember(String childName,
String parentName) |
boolean |
RestCrowdClient.isUserDirectGroupMember(String username,
String groupName) |
boolean |
RestCrowdClient.isUserNestedGroupMember(String username,
String groupName) |
long |
RestCrowdClient.registerWebhook(String endpointUrl,
String token) |
void |
RestCrowdClient.removeGroup(String groupName) |
void |
RestCrowdClient.removeGroupAttributes(String groupName,
String attributeName) |
void |
RestCrowdClient.removeGroupFromGroup(String childGroup,
String parentGroup) |
void |
RestCrowdClient.removeUser(String username) |
void |
RestCrowdClient.removeUserAttributes(String username,
String attributeName) |
void |
RestCrowdClient.removeUserFromGroup(String username,
String groupName) |
User |
RestCrowdClient.renameUser(String oldUsername,
String newUsername) |
void |
RestCrowdClient.requestPasswordReset(String username) |
void |
RestCrowdClient.requestUsernames(String email) |
List<String> |
RestCrowdClient.searchGroupNames(SearchRestriction searchRestriction,
int startIndex,
int maxResults) |
List<Group> |
RestCrowdClient.searchGroups(SearchRestriction searchRestriction,
int startIndex,
int maxResults) |
List<GroupWithAttributes> |
RestCrowdClient.searchGroupsWithAttributes(SearchRestriction searchRestriction,
int startIndex,
int maxResults) |
List<String> |
RestCrowdClient.searchUserNames(SearchRestriction searchRestriction,
int startIndex,
int maxResults) |
List<User> |
RestCrowdClient.searchUsers(SearchRestriction searchRestriction,
int startIndex,
int maxResults) |
List<UserWithAttributes> |
RestCrowdClient.searchUsersWithAttributes(SearchRestriction searchRestriction,
int startIndex,
int maxResults) |
void |
RestCrowdClient.storeGroupAttributes(String groupName,
Map<String,Set<String>> attributes) |
void |
RestCrowdClient.storeUserAttributes(String username,
Map<String,Set<String>> attributes) |
void |
RestCrowdClient.testConnection() |
void |
RestCrowdClient.unregisterWebhook(long webhookId) |
void |
RestCrowdClient.updateGroup(Group group) |
void |
RestCrowdClient.updateUser(User user) |
void |
RestCrowdClient.updateUserCredential(String username,
String password) |
User |
RestCrowdClient.userAuthenticated(String username) |
void |
RestCrowdClient.validateSSOAuthentication(String token,
List<ValidationFactor> validationFactors) |
Session |
RestCrowdClient.validateSSOAuthenticationAndGetSession(String token,
List<ValidationFactor> validationFactors) |
Modifier and Type | Method and Description |
---|---|
protected void |
CrowdAuthenticator.fetchUserInCache(String username)
Fetches a user with the given username in the cache, in case the user
exists, but cannot be found from the cache yet.
|
Modifier and Type | Method and Description |
---|---|
protected String |
RemoteCrowdAuthenticationProvider.authenticate(String username,
String password,
List<ValidationFactor> validationFactors) |
protected String |
RemoteCrowdAuthenticationProvider.authenticateWithoutPassword(String username,
List<ValidationFactor> validationFactors) |
protected boolean |
RemoteCrowdAuthenticationProvider.isAuthenticated(String token,
List<ValidationFactor> validationFactors) |
Modifier and Type | Method and Description |
---|---|
protected String |
RemoteCrowdAuthenticationProvider.authenticate(String username,
String password,
List<ValidationFactor> validationFactors) |
protected String |
LocalCrowdAuthenticationProvider.authenticate(String username,
String password,
List<ValidationFactor> validationFactors) |
protected abstract String |
CrowdAuthenticationProvider.authenticate(String username,
String password,
List<ValidationFactor> validationFactors)
Authenticate a remote user and return the Crowd SSO token string.
|
protected String |
RemoteCrowdAuthenticationProvider.authenticateWithoutPassword(String username,
List<ValidationFactor> validationFactors) |
protected String |
LocalCrowdAuthenticationProvider.authenticateWithoutPassword(String username,
List<ValidationFactor> validationFactors) |
protected abstract String |
CrowdAuthenticationProvider.authenticateWithoutPassword(String username,
List<ValidationFactor> validationFactors)
Authenticate a remote user without password and return the Crowd SSO token string.
|
protected CookieConfiguration |
CrowdSSOAuthenticationProcessingFilter.getCookieConfiguration() |
protected boolean |
RemoteCrowdAuthenticationProvider.isAuthenticated(String token,
List<ValidationFactor> validationFactors) |
protected boolean |
LocalCrowdAuthenticationProvider.isAuthenticated(String token,
List<ValidationFactor> validationFactors) |
protected abstract boolean |
CrowdAuthenticationProvider.isAuthenticated(String token,
List<ValidationFactor> validationFactors)
Determine if a remote user is authenticated via SSO based on the supplied SSO token string and validation
factors.
|
Modifier and Type | Method and Description |
---|---|
void |
NoOpDefaultGroupMembershipService.add(Application application,
ApplicationDirectoryMapping directoryMapping,
String groupName) |
void |
DefaultGroupMembershipServiceImpl.add(Application application,
ApplicationDirectoryMapping directoryMapping,
String groupName) |
void |
DefaultGroupMembershipService.add(Application application,
ApplicationDirectoryMapping directoryMapping,
String groupName)
Adds a new default group membership for the given application and group.
|
void |
ApplicationServiceGeneric.addAllUsers(Application application,
Collection<UserTemplateWithCredentialAndAttributes> userTemplates) |
void |
AbstractDelegatingApplicationService.addAllUsers(Application application,
Collection<UserTemplateWithCredentialAndAttributes> users) |
void |
ApplicationService.addAllUsers(Application application,
Collection<UserTemplateWithCredentialAndAttributes> users)
Adds the user to THE FIRST permissible active directory.
|
Group |
ApplicationServiceGeneric.addGroup(Application application,
GroupTemplate group) |
Group |
TranslatingApplicationService.addGroup(Application application,
GroupTemplate group) |
Group |
AbstractDelegatingApplicationService.addGroup(Application application,
GroupTemplate group) |
Group |
ApplicationService.addGroup(Application application,
GroupTemplate group)
Adds the group to ALL the active permissible directories.
|
void |
ApplicationServiceGeneric.addGroupToGroup(Application application,
String childGroupName,
String parentGroupName) |
void |
AbstractDelegatingApplicationService.addGroupToGroup(Application application,
String childGroupName,
String parentGroupName) |
void |
ApplicationService.addGroupToGroup(Application application,
String childGroupName,
String parentGroupName)
Makes groups matching the given name (childGroupName) direct members of the group (parentGroupName) across ALL active directories.
|
User |
ApplicationServiceGeneric.addUser(Application application,
UserTemplate user,
PasswordCredential credential) |
User |
TranslatingApplicationService.addUser(Application application,
UserTemplate user,
PasswordCredential credential) |
User |
AbstractDelegatingApplicationService.addUser(Application application,
UserTemplate user,
PasswordCredential credential) |
User |
ApplicationService.addUser(Application application,
UserTemplate user,
PasswordCredential credential)
|
UserWithAttributes |
ApplicationServiceGeneric.addUser(Application application,
UserTemplateWithAttributes user,
PasswordCredential credential) |
UserWithAttributes |
TranslatingApplicationService.addUser(Application application,
UserTemplateWithAttributes user,
PasswordCredential credential) |
UserWithAttributes |
AbstractDelegatingApplicationService.addUser(Application application,
UserTemplateWithAttributes userWithAttributes,
PasswordCredential credential) |
UserWithAttributes |
ApplicationService.addUser(Application application,
UserTemplateWithAttributes user,
PasswordCredential credential)
Adds the user to the first permissible active directory.
|
void |
ApplicationServiceGeneric.addUserToGroup(Application application,
String username,
String groupName) |
void |
TranslatingApplicationService.addUserToGroup(Application application,
String username,
String groupName) |
void |
AbstractDelegatingApplicationService.addUserToGroup(Application application,
String username,
String groupName) |
void |
ApplicationService.addUserToGroup(Application application,
String username,
String groupName)
Makes the primary user of the given username a direct member of the group on the directory where the primary user resides.
|
User |
ApplicationServiceGeneric.authenticateUser(Application application,
String username,
PasswordCredential passwordCredential) |
User |
TranslatingApplicationService.authenticateUser(Application application,
String username,
PasswordCredential passwordCredential) |
User |
AbstractDelegatingApplicationService.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.
|
void |
ApplicationServiceGeneric.expireAllPasswords(Application application) |
void |
AbstractDelegatingApplicationService.expireAllPasswords(Application application) |
void |
ApplicationService.expireAllPasswords(Application application)
Expires all passwords for all directories which are part of this application, regardless of
group mapping.
|
Events |
ApplicationServiceGeneric.getNewEvents(Application application,
String eventToken) |
Events |
TranslatingApplicationService.getNewEvents(Application application,
String eventToken) |
Events |
AbstractDelegatingApplicationService.getNewEvents(Application application,
String eventToken) |
Events |
ApplicationService.getNewEvents(Application application,
String eventToken)
Returns an events object which contains a new eventToken and events that
happened after the given
eventToken was generated. |
AvatarReference |
ApplicationServiceGeneric.getUserAvatar(Application application,
String username,
int sizeHint) |
AvatarReference |
AbstractDelegatingApplicationService.getUserAvatar(Application application,
String username,
int sizeHint) |
AvatarReference |
ApplicationService.getUserAvatar(Application application,
String username,
int sizeHint)
Gets an avatar for this user, if one is available.
|
URI |
ApplicationServiceGeneric.getUserAvatarLink(Application application,
String username,
int sizeHint) |
URI |
AbstractDelegatingApplicationService.getUserAvatarLink(Application application,
String username,
int sizeHint) |
URI |
ApplicationService.getUserAvatarLink(Application application,
String username,
int sizeHint)
Gets a URL for an avatar for this user, if one is available.
|
List<String> |
NoOpDefaultGroupMembershipService.listAll(Application application,
ApplicationDirectoryMapping directoryMapping) |
List<String> |
DefaultGroupMembershipServiceImpl.listAll(Application application,
ApplicationDirectoryMapping directoryMapping) |
List<String> |
DefaultGroupMembershipService.listAll(Application application,
ApplicationDirectoryMapping directoryMapping)
Lists all default group membership configurations for the given application/directory combination
|
void |
NoOpDefaultGroupMembershipService.remove(Application application,
ApplicationDirectoryMapping directoryMapping,
String groupName) |
void |
DefaultGroupMembershipServiceImpl.remove(Application application,
ApplicationDirectoryMapping directoryMapping,
String groupName) |
void |
DefaultGroupMembershipService.remove(Application application,
ApplicationDirectoryMapping directoryMapping,
String groupName)
Removes a default group membership configuration for the given application and group.
|
void |
ApplicationServiceGeneric.removeGroup(Application application,
String groupname) |
void |
AbstractDelegatingApplicationService.removeGroup(Application application,
String group) |
void |
ApplicationService.removeGroup(Application application,
String group)
Removes ALL groups from each of the application's assigned
directories that are active.
|
void |
ApplicationServiceGeneric.removeGroupAttributes(Application application,
String groupname,
String attributeName) |
void |
AbstractDelegatingApplicationService.removeGroupAttributes(Application application,
String groupname,
String attributeName) |
void |
ApplicationService.removeGroupAttributes(Application application,
String groupname,
String attributeName)
Removes a group's attribute values for all active permissible directories assigned to the application.
|
void |
ApplicationServiceGeneric.removeGroupFromGroup(Application application,
String childGroupName,
String parentGroupName) |
void |
AbstractDelegatingApplicationService.removeGroupFromGroup(Application application,
String childGroup,
String parentGroup) |
void |
ApplicationService.removeGroupFromGroup(Application application,
String childGroup,
String parentGroup)
Makes child group matching the given name not members of the parent group across ALL active directories.
|
void |
ApplicationServiceGeneric.removeUser(Application application,
String username) |
void |
TranslatingApplicationService.removeUser(Application application,
String user) |
void |
AbstractDelegatingApplicationService.removeUser(Application application,
String user) |
void |
ApplicationService.removeUser(Application application,
String user)
Removes the user from the first active directory they are found in.
|
void |
ApplicationServiceGeneric.removeUserAttributes(Application application,
String username,
String attributeName) |
void |
TranslatingApplicationService.removeUserAttributes(Application application,
String username,
String attributeName) |
void |
AbstractDelegatingApplicationService.removeUserAttributes(Application application,
String username,
String attributeName) |
void |
ApplicationService.removeUserAttributes(Application application,
String username,
String attributeName)
Removes a user's attribute values for the first active directory containing this username.
|
void |
ApplicationServiceGeneric.removeUserFromGroup(Application application,
String username,
String groupName) |
void |
TranslatingApplicationService.removeUserFromGroup(Application application,
String username,
String groupName) |
void |
AbstractDelegatingApplicationService.removeUserFromGroup(Application application,
String username,
String groupName) |
void |
ApplicationService.removeUserFromGroup(Application application,
String username,
String groupName)
Makes the primary user of the given username no longer a member of the group on the directory where the primary user resides.
|
User |
ApplicationServiceGeneric.renameUser(Application application,
String oldUserName,
String newUsername) |
User |
TranslatingApplicationService.renameUser(Application application,
String oldUserName,
String newUsername) |
User |
AbstractDelegatingApplicationService.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.
|
void |
ApplicationServiceGeneric.storeGroupAttributes(Application application,
String groupname,
Map<String,Set<String>> attributes) |
void |
AbstractDelegatingApplicationService.storeGroupAttributes(Application application,
String groupname,
Map<String,Set<String>> attributes) |
void |
ApplicationService.storeGroupAttributes(Application application,
String groupname,
Map<String,Set<String>> attributes)
Adds or updates a group's attributes with the new Map of attribute values for all active permissible directories assigned to the application.
|
void |
ApplicationServiceGeneric.storeUserAttributes(Application application,
String username,
Map<String,Set<String>> attributes) |
void |
TranslatingApplicationService.storeUserAttributes(Application application,
String username,
Map<String,Set<String>> attributes) |
void |
AbstractDelegatingApplicationService.storeUserAttributes(Application application,
String username,
Map<String,Set<String>> attributes) |
void |
ApplicationService.storeUserAttributes(Application application,
String username,
Map<String,Set<String>> attributes)
Adds or updates a user's attributes with the new Map of attribute values for the first active directory containing this username.
|
Group |
ApplicationServiceGeneric.updateGroup(Application application,
GroupTemplate group) |
Group |
TranslatingApplicationService.updateGroup(Application application,
GroupTemplate group) |
Group |
AbstractDelegatingApplicationService.updateGroup(Application application,
GroupTemplate group) |
Group |
ApplicationService.updateGroup(Application application,
GroupTemplate group)
Updates the group in ALL the active permissible directories.
|
User |
ApplicationServiceGeneric.updateUser(Application application,
UserTemplate user) |
User |
TranslatingApplicationService.updateUser(Application application,
UserTemplate user) |
User |
AbstractDelegatingApplicationService.updateUser(Application application,
UserTemplate user) |
User |
ApplicationService.updateUser(Application application,
UserTemplate user)
Updates the user in the first active directory the User belongs.
|
void |
ApplicationServiceGeneric.updateUserCredential(Application application,
String username,
PasswordCredential credential) |
void |
TranslatingApplicationService.updateUserCredential(Application application,
String username,
PasswordCredential credential) |
void |
AbstractDelegatingApplicationService.updateUserCredential(Application application,
String username,
PasswordCredential credential) |
void |
ApplicationService.updateUserCredential(Application application,
String username,
PasswordCredential credential)
Updates the credentials of the first matching user from all the active directories assigned to the application.
|
User |
ApplicationServiceGeneric.userAuthenticated(Application application,
String username) |
User |
TranslatingApplicationService.userAuthenticated(Application application,
String username) |
User |
AbstractDelegatingApplicationService.userAuthenticated(Application application,
String username) |
User |
ApplicationService.userAuthenticated(Application application,
String username) |
Modifier and Type | Method and Description |
---|---|
Token |
TokenAuthenticationManagerImpl.authenticateUser(Application application,
UserAuthenticationContext authenticationContext,
boolean validatePassword,
TokenLifetime tokenLifetime) |
Token |
RetryingTokenAuthenticationManager.authenticateUser(Application application,
UserAuthenticationContext authenticateContext,
TokenLifetime tokenLifetime) |
Token |
TokenAuthenticationManagerImpl.authenticateUser(Application application,
UserAuthenticationContext authenticateContext,
TokenLifetime tokenLifetime) |
Token |
AliasingAwareTokenAuthenticationManager.authenticateUser(Application application,
UserAuthenticationContext authenticateContext,
TokenLifetime tokenLifetime) |
Token |
DelegatingTokenAuthenticationManager.authenticateUser(Application application,
UserAuthenticationContext authenticateContext,
TokenLifetime tokenLifetime) |
Token |
TokenAuthenticationManager.authenticateUser(Application application,
UserAuthenticationContext authenticateContext,
TokenLifetime tokenLifetime)
Authenticates a user and and generates an authentication token.
|
Token |
RetryingTokenAuthenticationManager.authenticateUserWithoutValidatingPassword(Application application,
UserAuthenticationContext authenticateContext) |
Token |
TokenAuthenticationManagerImpl.authenticateUserWithoutValidatingPassword(Application application,
UserAuthenticationContext authenticateContext) |
Token |
AliasingAwareTokenAuthenticationManager.authenticateUserWithoutValidatingPassword(Application application,
UserAuthenticationContext authenticateContext) |
Token |
DelegatingTokenAuthenticationManager.authenticateUserWithoutValidatingPassword(Application application,
UserAuthenticationContext authenticateContext) |
Token |
TokenAuthenticationManager.authenticateUserWithoutValidatingPassword(Application application,
UserAuthenticationContext authenticateContext)
Feigns the authentication process for a user and creates a token for the authentication without validating the password.
|
List<Application> |
TokenAuthenticationManagerImpl.findAuthorisedApplications(User user,
String applicationName) |
List<Application> |
AliasingAwareTokenAuthenticationManager.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.
|
User |
TokenAuthenticationManagerImpl.findUserByToken(Token token,
Application application) |
User |
AliasingAwareTokenAuthenticationManager.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.
|
Token |
TokenAuthenticationManagerImpl.findUserTokenByKey(String tokenKey,
Application application) |
Token |
AliasingAwareTokenAuthenticationManager.findUserTokenByKey(String tokenKey,
Application application) |
Token |
DelegatingTokenAuthenticationManager.findUserTokenByKey(String tokenKey,
Application application) |
Token |
TokenAuthenticationManager.findUserTokenByKey(String tokenKey,
Application application)
Returns the token matching a given key
|
protected org.apache.commons.lang3.tuple.Pair<Token,Boolean> |
TokenAuthenticationManagerImpl.generateUserToken(long directoryID,
AuthenticationContext authenticationContext,
TokenLifetime tokenLifetime)
This method will return a
Token based on the passed in parameters. |
protected boolean |
TokenAuthenticationManagerImpl.isAllowedToAuthenticate(String username,
long directoryId,
Application application)
Determines if a user is permitted to attempt authentication with a given application.
|
Token |
TokenAuthenticationManagerImpl.validateUserToken(Application application,
String userTokenKey,
ValidationFactor[] validationFactors) |
Token |
AliasingAwareTokenAuthenticationManager.validateUserToken(Application application,
String userTokenKey,
ValidationFactor[] validationFactors) |
Token |
DelegatingTokenAuthenticationManager.validateUserToken(Application application,
String userTokenKey,
ValidationFactor[] validationFactors) |
Token |
TokenAuthenticationManager.validateUserToken(Application application,
String userTokenKey,
ValidationFactor[] validationFactors)
Validates a user token key given validation factors and checks that the user is allowed to authenticate
with the specified application
|
Modifier and Type | Method and Description |
---|---|
BulkAddResult<Group> |
DirectoryManagerGeneric.addAllGroups(long directoryId,
Collection<GroupTemplate> groups,
boolean overwrite) |
BulkAddResult<Group> |
DirectoryManager.addAllGroups(long directoryId,
Collection<GroupTemplate> groups,
boolean overwrite)
Will add a collection of Group to the directory specified by the passed in
directoryId param. |
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. |
BulkAddResult<String> |
DirectoryManagerGeneric.addAllUsersToGroup(long directoryId,
Collection<String> userNames,
String groupName) |
BulkAddResult<String> |
DirectoryManager.addAllUsersToGroup(long directoryID,
Collection<String> userNames,
String groupName)
A bulk version of
DirectoryManager.addUserToGroup(long, String, String) . |
Group |
DirectoryManagerGeneric.addGroup(long directoryId,
GroupTemplate group) |
Group |
DirectoryManager.addGroup(long directoryId,
GroupTemplate group)
Adds a Group to the directory specified by the passed in
directoryId . |
void |
DirectoryManagerGeneric.addGroupToGroup(long directoryId,
String childGroup,
String parentGroup) |
void |
DirectoryManager.addGroupToGroup(long directoryId,
String childGroup,
String parentGroup)
Adds an existing child group as direct member of an existing parent group in the directory specified by the passed in
directoryId . |
User |
DirectoryManagerGeneric.addUser(long directoryId,
UserTemplate user,
PasswordCredential credential) |
User |
DirectoryManager.addUser(long directoryId,
UserTemplate user,
PasswordCredential credential)
Deprecated.
|
UserWithAttributes |
DirectoryManagerGeneric.addUser(long directoryId,
UserTemplateWithAttributes user,
PasswordCredential credential) |
UserWithAttributes |
DirectoryManager.addUser(long directoryId,
UserTemplateWithAttributes user,
PasswordCredential credential)
Adds a
UserWithAttributes to the directory specified by the passed in directoryId . |
BatchResult<BatchResultEntityWithCause> |
MembershipService.addUsersToGroup(long directoryId,
List<String> usernames,
String groupName)
Adds multiple users to single supplied group
|
void |
DirectoryManagerGeneric.addUserToGroup(long directoryId,
String username,
String groupName) |
void |
DirectoryManager.addUserToGroup(long directoryId,
String username,
String groupName)
Adds an existing user as a direct member of an existing group in the directory specified by the passed in
directoryId . |
BatchResult<BatchResultEntityWithCause> |
MembershipService.addUserToGroups(long directoryId,
String username,
List<String> groupNames)
Adds single supplied user to multiple groups
|
User |
DirectoryManagerGeneric.authenticateUser(long directoryId,
String username,
PasswordCredential passwordCredential) |
User |
DirectoryManager.authenticateUser(long directoryId,
String username,
PasswordCredential passwordCredential) |
BoundedCount |
DirectoryManagerGeneric.countDirectMembersOfGroup(long directoryId,
String groupName,
int querySizeHint) |
BoundedCount |
DirectoryManager.countDirectMembersOfGroup(long directoryId,
String groupName,
int querySizeHint)
Count the direct members of a group in the provided directory with an upper bound.
|
void |
DirectoryManagerGeneric.expireAllPasswords(long directoryId) |
void |
DirectoryManager.expireAllPasswords(long directoryId)
Sets the
UserConstants.REQUIRES_PASSWORD_CHANGE attribute to true for
all users in the directory |
Set<String> |
DirectoryManagerGeneric.filterNestedUserMembersOfGroups(long directoryId,
Set<String> userNames,
Set<String> groupNames) |
Set<String> |
DirectoryManager.filterNestedUserMembersOfGroups(long directoryId,
Set<String> userNames,
Set<String> groupNames)
Returns names of users who are (nested) members of any of the specified groups.
|
Group |
DirectoryManagerGeneric.findGroupByName(long directoryId,
String groupName) |
Group |
DirectoryManager.findGroupByName(long directoryId,
String groupName)
Returns the group matching the supplied groupName in the directory specified by the passed in
directoryId .. |
GroupWithAttributes |
DirectoryManagerGeneric.findGroupWithAttributesByName(long directoryId,
String groupName) |
GroupWithAttributes |
DirectoryManager.findGroupWithAttributesByName(long directoryId,
String groupName)
Returns the group with all attributes matching the supplied groupName in the directory specified by the passed in
directoryId .. |
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 .. |
UserWithAttributes |
DirectoryManagerGeneric.findUserWithAttributesByExternalId(long directoryId,
String externalId) |
UserWithAttributes |
DirectoryManager.findUserWithAttributesByExternalId(long directoryId,
String externalId)
Returns the user (with attributes) matching the supplied external ID in the directory specified by the
passed in
directoryId . |
UserWithAttributes |
DirectoryManagerGeneric.findUserWithAttributesByName(long directoryId,
String username) |
UserWithAttributes |
DirectoryManager.findUserWithAttributesByName(long directoryId,
String username)
Returns the user with all attributes matching the supplied username in the directory specified by the passed in
directoryId .. |
Collection<User> |
MembershipService.getDirectUsersFromGroup(long directoryId,
String groupName,
int startIndex,
int maxResults)
Returns direct members of a group (excluding nested members)
|
DirectoryGroup |
MembershipService.getGroupDetails(long directoryId,
String groupName)
Returns details of specific group
|
AvatarReference |
DirectoryManagerGeneric.getUserAvatarByName(long directoryId,
String username,
int sizeHint) |
AvatarReference |
DirectoryManager.getUserAvatarByName(long directoryId,
String username,
int sizeHint)
Return an avatar, if available, for the named user in the specified directory.
|
boolean |
DirectoryManagerGeneric.isGroupDirectGroupMember(long directoryId,
String childGroup,
String parentGroup) |
boolean |
DirectoryManager.isGroupDirectGroupMember(long directoryId,
String childGroup,
String parentGroup)
Returns
true if the childGroup is a direct member of the parentGroup in the directory specified by the passed in directoryId . |
boolean |
DirectoryManagerGeneric.isGroupNestedGroupMember(long directoryId,
String childGroupName,
String parentGroupName) |
boolean |
DirectoryManager.isGroupNestedGroupMember(long directoryId,
String childGroup,
String parentGroup)
Returns
true if the childGroup is a direct or indirect (nested) member of the parentGroup in the directory specified by the passed in directoryId . |
boolean |
DirectoryManagerGeneric.isUserDirectGroupMember(long directoryId,
String username,
String groupName) |
boolean |
DirectoryManager.isUserDirectGroupMember(long directoryId,
String username,
String groupName)
Returns
true if the user is a direct member of the group in the directory specified by the passed in directoryId . |
boolean |
DirectoryManagerGeneric.isUserNestedGroupMember(long directoryId,
String username,
Set<String> groupNames) |
boolean |
DirectoryManager.isUserNestedGroupMember(long directoryId,
String username,
Set<String> groupNames)
Returns
true if the user is a direct or indirect (nested) member of any of the specified groups in the directory specified by the passed in directoryId . |
boolean |
DirectoryManagerGeneric.isUserNestedGroupMember(long directoryId,
String username,
String groupName) |
boolean |
DirectoryManager.isUserNestedGroupMember(long directoryId,
String username,
String groupName)
Returns
true if the user is a direct or indirect (nested) member of the group in the directory specified by the passed in directoryId . |
void |
DirectoryManagerGeneric.removeGroup(long directoryId,
String groupName) |
void |
DirectoryManager.removeGroup(long directoryId,
String groupName)
Removes a group matching the supplied groupName in the directory specified by the passed in
directoryId . |
void |
DirectoryManagerGeneric.removeGroupAttributes(long directoryId,
String groupName,
String attributeName) |
void |
DirectoryManager.removeGroupAttributes(long directoryId,
String groupName,
String attributeName)
Removes a group's attribute values in the directory specified by the passed in
directoryId . |
void |
DirectoryManagerGeneric.removeGroupFromGroup(long directoryId,
String childGroup,
String parentGroup) |
void |
DirectoryManager.removeGroupFromGroup(long directoryId,
String childGroup,
String parentGroup)
Removes an existing child group from being a direct member of an existing parent group in the directory specified by the passed in
directoryId . |
void |
DirectoryManagerGeneric.removeUser(long directoryId,
String username) |
void |
DirectoryManager.removeUser(long directoryId,
String username)
Removes a user matching the supplied username in the directory specified by the passed in
directoryId . |
void |
DirectoryManagerGeneric.removeUserAttributes(long directoryId,
String username,
String attributeName) |
void |
DirectoryManager.removeUserAttributes(long directoryId,
String username,
String attributeName)
Removes a user's attribute values in the directory specified by the passed in
directoryId . |
void |
DirectoryManagerGeneric.removeUserFromGroup(long directoryId,
String username,
String groupName) |
void |
DirectoryManager.removeUserFromGroup(long directoryId,
String username,
String groupName)
Removes an existing user from being a direct member of an existing group in the directory specified by the passed in
directoryId . |
BatchResult<BatchResultEntityWithCause> |
MembershipService.removeUserFromGroups(long directoryId,
String username,
List<String> groupNames)
Removes single supplied user from multiple groups
|
BatchResult<BatchResultEntityWithCause> |
MembershipService.removeUsersFromGroup(long directoryId,
List<String> usernames,
String groupName)
Removes multiple users from the supplied group
|
Group |
DirectoryManagerGeneric.renameGroup(long directoryId,
String oldGroupname,
String newGroupname) |
Group |
DirectoryManager.renameGroup(long directoryId,
String oldGroupname,
String newGroupname)
Renames a group 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 . |
<T> List<T> |
DirectoryManagerGeneric.searchDirectGroupRelationships(long directoryId,
MembershipQuery<T> query) |
<T> List<T> |
DirectoryManager.searchDirectGroupRelationships(long directoryId,
MembershipQuery<T> query)
Searches for direct group relationships in the directory specified by the passed in
directoryId . |
<T> List<T> |
DirectoryManagerGeneric.searchGroups(long directoryId,
EntityQuery<T> query) |
<T> List<T> |
DirectoryManager.searchGroups(long directoryId,
EntityQuery<T> query)
Returns a list of groups matching the given query in the directory specified by the passed in
directoryId . |
<T> List<T> |
DirectoryManagerGeneric.searchNestedGroupRelationships(long directoryId,
MembershipQuery<T> query) |
<T> List<T> |
DirectoryManager.searchNestedGroupRelationships(long directoryId,
MembershipQuery<T> query)
Searches for direct and indirect (nested) group relationships in the directory specified by the passed in
directoryId . |
<T> List<T> |
DirectoryManagerGeneric.searchUsers(long directoryId,
EntityQuery<T> query) |
<T> List<T> |
DirectoryManager.searchUsers(long directoryId,
EntityQuery<T> query)
Returns a list of users matching the given query in the directory specified by the passed in
directoryId . |
void |
DirectoryManagerGeneric.storeGroupAttributes(long directoryId,
String groupName,
Map<String,Set<String>> attributes) |
void |
DirectoryManager.storeGroupAttributes(long directoryId,
String groupName,
Map<String,Set<String>> attributes)
Adds or updates a group's attributes with the new Map of attribute values in the directory specified by the passed in
directoryId . |
void |
DirectoryManagerGeneric.storeUserAttributes(long directoryId,
String username,
Map<String,Set<String>> attributes) |
void |
DirectoryManager.storeUserAttributes(long directoryId,
String username,
Map<String,Set<String>> attributes)
Adds or updates a user's attributes with the new Map of attribute values in the directory specified by the passed in
directoryId . |
void |
DirectorySynchroniser.synchronise(SynchronisableDirectory synchronisableDirectory,
SynchronisationMode mode)
Executes a synchronisation in the current thread.
|
void |
DirectorySynchroniserImpl.synchronise(SynchronisableDirectory remoteDirectory,
SynchronisationMode mode)
Synchronises a remote directory.
|
void |
DirectoryManagerGeneric.synchroniseCache(long directoryId,
SynchronisationMode mode) |
void |
DirectoryManager.synchroniseCache(long directoryId,
SynchronisationMode mode)
Requests that this directory should update its cache by synchronising with the remote User data.
|
void |
DirectoryManagerGeneric.synchroniseCache(long directoryId,
SynchronisationMode mode,
boolean runInBackground) |
void |
DirectoryManager.synchroniseCache(long directoryId,
SynchronisationMode mode,
boolean runInBackground)
Requests that this directory should update its cache by synchronising with the remote User data.
|
Group |
DirectoryManagerGeneric.updateGroup(long directoryId,
GroupTemplate group) |
Group |
DirectoryManager.updateGroup(long directoryId,
GroupTemplate group)
Updates a group with the supplied template and returns the updated group retrieved from 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 . |
void |
DirectoryManagerGeneric.updateUserCredential(long directoryId,
String username,
PasswordCredential credential) |
void |
DirectoryManager.updateUserCredential(long directoryId,
String username,
PasswordCredential credential)
This will update the user's credential in the given 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 |
---|---|
boolean |
NestedGroupsIterator.anyMatch(NestedGroupsIterator.PredicateWithException<T> consumer) |
com.google.common.collect.ListMultimap<String,Group> |
CachedMultipleGroupsProvider.getDirectlyRelatedGroups(Collection<String> names) |
List<Group> |
NestedGroupsProvider.getDirectlyRelatedGroups(Collection<String> ids)
Returns list of directly related groups (e.g.
|
boolean |
NestedGroupsIterator.hasNext() |
T |
NestedGroupsIterator.next() |
List<T> |
NestedGroupsIterator.nextBatch(int maxBatchSize) |
boolean |
NestedGroupsIterator.PredicateWithException.test(T t) |
List<T> |
NestedGroupsIterator.toList() |
void |
NestedGroupsIterator.visitAll() |
Modifier and Type | Method and Description |
---|---|
void |
ForgottenLoginManagerImpl.resetUserCredential(long directoryId,
String username,
PasswordCredential credential,
String token) |
void |
ForgottenLoginManager.resetUserCredential(long directoryId,
String username,
PasswordCredential credential,
String token)
Resets the user credentials and invalidates the token.
|
void |
ForgottenLoginManagerImpl.sendResetLink(long directoryId,
String username,
int tokenExpirySeconds) |
void |
ForgottenLoginManager.sendResetLink(long directoryId,
String username,
int tokenExpirySeconds)
Sends a reset link to the user with specified username and directory ID.
|
Modifier and Type | Method and Description |
---|---|
BatchResult<BatchResultEntityWithCause> |
MembershipServiceImpl.addUsersToGroup(long directoryId,
List<String> usernames,
String groupName) |
BatchResult<BatchResultEntityWithCause> |
MembershipServiceImpl.addUserToGroups(long directoryId,
String username,
List<String> groupNames) |
List<User> |
MembershipServiceImpl.getDirectUsersFromGroup(long directoryId,
String groupName,
int startIndex,
int maxResults) |
DirectoryGroup |
MembershipServiceImpl.getGroupDetails(long directoryId,
String groupName) |
BatchResult<BatchResultEntityWithCause> |
MembershipServiceImpl.removeUserFromGroups(long directoryId,
String username,
List<String> groupNames) |
BatchResult<BatchResultEntityWithCause> |
MembershipServiceImpl.removeUsersFromGroup(long directoryId,
List<String> usernames,
String groupName) |
Modifier and Type | Method and Description |
---|---|
List<UserGroupAdministrationMapping> |
GroupAdministrationPermissionService.getAdministeredGroups(User user,
AdministeredGroupsQuery query)
Looks for groups a user administers
|
List<UserGroupAdministrationMapping> |
GroupAdministrationPermissionService.getAdministeredGroupsForCurrentUser(AdministeredGroupsQuery query)
Looks for groups that currently logged in user administers
|
Set<User> |
UserPermissionServiceImpl.getGroupLevelAdmins(boolean considerOnlyTargetGroupsWithApplications) |
Set<User> |
UserPermissionService.getGroupLevelAdmins(boolean considerOnlyTargetGroupsWithApplications) |
GroupLevelAdminStats |
GroupLevelAdminStatsHelperImpl.getGroupLevelAdminStats(LocalDateTime upTo,
Set<Period> periods) |
GroupLevelAdminStats |
GroupLevelAdminStatsHelper.getGroupLevelAdminStats(LocalDateTime upTo,
Set<Period> periods)
Warning: this function is optimized for performance and clears the hibernate session!
|
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) |
boolean |
GroupAdministrationPermissionService.isCurrentUserAdminOfGroup(Group group)
Check if a current logged in user is an administrator of a group
|
boolean |
GroupAdministrationPermissionService.isUserAdminOfGroup(User user,
Group group)
Check if a user is an administrator of a group
|
boolean |
GroupAdministrationPermissionService.isUserGroupLevelAdmin(User user) |
void |
UserPermissionAdminServiceImpl.revokePermissionsForGroup(DirectoryGroup group) |
void |
UserPermissionAdminService.revokePermissionsForGroup(DirectoryGroup group)
Remove all permissions from the given group.
|
void |
UserPermissionAdminServiceImpl.setPermissionForGroups(List<? extends DirectoryGroup> directoryGroups,
UserPermission permission) |
void |
UserPermissionAdminService.setPermissionForGroups(List<? extends DirectoryGroup> directoryGroupPairs,
UserPermission permission)
Set the granted permissions for each directoryGroup to permission.
|
Modifier and Type | Method and Description |
---|---|
Group |
RecoveryModeRemoteDirectory.addGroup(GroupTemplate group) |
void |
RecoveryModeRemoteDirectory.addGroupToGroup(String childGroup,
String parentGroup) |
User |
RecoveryModeRemoteDirectory.addUser(UserTemplate user,
PasswordCredential credential) |
UserWithAttributes |
RecoveryModeRemoteDirectory.addUser(UserTemplateWithAttributes user,
PasswordCredential credential) |
void |
RecoveryModeRemoteDirectory.addUserToGroup(String username,
String groupName) |
User |
RecoveryModeRemoteDirectory.authenticate(String name,
PasswordCredential credential) |
BoundedCount |
RecoveryModeRemoteDirectory.countDirectMembersOfGroup(String groupName,
int querySizeHint) |
void |
RecoveryModeRemoteDirectory.expireAllPasswords() |
Group |
RecoveryModeRemoteDirectory.findGroupByName(String name) |
GroupWithAttributes |
RecoveryModeRemoteDirectory.findGroupWithAttributesByName(String name) |
User |
RecoveryModeRemoteDirectory.findUserByExternalId(String externalId) |
User |
RecoveryModeRemoteDirectory.findUserByName(String name) |
UserWithAttributes |
RecoveryModeRemoteDirectory.findUserWithAttributesByName(String name) |
Iterable<Membership> |
RecoveryModeRemoteDirectory.getMemberships() |
AvatarReference |
RecoveryModeRemoteDirectory.getUserAvatarByName(String username,
int sizeHint) |
boolean |
RecoveryModeRemoteDirectory.isGroupDirectGroupMember(String childGroup,
String parentGroup) |
boolean |
RecoveryModeRemoteDirectory.isUserDirectGroupMember(String username,
String groupName) |
void |
RecoveryModeRemoteDirectory.removeGroup(String name) |
void |
RecoveryModeRemoteDirectory.removeGroupAttributes(String groupName,
String attributeName) |
void |
RecoveryModeRemoteDirectory.removeGroupFromGroup(String childGroup,
String parentGroup) |
void |
RecoveryModeRemoteDirectory.removeUser(String name) |
void |
RecoveryModeRemoteDirectory.removeUserAttributes(String username,
String attributeName) |
void |
RecoveryModeRemoteDirectory.removeUserFromGroup(String username,
String groupName) |
Group |
RecoveryModeRemoteDirectory.renameGroup(String oldName,
String newName) |
User |
RecoveryModeRemoteDirectory.renameUser(String oldName,
String newName) |
<T> List<T> |
RecoveryModeRemoteDirectory.searchGroupRelationships(MembershipQuery<T> query) |
<T> List<T> |
RecoveryModeRemoteDirectory.searchGroups(EntityQuery<T> query) |
<T> List<T> |
RecoveryModeRemoteDirectory.searchUsers(EntityQuery<T> query) |
void |
RecoveryModeRemoteDirectory.storeGroupAttributes(String groupName,
Map<String,Set<String>> attributes) |
void |
RecoveryModeRemoteDirectory.storeUserAttributes(String username,
Map<String,Set<String>> attributes) |
void |
RecoveryModeRemoteDirectory.testConnection() |
Group |
RecoveryModeRemoteDirectory.updateGroup(GroupTemplate group) |
User |
RecoveryModeRemoteDirectory.updateUser(UserTemplate user) |
void |
RecoveryModeRemoteDirectory.updateUserCredential(String username,
PasswordCredential credential) |
Modifier and Type | Method and Description |
---|---|
void |
ApplicationSamlConfigurationServiceImpl.storeApplicationConfiguration(ApplicationSamlConfiguration configuration) |
void |
ApplicationSamlConfigurationService.storeApplicationConfiguration(ApplicationSamlConfiguration configuration)
Creates or updates SAML SSO configuration for an application
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
RecoveryModeAwareTokenAuthenticationManager.isAllowedToAuthenticate(String username,
long directoryId,
Application application) |
Modifier and Type | Method and Description |
---|---|
protected void |
XmlMigrationManagerImpl.cleanDatabase() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
OperationFailedExceptionMapper.toResponse(OperationFailedException exception) |
Modifier and Type | Method and Description |
---|---|
void |
GroupsController.addDirectChildGroup(String groupName,
String childGroupName)
Adds a direct child group membership.
|
void |
GroupsController.addDirectParentGroup(String groupName,
String parentGroupName)
Adds a direct parent group membership.
|
void |
GroupsController.addDirectUser(String groupName,
String username)
Adds user as direct member of group.
|
GroupEntity |
GroupsController.addGroup(GroupEntity group,
com.atlassian.plugins.rest.common.Link groupLink)
Adds a new group.
|
UserEntity |
UsersController.addUser(UserEntity userEntity,
com.atlassian.plugins.rest.common.Link userLink)
Adds a new user.
|
void |
UsersController.addUserToGroup(String userName,
String groupName)
Adds a user to a group.
|
UserEntity |
AuthenticationController.authenticateUser(String username,
PasswordEntity password,
URI baseUri)
Authenticates the user with the given
username and password . |
SessionEntity |
TokenController.authenticateUser(String username,
String password,
TokenLifetime tokenDuration,
Collection<ValidationFactorEntity> validationFactorEntities,
URI baseUri)
Authenticates a user for the given application.
|
SessionEntity |
TokenController.authenticateUserWithoutValidatingPassword(String username,
Collection<ValidationFactorEntity> validationFactorEntities,
URI baseUri)
Feigns the authentication process for a user and creates a token for the authentication without validating the password.
|
void |
UsersController.clearUserPassword(String username)
Clears a user's password, so that the user cannot authenticate with any password.
|
void |
GroupsController.deleteDirectChildGroup(String groupName,
String childGroupName)
Deletes a child group membership.
|
void |
GroupsController.deleteDirectUser(String groupName,
String username)
Removes the user membership.
|
void |
UsersController.expireAllPasswords()
Expires all passwords for all directories which are part of this application, regardless of
group mapping.
|
URI |
UsersController.getAvatarForUser(String username,
int sizeHint) |
EventEntityList |
EventsController.getEventsSince(String eventToken,
URI baseURI) |
SessionEntity |
TokenController.getSessionFromToken(String tokenKey,
URI baseUri)
Returns the session associated with the Crowd SSO token.
|
void |
GroupsController.removeGroup(String groupName)
Removes a group.
|
void |
GroupsController.removeGroupAttributes(String groupName,
String attributeName)
Removes a group's attribute.
|
void |
UsersController.removeUser(String username)
Removes the user.
|
void |
UsersController.removeUserAttribute(String username,
String attributeName)
Removes the user attribute.
|
void |
UsersController.removeUserFromGroup(String userName,
String groupName)
Removes a user from a group.
|
UserEntity |
UsersController.renameUser(String oldUsername,
com.atlassian.plugins.rest.common.Link userLink,
String newUsername)
Renames a user.
|
void |
GroupsController.storeGroupAttributes(String groupName,
MultiValuedAttributeEntityList attributes)
Stores the attributes for a group.
|
void |
UsersController.storeUserAttributes(String username,
MultiValuedAttributeEntityList attributes)
Stores (add/replace) the user attributes.
|
void |
DirectoryController.testLdapSearch(LdapSearchTestEntity configuration) |
void |
DirectoryController.testLdapSearch(LdapSearchTestEntity configuration,
Long id) |
SendTestMailResultEntity |
MailServerController.testMailServer(MailServerConfigurationEntity connectionTestData) |
void |
SamlConfigurationController.updateApplicationConfiguration(long applicationId,
ApplicationSamlConfigurationRestEntity entity) |
GroupEntity |
GroupsController.updateGroup(GroupEntity group,
URI baseURI)
Updates a group.
|
String |
UsersController.updateUser(UserEntity userEntity)
Updates a user.
|
void |
UsersController.updateUserPassword(String username,
String password)
Updates a user's password.
|
UserEntity |
AuthenticationController.userAuthenticated(String username,
URI baseUri) |
SessionEntity |
TokenController.validateToken(String token,
Collection<ValidationFactorEntity> validationFactorEntities,
URI baseUri)
Validates a Crowd SSO token and creates a new token with an updated last accessed date (for the internal token representation).
|
Modifier and Type | Method and Description |
---|---|
void |
AccountManagementController.changePassword(String username,
String originalPassword,
String newPassword) |
void |
AccountManagementController.resetPassword(String username,
long directoryId,
String password,
String token) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
EventsResource.getEvents(String eventToken) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
ApplicationAdminResource.addApplicationDirectoryMapping(long applicationId,
DirectoryMappingEntity directoryMappingEntity)
Adds a directory mapping to the specified application.
|
BatchResultWithFailureReasonsRestDto<DirectoryEntityRestDTO> |
GroupLevelAdminResource.addGroupAdministrators(DirectoryEntityId groupId,
List<DirectoryEntityRestDTO> grantEntities)
Grants the rights to administer the specified group to the specified directory entities
|
javax.ws.rs.core.Response |
UserAdminResource.addUserToGroups(DirectoryEntityId userId,
GroupIdentifiersEntityList groups)
Adds single user to multiple groups placed in the same directory
|
javax.ws.rs.core.Response |
GroupLevelAdminResource.deleteGroupGroupAdministrator(DirectoryEntityId targetGroupId,
DirectoryEntityId adminId)
Revokes the rights to administer the given group from the specified group
|
javax.ws.rs.core.Response |
GroupLevelAdminResource.deleteUserGroupAdministrator(DirectoryEntityId targetGroupId,
DirectoryEntityId adminId)
Revokes the rights to administer the given group from the specified user
|
RestPage<GroupAdministrationMappingRestDTO> |
GroupLevelAdminResource.getAdminCandidates(DirectoryEntityId groupId,
String search,
int limit)
Returns users and groups that can become admins of the given group.
|
RestPage<GroupAdministrationMappingRestDTO> |
GroupLevelAdminResource.getGroupAdministrators(DirectoryEntityId groupId,
RestPageRequest pageRequest)
Lists the group-level admins for the specified group
|
RestPage<DirectoryData> |
DirectoryAdminResource.getManagedDirectories(RestPageRequest restPageRequest)
Lists the directories managed by the logged in user
|
javax.ws.rs.core.Response |
UserAdminResource.removeUserFromGroups(DirectoryEntityId userId,
GroupIdentifiersEntityList groups)
Removes multiple users from single group placed in the same directory
|
RestPage<GroupSearchResultEntity> |
GroupAdminResource.searchDirectoryGroups(long dirId,
String term,
RestPageRequest pageRequest)
Searches the given directory for groups matching the search term.
|
javax.ws.rs.core.Response |
UserAdminResource.searchUsers(RestPageRequest pageRequest,
UserSearchParams params)
Returns users that can be assigned by to any group administered by the current user.
|
javax.ws.rs.core.Response |
MailServerResource.testMailServerConnection(MailServerConfigurationEntity connectionTestData)
Tests connection to the specified SMTP server.
|
DirectoryMappingEntity |
ApplicationAdminResource.updateApplicationDirectoryMapping(long applicationId,
long directoryId,
DirectoryMappingEntity directoryMappingEntity)
Updates the specified directory mapping.
|
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
DirectoryResource.testAzureAdConnection(AzureAdConnectionTestEntity connectionTestData)
Tests connection to the specified Azure Active Directory.
|
javax.ws.rs.core.Response |
DirectoryResource.testAzureAdConnection(Long id,
AzureAdConnectionTestEntity connectionTestData)
Tests connection to the specified Azure Active Directory.
|
javax.ws.rs.core.Response |
DirectoryResource.testCrowdConnection(CrowdConnectionTestEntity connectionTestData)
Tests connection to the specified Remote Crowd directory
|
javax.ws.rs.core.Response |
DirectoryResource.testCrowdConnection(Long id,
CrowdConnectionTestEntity connectionTestData)
Tests connection to the specified Remote Crowd directory.
|
javax.ws.rs.core.Response |
DirectoryResource.testLdapConnection(LdapConnectionTestEntity connectionTestData)
Tests connection to the specified LDAP server.
|
javax.ws.rs.core.Response |
DirectoryResource.testLdapConnection(Long id,
LdapConnectionTestEntity connectionTestData)
Tests connection to the specified LDAP server.
|
javax.ws.rs.core.Response |
DirectoryResource.testSearch(LdapSearchTestEntity ldapConfiguration)
Tests search with the provided LDAP directory configuration
|
javax.ws.rs.core.Response |
DirectoryResource.testSearch(LdapSearchTestEntity ldapConfiguration,
Long id)
Tests search with the provided LDAP directory configuration.
|
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
GroupsMembershipResource.addUsersToGroup(DirectoryEntityId groupId,
UserIdentifiersEntityList users)
Adds multiple users to a single group placed in the same directory
|
javax.ws.rs.core.Response |
GroupsMembershipResource.groupDetails(DirectoryEntityId groupId)
Returns group details
|
javax.ws.rs.core.Response |
GroupsMembershipResource.groupMembers(DirectoryEntityId groupId,
RestPageRequest pageRequest)
Returns group's direct members (users).
|
javax.ws.rs.core.Response |
GroupsMembershipResource.removeUsersFromGroup(DirectoryEntityId groupId,
UserIdentifiersEntityList users)
Removes multiple users from single group placed in the same directory
|
javax.ws.rs.core.Response |
GroupsMembershipResource.searchAdministeredGroups(RestPageRequest pageRequest,
GroupsFilter groupsFilter)
Returns groups that are administered by logged in user
|
javax.ws.rs.core.Response |
GroupsMembershipResource.searchUsers(DirectoryEntityId groupId,
String userSearch,
int limit)
Returns users that can be assigned to the given group.
|
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
UserPermissionAdminResource.revokePermissions(RestDirectoryGroup group) |
javax.ws.rs.core.Response |
UserPermissionAdminResource.setPermissions(String permissionName,
List<RestDirectoryGroup> groups) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
SamlConfigurationResource.updateApplicationConfiguration(long applicationId,
ApplicationSamlConfigurationRestEntity config)
Updates SAML configuration.
|
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
GroupsResource.addDirectChildGroupMembership(String groupName,
GroupEntity childGroup)
Adds a direct child group membership.
|
javax.ws.rs.core.Response |
GroupsResource.addDirectParentGroupMembership(String groupName,
GroupEntity parentGroup)
Adds a direct parent group membership.
|
javax.ws.rs.core.Response |
GroupsResource.addGroup(GroupEntity restGroup)
Adds a new group.
|
javax.ws.rs.core.Response |
UsersResource.addUser(UserEntity userEntity)
Creates a new user
|
javax.ws.rs.core.Response |
GroupsResource.addUserAsDirectGroupMember(String groupName,
UserEntity user)
Adds a user as a direct member of the specified group.
|
javax.ws.rs.core.Response |
UsersResource.addUserToGroup(String userName,
GroupEntity parentGroup)
Adds a user as a direct member of the group
|
javax.ws.rs.core.Response |
TokenResource.authenticateUser(AuthenticationContextEntity authenticationContext,
boolean validatePassword,
long durationInSeconds)
Create new session token valid for duration seconds, or for the server default session timeout if no duration is specified
or if duration is longer than the server default session timeout.
|
javax.ws.rs.core.Response |
AuthenticationResource.authenticateUser(String username,
PasswordEntity password)
Authenticates a user.
|
javax.ws.rs.core.Response |
GroupsResource.deleteGroupAttribute(String groupname,
String attributeName)
Deletes a group attribute.
|
javax.ws.rs.core.Response |
UsersResource.deleteUserPassword(String userName)
Deletes a user password.
|
javax.ws.rs.core.Response |
UsersResource.expireAllPasswords(boolean confirm)
Expires all passwords for all directories which are part of this application, regardless of
group mapping.
|
javax.ws.rs.core.Response |
UsersResource.getAvatarForUser(String username,
int size)
Returns the url of the user's avatar
|
javax.ws.rs.core.Response |
GroupsResource.getDirectChildrenOfGroup(String groupName,
String childGroupName,
int startIndex,
int maxResults)
Retrieves the groups that are direct children of the specified group or a single direct child of that group with the specified name.
|
javax.ws.rs.core.Response |
GroupsResource.getDirectMembersOfGroup(String groupName,
String username,
int startIndex,
int maxResults)
Retrieves the users that are direct members of the specified group or a specified user who is a direct member of that group.
|
javax.ws.rs.core.Response |
GroupsResource.getDirectParentsOfGroup(String groupName,
String childGroupName,
int startIndex,
int maxResults)
Retrieves the groups that are direct parents of the specified group or a direct parent group of the specified child group.
|
javax.ws.rs.core.Response |
GroupsResource.getGroup(String groupName)
Retrieves a group.
|
javax.ws.rs.core.Response |
GroupsResource.getGroupAttributes(String groupName)
Retrieves a list of group attributes.
|
javax.ws.rs.core.Response |
GroupsResource.getNestedChildrenOfGroup(String groupName,
String childGroupName,
int startIndex,
int maxResults)
Retrieves nested children of the specified group or a single nested child of that group with the specified name.
|
javax.ws.rs.core.Response |
GroupsResource.getNestedMembersOfGroup(String groupName,
String username,
int startIndex,
int maxResults)
Retrieves the users that are nested members of the specified group or a single user who is a nested member of the specified group.
|
javax.ws.rs.core.Response |
GroupsResource.getNestedParentGroups(String groupName,
String parentGroupName,
int startIndex,
int maxResults)
Retrieves the groups that are nested parents of the specified group or a single nested parent of that group with the specified name.
|
javax.ws.rs.core.Response |
TokenResource.getSession(String token)
Retrieves the token with the authenticated user expanded.
|
javax.ws.rs.core.Response |
GroupsResource.removeDirectChildGroupMembership(String groupName,
String childGroupName)
Deletes a child group membership.
|
javax.ws.rs.core.Response |
GroupsResource.removeDirectGroupMembership(String groupName,
String username)
Removes the user membership.
|
javax.ws.rs.core.Response |
GroupsResource.removeGroup(String groupname)
Deletes a group.
|
javax.ws.rs.core.Response |
UsersResource.removeUser(String userName)
Removes a user.
|
javax.ws.rs.core.Response |
UsersResource.removeUserAttribute(String userName,
String attributeName)
Deletes a user attribute.
|
javax.ws.rs.core.Response |
UsersResource.removeUserFromGroup(String userName,
String groupName)
Removes a user from a group.
|
javax.ws.rs.core.Response |
UsersResource.renameUser(String userName,
RenameEntity newUserName)
Renames a user.
|
javax.ws.rs.core.Response |
UsersResource.requestPasswordReset(String userName)
Sends the user a password reset link to the user's email address
|
javax.ws.rs.core.Response |
GroupsResource.storeGroupAttributes(String groupname,
MultiValuedAttributeEntityList attributes)
Stores the group attributes.
|
javax.ws.rs.core.Response |
UsersResource.storeUserAttributes(String userName,
MultiValuedAttributeEntityList attributes)
Stores the user attributes.
|
javax.ws.rs.core.Response |
GroupsResource.updateGroup(String groupName,
GroupEntity restGroup)
Updates an existing group.
|
javax.ws.rs.core.Response |
UsersResource.updateUser(String userName,
UserEntity userEntity)
Updates a user.
|
javax.ws.rs.core.Response |
UsersResource.updateUserPassword(String userName,
PasswordEntity password)
Updates a user password.
|
javax.ws.rs.core.Response |
AuthenticationResource.userAuthenticated(String username)
Notifies Crowd that a user has logged into an application, using a method different than the default
/authentication or /session resources.
|
javax.ws.rs.core.Response |
TokenResource.validateToken(String token,
ValidationFactorEntityList validationFactors)
Validates the session token.
|
Modifier and Type | Method and Description |
---|---|
static UserEntity |
UserEntityUtil.expandUser(DirectoryManager directoryManager,
long directoryId,
UserEntity minimalUserEntity,
boolean expandAttributes) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
TestkitApplicationResource.addDefaultGroup(Long applicationId,
DefaultGroupMembershipConfigurationEntry entry) |
javax.ws.rs.core.Response |
TestkitApplicationResource.deleteDefaultGroups(Long applicationId,
String directoryId) |
javax.ws.rs.core.Response |
TestkitApplicationResource.findDefaultGroups(Long applicationId,
String directoryId) |
javax.ws.rs.core.Response |
TestkitDirectoryResource.syncDirectory(long directoryId,
SynchronisationMode mode) |
Modifier and Type | Method and Description |
---|---|
boolean |
LDAPConfigurationTesterImpl.canFindLdapObjects(RemoteDirectory remoteDirectory,
LDAPConfigurationTester.Strategy strategy) |
boolean |
LDAPConfigurationTester.canFindLdapObjects(RemoteDirectory remoteDirectory,
LDAPConfigurationTester.Strategy strategy) |
Modifier and Type | Method and Description |
---|---|
static <T> List<T> |
QuerySplitter.batchConditionsIfNeeded(EntityQuery<T> query,
QuerySplitter.Searcher<T> searcher,
int maxRestrictionsPerQuery)
Splits the query if needed, executes it, aggregates and returns results.
|
List<T> |
QuerySplitter.Searcher.search(EntityQuery<T> query) |
Modifier and Type | Method and Description |
---|---|
void |
AuthenticatorUserCache.fetchInCache(String username)
Fetches a user with the given username in the cache, in case the user
exists, but cannot be found from the cache yet.
|
List<Group> |
DirectoryEntitySearchServiceImpl.searchGroups(EntityQuery<Group> query,
List<Directory> optionalDirectories) |
List<Group> |
DirectoryEntitySearchService.searchGroups(EntityQuery<Group> groupsQuery,
List<Directory> directoriesRestriction)
Returns groups matching
groupsQuery . |
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 |
---|---|
void |
CrowdClient.addGroup(Group group)
Adds a group to the remote Crowd server.
|
void |
CrowdClient.addGroupToGroup(String childGroup,
String parentGroup)
Adds a group to a group.
|
UserWithAttributes |
CrowdClient.addUser(User user,
PasswordCredential passwordCredential)
Deprecated.
|
UserWithAttributes |
CrowdClient.addUser(UserWithAttributes user,
PasswordCredential passwordCredential)
Adds a new User to the remote Crowd server and will attempt to add the attributes atomically, but for Crowd servers < v2.9.0
atomic attribute adding may not be supported.
|
void |
CrowdClient.addUserToGroup(String username,
String groupName)
Adds a user to a group.
|
String |
CrowdClient.authenticateSSOUser(UserAuthenticationContext userAuthenticationContext)
Authenticates a Single-Sign-On (SSO) User.
|
String |
CrowdClient.authenticateSSOUser(UserAuthenticationContext userAuthenticationContext,
long duration)
Authenticates a Single-Sign-On (SSO) User.
|
String |
CrowdClient.authenticateSSOUserWithoutValidatingPassword(UserAuthenticationContext userAuthenticationContext)
Authenticates a Single-Sign-On (SSO) User without validating password.
|
User |
CrowdClient.authenticateUser(String username,
String password)
Authenticates a user with the server.
|
void |
CrowdClient.expireAllPasswords()
Expires all passwords for all users in all directories for this application,
regardless of group membership.
|
User |
CrowdClient.findUserFromSSOToken(String token)
Returns the user from the specified user token.
|
List<Group> |
CrowdClient.getChildGroupsOfGroup(String groupName,
int startIndex,
int maxResults)
Searches for groups who are direct members of a group.
|
CookieConfiguration |
CrowdClient.getCookieConfiguration()
Returns the cookie configuration.
|
String |
CrowdClient.getCurrentEventToken()
Returns a token that can be used for querying events that have happened
after the token was generated.
|
Group |
CrowdClient.getGroup(String name)
Gets a group by name.
|
List<Group> |
CrowdClient.getGroupsForNestedUser(String userName,
int startIndex,
int maxResults)
Searches for groups that a user is a nested member of.
|
List<Group> |
CrowdClient.getGroupsForUser(String userName,
int startIndex,
int maxResults)
Searches for groups that a user is a direct member of.
|
List<GroupWithAttributes> |
CrowdClient.getGroupsWithAttributesForUser(String userName,
int startIndex,
int maxResults)
Searches for groups that a user is a member of, and returns those groups with all their attributes.
|
GroupWithAttributes |
CrowdClient.getGroupWithAttributes(String name)
Gets a group with attributes by name.
|
Iterable<Membership> |
CrowdClient.getMemberships()
Gets the full group membership details for all groups with all direct user members and child groups.
|
List<String> |
CrowdClient.getNamesOfChildGroupsOfGroup(String groupName,
int startIndex,
int maxResults)
Searches for groups who are direct members of a group, returning the group names.
|
List<String> |
CrowdClient.getNamesOfGroupsForNestedUser(String userName,
int startIndex,
int maxResults)
Searches for groups that a user is a nested member of, returning the group names.
|
List<String> |
CrowdClient.getNamesOfGroupsForUser(String userName,
int startIndex,
int maxResults)
Searches for groups that a user is a direct member of, returning the group names.
|
List<String> |
CrowdClient.getNamesOfNestedChildGroupsOfGroup(String groupName,
int startIndex,
int maxResults)
Searches for groups who are nested members of a group, returning the group names.
|
List<String> |
CrowdClient.getNamesOfNestedUsersOfGroup(String groupName,
int startIndex,
int maxResults)
Searches for users who are nested members of a group, returning the user names.
|
List<String> |
CrowdClient.getNamesOfParentGroupsForGroup(String groupName,
int startIndex,
int maxResults)
Searches for groups that a group is a direct member of, returning the group names.
|
List<String> |
CrowdClient.getNamesOfParentGroupsForNestedGroup(String groupName,
int startIndex,
int maxResults)
Searches for groups that a group is a nested member of, returning the group names.
|
List<String> |
CrowdClient.getNamesOfUsersOfGroup(String groupName,
int startIndex,
int maxResults)
Searches for users who are direct members of a group, returning the user names.
|
List<Group> |
CrowdClient.getNestedChildGroupsOfGroup(String groupName,
int startIndex,
int maxResults)
Searches for groups who are nested members of a group.
|
List<User> |
CrowdClient.getNestedUsersOfGroup(String groupName,
int startIndex,
int maxResults)
Searches for users who are nested members of a group.
|
Events |
CrowdClient.getNewEvents(String eventToken)
Returns an events object which contains a new eventToken and events that
happened after the given
eventToken was generated. |
List<Group> |
CrowdClient.getParentGroupsForGroup(String groupName,
int startIndex,
int maxResults)
Searches for groups that a group is a direct member of.
|
List<Group> |
CrowdClient.getParentGroupsForNestedGroup(String groupName,
int startIndex,
int maxResults)
Searches for groups that a group is a nested member of.
|
User |
CrowdClient.getUser(String name)
Gets a User by user name.
|
User |
CrowdClient.getUserByKey(String key)
Gets a User by key.
|
List<User> |
CrowdClient.getUsersOfGroup(String groupName,
int startIndex,
int maxResults)
Searches for users who are direct members of a group.
|
UserWithAttributes |
CrowdClient.getUserWithAttributes(String name)
Gets a User with Attributes by user name.
|
String |
CrowdClient.getWebhook(long webhookId)
Retrieves a Webhook endpoint URL.
|
void |
CrowdClient.invalidateSSOToken(String token)
Invalidates a token.
|
void |
CrowdClient.invalidateSSOTokensForUser(String username)
Invalidates all tokens for a given user name
|
void |
CrowdClient.invalidateSSOTokensForUser(String username,
String exclude)
Invalidates all tokens for a given user name, except for the given token.
|
boolean |
CrowdClient.isGroupDirectGroupMember(String childName,
String parentName)
Tests if a group is a direct member of a group.
|
boolean |
CrowdClient.isUserDirectGroupMember(String username,
String groupName)
Tests if a user is a direct member of a group.
|
boolean |
CrowdClient.isUserNestedGroupMember(String username,
String groupName)
Tests if a user is a nested member of a group.
|
long |
CrowdClient.registerWebhook(String endpointUrl,
String token)
Registers a new Webhook on the server.
|
void |
CrowdClient.removeGroup(String groupName)
Removes a group from the remote Crowd server
|
void |
CrowdClient.removeGroupAttributes(String groupName,
String attributeName)
Removes a group attribute (set) from the server.
|
void |
CrowdClient.removeGroupFromGroup(String childGroup,
String parentGroup)
Removes a group to a group.
|
void |
CrowdClient.removeUser(String username)
Removes a user from the remote Crowd server
|
void |
CrowdClient.removeUserAttributes(String username,
String attributeName)
Removes a user attribute from the server.
|
void |
CrowdClient.removeUserFromGroup(String username,
String groupName)
Removes a user from a group.
|
User |
CrowdClient.renameUser(String oldUsername,
String newUsername)
Renames a user on the remote Crowd server, initially finding them by their current username.
|
void |
CrowdClient.requestPasswordReset(String username)
Requests a password reset.
|
void |
CrowdClient.requestUsernames(String email)
Sends the usernames associated with the given email address.
|
List<String> |
CrowdClient.searchGroupNames(SearchRestriction searchRestriction,
int startIndex,
int maxResults)
Searches for group names matching the searchRestriction criteria.
|
List<Group> |
CrowdClient.searchGroups(SearchRestriction searchRestriction,
int startIndex,
int maxResults)
Searches for groups matching the following criteria.
|
List<GroupWithAttributes> |
CrowdClient.searchGroupsWithAttributes(SearchRestriction searchRestriction,
int startIndex,
int maxResults)
Searches for groups (with their attributes) matching the following criteria.
|
List<String> |
CrowdClient.searchUserNames(SearchRestriction searchRestriction,
int startIndex,
int maxResults)
Searches for usernames matching the searchRestriction criteria.
|
List<User> |
CrowdClient.searchUsers(SearchRestriction searchRestriction,
int startIndex,
int maxResults)
Searches for users matching the following criteria.
|
List<UserWithAttributes> |
CrowdClient.searchUsersWithAttributes(SearchRestriction searchRestriction,
int startIndex,
int maxResults)
Searches for users (with their attributes) matching the following criteria.
|
void |
CrowdClient.storeGroupAttributes(String groupName,
Map<String,Set<String>> attributes)
Stores the group's attributes on the remote Crowd server.
|
void |
CrowdClient.storeUserAttributes(String username,
Map<String,Set<String>> attributes)
Stores the user's attributes on the remote Crowd server.
|
void |
CrowdClient.testConnection()
Tests if the connection is OK.
|
void |
CrowdClient.unregisterWebhook(long webhookId)
Unregisters a Webhook on the server.
|
void |
CrowdClient.updateGroup(Group group)
Updates a group on the remote Crowd server.
|
void |
CrowdClient.updateUser(User user)
Updates a user on the remote Crowd server.
|
void |
CrowdClient.updateUserCredential(String username,
String password)
Updates the user's password on the remote Crowd server.
|
User |
CrowdClient.userAuthenticated(String username) |
void |
CrowdClient.validateSSOAuthentication(String token,
List<ValidationFactor> validationFactors)
Validates the SSO authentication.
|
Session |
CrowdClient.validateSSOAuthenticationAndGetSession(String token,
List<ValidationFactor> validationFactors)
Validates the SSO authentication.
|
Modifier and Type | Method and Description |
---|---|
List<UserGroupAdministrationMapping> |
GroupAdministrationPermissionServiceImpl.getAdministeredGroups(User user,
AdministeredGroupsQuery query) |
List<UserGroupAdministrationMapping> |
GroupAdministrationPermissionServiceImpl.getAdministeredGroupsForCurrentUser(AdministeredGroupsQuery query) |
boolean |
GroupAdministrationPermissionServiceImpl.isCurrentUserAdminOfGroup(Group group) |
boolean |
GroupAdministrationPermissionServiceImpl.isUserAdminOfGroup(User user,
Group group) |
boolean |
GroupAdministrationPermissionServiceImpl.isUserGroupLevelAdmin(User user) |
Modifier and Type | Method and Description |
---|---|
Set<String> |
AdminGroupChecker.getUnsafeAdminGroups(String username,
long directoryID,
List<String> selectedEntityNames) |
boolean |
AdminGroupChecker.isRemovingConsoleAdminFromLastAdminGroup(String groupname,
String consoleAdmin,
long directoryID) |
Modifier and Type | Method and Description |
---|---|
void |
SchemaHelper.createSchema()
Creates the schema in the database.
|
void |
SchemaHelper.updateSchemaIfNeeded()
If there are any updates to the Schema needed, do them.
|
Copyright © 2020 Atlassian. All rights reserved.