public class ApplicationDefaultGroupMembershipResolver extends Object implements DefaultGroupMembershipResolver
| Constructor and Description |
|---|
ApplicationDefaultGroupMembershipResolver(DefaultGroupMembershipService defaultGroupMembershipService,
DirectoryManager directoryManager) |
| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
getDefaultGroupNames(Application application,
Directory directory,
UserWithAttributes user)
Returns the default group memberships to which the user authenticating to the specified application should be added to.
|
void |
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
|
public ApplicationDefaultGroupMembershipResolver(DefaultGroupMembershipService defaultGroupMembershipService, DirectoryManager directoryManager)
public Collection<String> getDefaultGroupNames(Application application, Directory directory, UserWithAttributes user)
DefaultGroupMembershipResolvergetDefaultGroupNames in interface DefaultGroupMembershipResolverapplication - the application which user authenticates againstdirectory - the user's directoryuser - the userpublic void onDefaultGroupsAdded(Application application, Directory directory, UserWithAttributes user) throws OperationFailedException
DefaultGroupMembershipResolveronDefaultGroupsAdded in interface DefaultGroupMembershipResolverapplication - the application user authenticated againstdirectory - the user's directoryuser - the userOperationFailedExceptionCopyright © 2023 Atlassian. All rights reserved.