Modifier and Type | Method and Description |
---|---|
boolean |
BaseAction.authorisedToAccessCrowdAdminConsole(DirectoryMapping directoryMapping,
Long directoryId,
String username) |
protected boolean |
BaseAction.authorisedToAccessCrowdConsole(Long directoryId,
String name) |
List<T> |
Searcher.doSearchByApplication(long applicationId,
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<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 |
---|---|
boolean |
DirectoryImporter.determineIfNestedGroupImport() |
String |
CsvConfirmation.getDirectoryName() |
boolean |
DirectoryConfirmation.getDoNestedGroupImport() |
String |
DirectoryConfirmation.getSourceDirectoryName() |
String |
DirectoryConfirmation.getTargetDirectoryName() |
String |
DirectoryImporter.performImport() |
Modifier and Type | Method and Description |
---|---|
boolean |
BrowseDirectories.isCacheEnabled(BrowseDirectories.DirectoryForDisplay directory) |
Modifier and Type | Method and Description |
---|---|
protected void |
ViewGroupMembers.fetchGroupInformation() |
protected void |
ViewGroup.processGeneral() |
Modifier and Type | Method and Description |
---|---|
void |
ApplicationDAOHibernate.addDirectoryMapping(long applicationId,
long directoryId,
boolean allowAllToAuthenticate,
OperationType... operationTypes) |
void |
ApplicationDAO.addDirectoryMapping(long applicationId,
long directoryId,
boolean allowAllToAuthenticate,
OperationType... operationTypes)
Adds a mapping between application and directory.
|
void |
ApplicationDAOHibernate.updateDirectoryMapping(long applicationId,
long directoryId,
boolean allowAllToAuthenticate) |
void |
ApplicationDAO.updateDirectoryMapping(long applicationId,
long directoryId,
boolean allowAllToAuthenticate)
Updates a directory mapping.
|
void |
ApplicationDAOHibernate.updateDirectoryMapping(long applicationId,
long directoryId,
boolean allowAllToAuthenticate,
Set<OperationType> operationTypes) |
void |
ApplicationDAO.updateDirectoryMapping(long applicationId,
long directoryId,
boolean allowAllToAuthenticate,
Set<OperationType> operationTypes)
Updates a directory mapping.
|
void |
ApplicationDAOHibernate.updateDirectoryMapping(long applicationId,
long directoryId,
int position) |
void |
ApplicationDAO.updateDirectoryMapping(long applicationId,
long directoryId,
int position)
Updates the ordering of directory mappings for an application.
|
Modifier and Type | Method and Description |
---|---|
DirectoryImpl |
DirectoryDAOHibernate.findById(long id) |
DirectoryImpl |
DirectoryDAOHibernate.findByName(String name) |
void |
DirectoryDAOHibernate.remove(Directory directory) |
void |
DirectorySynchronisationTokenDaoHibernate.storeSynchronisationTokenForDirectory(long directoryId,
String synchronisationToken) |
DirectoryImpl |
DirectoryDAOHibernate.update(Directory directory) |
Modifier and Type | Method and Description |
---|---|
InternalGroup |
GroupDAOHibernate.add(Group group) |
BatchResult<Group> |
GroupDAOHibernate.addAll(Set<? extends Group> groups) |
InternalGroup |
GroupDAOHibernate.addLocal(Group group) |
Set<String> |
GroupDAOHibernate.getAllExternalIds(long directoryId) |
long |
GroupDAOHibernate.getExternalGroupCount(long directoryId) |
long |
GroupDAOHibernate.getGroupCount(long directoryId) |
Set<String> |
GroupDAOHibernate.getLocalGroupNames(long directoryId) |
Modifier and Type | Method and Description |
---|---|
InternalUser |
UserDAOHibernate.add(User user,
PasswordCredential credential) |
Set<String> |
UserDAOHibernate.getAllExternalIds(long directoryId) |
long |
UserDAOHibernate.getUserCount(long directoryId) |
void |
InternalUserDao.removeAll(long directoryId) |
Modifier and Type | Method and Description |
---|---|
protected Directory |
DbCachingRemoteChangeOperations.getDirectory() |
Modifier and Type | Method and Description |
---|---|
void |
AzureGroupFilterProcessor.configureGroupFilter(long directoryId,
AzureGroupFiltersConfiguration configuration) |
AzureGroupFiltersConfiguration |
AzureGroupFilterProcessor.getConfiguration(long directoryId) |
Modifier and Type | Method and Description |
---|---|
Group |
LocalGroupHandler.createLocalGroup(GroupTemplate groupTemplate)
Creates a local group with the supplied template.
|
Modifier and Type | Method and Description |
---|---|
Group |
GroupDao.add(Group group)
Adds a new group.
|
User |
UserDao.add(User user,
PasswordCredential credential)
Creates a new user with the given details and credentials.
|
BatchResult<Group> |
GroupDao.addAll(Set<? extends Group> groups)
Bulk add of groups.
|
Group |
GroupDao.addLocal(Group group)
Add a new local group.
|
Directory |
DirectoryDao.findById(long directoryId)
Returns the directory with the specified ID, throwing
DirectoryNotFoundException if it cannot be found. |
Directory |
DirectoryDao.findByName(String name)
Returns the directory with the specified name, throwing
DirectoryNotFoundException if it cannot be found. |
Set<String> |
GroupDao.getAllExternalIds(long directoryId)
Return all group externalId in the given directory.
|
Set<String> |
UserDao.getAllExternalIds(long directoryId)
Return all users externalId in the given directory.
|
long |
GroupDao.getExternalGroupCount(long directoryId)
Gets the count of external groups for a directory
|
long |
GroupDao.getGroupCount(long directoryId)
Return number of groups in given directory.
|
Set<String> |
GroupDao.getLocalGroupNames(long directoryId)
Return names of all local groups in given directory.
|
long |
UserDao.getUserCount(long directoryId)
Return number of users in given directory.
|
void |
DirectoryDao.remove(Directory directory)
Removes the specified directory from the data store.
|
void |
DirectorySynchronisationTokenDao.storeSynchronisationTokenForDirectory(long directoryId,
String synchronisationToken)
Store a new synchronisation token for the given directory.
|
Directory |
DirectoryDao.update(Directory directory)
Persists any changes made to the provided directory.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultGroupRemoverEventListener.handleEvent(GroupDeletedEvent groupDeletedEvent) |
Modifier and Type | Method and Description |
---|---|
void |
ApplicationManagerGeneric.addDirectoryMapping(Application application,
Directory directory,
boolean allowAllToAuthenticate,
OperationType... operationTypes) |
void |
ApplicationManager.addDirectoryMapping(Application application,
Directory directory,
boolean allowAllToAuthenticate,
OperationType... operationTypes)
Will add a DirectoryMapping between the passed in Application and Directory.
|
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.
|
void |
ApplicationManagerGeneric.updateDirectoryMapping(Application application,
Directory directory,
boolean allowAllToAuthenticate) |
void |
ApplicationManager.updateDirectoryMapping(Application application,
Directory directory,
boolean allowAllToAuthenticate)
Will update the Directory Mapping, setting to enable/disable allowing all users to authenticate for the given mapping (not taking group membership into consideration)
|
void |
ApplicationManagerGeneric.updateDirectoryMapping(Application application,
Directory directory,
boolean allowAllToAuthenticate,
Set<OperationType> operationTypes) |
void |
ApplicationManager.updateDirectoryMapping(Application application,
Directory directory,
boolean allowAllToAuthenticate,
Set<OperationType> operationTypes)
Will update a directory mapping against the Application moving it to the selected position in the list of DirectoryMappings.
|
void |
ApplicationManagerGeneric.updateDirectoryMapping(Application application,
Directory directory,
int position) |
void |
ApplicationManager.updateDirectoryMapping(Application application,
Directory directory,
int position)
Will update a directory mapping against the Application moving it to the selected position in the list of DirectoryMappings.
|
Modifier and Type | Method and Description |
---|---|
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.
|
protected boolean |
TokenAuthenticationManagerImpl.isAllowedToAuthenticate(String username,
long directoryId,
Application application)
Determines if a user is permitted to attempt authentication with a given 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.
|
Directory |
DirectorySynchroniserHelper.findDirectoryById(long directoryId)
Returns a Directory based on the passed in
directoryId . |
Directory |
DirectoryManagerGeneric.findDirectoryById(long directoryId) |
Directory |
DirectorySynchroniserHelperImpl.findDirectoryById(long directoryId) |
Directory |
DirectoryManager.findDirectoryById(long directoryID)
Returns a Directory based on the passed in
directoryId . |
Directory |
DirectoryManagerGeneric.findDirectoryByName(String name) |
Directory |
DirectoryManager.findDirectoryByName(String name)
Finds a directory given the supplied
name . |
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 .. |
DirectorySynchronisationInformation |
SynchronisationStatusManagerImpl.getDirectorySynchronisationInformation(long directoryId) |
DirectorySynchronisationInformation |
DirectoryManagerGeneric.getDirectorySynchronisationInformation(long directoryId) |
DirectorySynchronisationInformation |
SynchronisationStatusManager.getDirectorySynchronisationInformation(long directoryId)
Returns directory synchronisation information.
|
DirectorySynchronisationInformation |
DirectoryManager.getDirectorySynchronisationInformation(long directoryId)
Retrieves the sync info for the directory - last sync start time & duration, current sync start time (if directory is currently synchronising)
|
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
|
SynchronisationMode |
DirectoryManagerGeneric.getSynchronisationMode(long directoryId) |
SynchronisationMode |
DirectoryManager.getSynchronisationMode(long directoryId)
Returns the preferred synchronisation mode defined for the directory if
synchronisable , else null |
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.isSynchronisable(long directoryId) |
boolean |
DirectoryManager.isSynchronisable(long directoryId)
Returns true if the underlying directory implementation supports manual synchronisation of the directory's local cache.
|
boolean |
DirectorySynchroniserHelper.isSynchronising(long synchronisableDirectoryId)
Returns true if the given directory is currently being synchronised.
|
boolean |
DirectorySynchroniser.isSynchronising(long directoryId)
Returns whether the directory is currently synchronising.
|
boolean |
DirectoryManagerGeneric.isSynchronising(long directoryId) |
boolean |
DirectorySynchroniserHelperImpl.isSynchronising(long synchronisableDirectoryId) |
boolean |
DirectorySynchroniserImpl.isSynchronising(long directoryId) |
boolean |
DirectoryManager.isSynchronising(long directoryId)
Returns true if the given Directory is currently synchronising.
|
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.removeDirectory(Directory directory) |
void |
DirectoryManager.removeDirectory(Directory directory)
Removes a given directory and all its associated entities and mappings.
|
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 . |
boolean |
DirectoryManagerGeneric.supportsExpireAllPasswords(long directoryId) |
boolean |
DirectoryManager.supportsExpireAllPasswords(long directoryId)
Returns true if the underlying directory implementation supports expiring passwords
|
boolean |
DirectoryManagerGeneric.supportsNestedGroups(long directoryId) |
boolean |
DirectoryManager.supportsNestedGroups(long directoryId)
Returns true if the underlying directory implementation supports nested groups.
|
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.
|
Directory |
DirectoryManagerGeneric.updateDirectory(Directory directory) |
Directory |
DirectoryManager.updateDirectory(Directory directory)
Updates the passed in directory.
|
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 . |
void |
DirectorySynchroniserHelper.updateSyncEndTime(SynchronisableDirectory synchronisableDirectory)
Updates information relevant to a directory's current synchronisation end time.
|
void |
DirectorySynchroniserHelperImpl.updateSyncEndTime(SynchronisableDirectory synchronisableDirectory) |
void |
DirectorySynchroniserHelper.updateSyncStartTime(SynchronisableDirectory synchronisableDirectory)
Updates a
SynchronisableDirectory 's current synchronisation start time. |
void |
DirectorySynchroniserHelperImpl.updateSyncStartTime(SynchronisableDirectory synchronisableDirectory) |
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 |
---|---|
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 |
---|---|
void |
PermissionManagerImpl.addPermission(Directory directory,
OperationType operationType) |
void |
PermissionManager.addPermission(Directory directory,
OperationType operationType) |
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
|
void |
PermissionManagerImpl.removePermission(Directory directory,
OperationType operationType) |
void |
PermissionManager.removePermission(Directory directory,
OperationType operationType) |
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 |
---|---|
Directory |
RecoveryModeAwareDirectoryManager.findDirectoryById(long directoryId) |
Directory |
RecoveryModeAwareDirectoryManager.findDirectoryByName(String name) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
RecoveryModeAwareTokenAuthenticationManager.isAllowedToAuthenticate(String username,
long directoryId,
Application application) |
Modifier and Type | Method and Description |
---|---|
Directory |
DirectoryEntitiesTransformer.DirectoryFinder.findById(long id) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
DirectoryNotFoundExceptionMapper.toResponse(DirectoryNotFoundException exception) |
Modifier and Type | Method and Description |
---|---|
URI |
UsersController.getAvatarForUser(String username,
int sizeHint) |
void |
DirectoryController.testAzureAdConnection(AzureAdConnectionTestEntity connectionTestData,
Long id) |
void |
DirectoryController.testCrowdConnection(CrowdConnectionTestEntity connectionTestData,
Long id) |
void |
DirectoryController.testLdapConnection(LdapConnectionTestEntity connectionTestData,
Long id) |
void |
DirectoryController.testLdapSearch(LdapSearchTestEntity configuration,
Long id) |
Modifier and Type | Method and Description |
---|---|
void |
AccountManagementController.resetPassword(String username,
long directoryId,
String password,
String token) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.plugins.rest.common.Link |
ApplicationController.addApplication(ApplicationEntity applicationEntity,
URI baseUri)
Adds a new application.
|
com.atlassian.plugins.rest.common.Link |
ApplicationController.addApplicationWithRequestAddress(ApplicationEntity applicationEntity,
javax.servlet.http.HttpServletRequest request,
URI baseUri)
Adds a new application with the request address.
|
void |
ApplicationController.updateApplication(ApplicationEntity applicationEntity)
Updates an existing application.
|
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
|
javax.ws.rs.core.Response |
UserAdminResource.removeUserFromGroups(DirectoryEntityId userId,
GroupIdentifiersEntityList groups)
Removes multiple users from single group placed in the same directory
|
javax.ws.rs.core.Response |
ApplicationAdminResource.reorderApplicationDirectoryMapping(long applicationId,
long directoryId,
ReorderEntity reorderEntity)
Changes the position of the specified application-directory mapping
|
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.
|
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 |
ApplicationResource.addApplication(boolean includeRequestAddress,
ApplicationEntity applicationEntity)
Adds a new application.
|
javax.ws.rs.core.Response |
ApplicationResource.addRemoteAddress(long applicationId,
RemoteAddressEntity remoteAddressEntity)
Adds the remote address to the specified application.
|
javax.ws.rs.core.Response |
ApplicationResource.removeRemoteAddress(long applicationId,
String remoteAddress)
Removes the remote address of the specified application.
|
javax.ws.rs.core.Response |
ApplicationResource.updateApplication(long applicationId,
ApplicationEntity applicationEntity)
Updates the specified application.
|
Modifier and Type | Method and Description |
---|---|
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(Long id,
CrowdConnectionTestEntity connectionTestData)
Tests connection to the specified Remote Crowd directory.
|
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,
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 |
UsersResource.getAvatarForUser(String username,
int size)
Returns the url of the user's avatar
|
Modifier and Type | Method and Description |
---|---|
static UserEntity |
UserEntityUtil.expandUser(DirectoryManager directoryManager,
long directoryId,
UserEntity minimalUserEntity,
boolean expandAttributes) |
static Map<String,String> |
ApplicationEntityTranslator.populateDirectoryAttributesForSearchTest(LdapSearchTestEntity configuration,
Directory directory) |
static List<DirectoryMapping> |
ApplicationEntityTranslator.toDirectoryMappings(DirectoryMappingEntityList directoryMappingEntities,
Application application,
DirectoryManager directoryManager)
Translates from a
DirectoryMappingEntityList to a list of DirectoryMapping . |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
TestkitDirectoryResource.deleteDirectory(long directoryId) |
javax.ws.rs.core.Response |
TestkitDirectoryResource.getDirectory(long directoryId) |
javax.ws.rs.core.Response |
TestkitDirectoryResource.getDirectorySynchronisationStatus(long directoryId) |
Map<String,String> |
TestkitDirectoryResource.markSynchronizationFinished(long directoryId,
String syncToken) |
javax.ws.rs.core.Response |
TestkitDirectoryResource.syncDirectory(long directoryId,
SynchronisationMode mode) |
javax.ws.rs.core.Response |
TestkitApplicationResource.updateApplicationMappings(Long applicationId,
Long directoryId,
boolean allowAllToLogin) |
javax.ws.rs.core.Response |
TestkitDirectoryResource.updateDirectory(long directoryId,
DirectoryImpl directory) |
javax.ws.rs.core.Response |
TestkitDirectoryResource.updateDirectoryAttributes(long directoryId,
Map<String,String> attributes) |
javax.ws.rs.core.Response |
TestkitDirectoryResource.updateDirectoryPermissions(long directoryId,
Set<OperationType> operationTypes) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
SyncFeedback.getDirectory(Long id) |
Modifier and Type | Method and Description |
---|---|
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 |
DefaultDirectoryMembershipService.removeFromGroupsIfPresent(Directory directory,
String groupName)
Removes a group from default group list if it is there
|
void |
DefaultDirectoryMembershipServiceImpl.removeFromGroupsIfPresent(Directory directory,
String groupName) |
Modifier and Type | Method and Description |
---|---|
boolean |
GroupAdministrationPermissionServiceImpl.isCurrentUserAdminOfGroup(Group group) |
boolean |
GroupAdministrationPermissionServiceImpl.isUserAdminOfGroup(User user,
Group group) |
Modifier and Type | Method and Description |
---|---|
void |
UpgradeTask424.doUpgrade() |
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) |
Copyright © 2020 Atlassian. All rights reserved.