public class VoidProvisioner extends Provisioner<ProvisionerConfiguration,TargetSystemUser,TargetSystemGroup>
activeProvisioner, config, fullSyncMode, LOG, provisionerConfigName, provisionerDisplayName| Modifier and Type | Method and Description |
|---|---|
protected void |
addMembership(GrouperGroupInfo grouperGroupInfo,
TargetSystemGroup tsGroup,
Subject subject,
TargetSystemUser tsUser)
Action method that handles membership additions where a person-subject is added to a
group.
|
protected TargetSystemGroup |
createGroup(GrouperGroupInfo grouperGroup,
Collection initialMembers)
Provisioning a new Group in the target system.
|
protected void |
deleteGroup(GrouperGroupInfo grouperGroupInfo,
TargetSystemGroup tsGroup)
Action method that handles group removal.
|
protected void |
deleteMembership(GrouperGroupInfo grouperGroupInfo,
TargetSystemGroup tsGroup,
Subject subject,
TargetSystemUser tsUser)
Abstract action method that handles membership removals.
|
protected void |
doFullSync_cleanupExtraGroups(JobStatistics stats)
This method's responsibility is find extra groups within Grouper's responsibility that
exist in the target system.
|
protected boolean |
doFullSync(GrouperGroupInfo grouperGroupInfo,
TargetSystemGroup tsGroup,
Set correctSubjects,
Map tsUserMap,
Set correctTSUsers,
JobStatistics stats)
This method's responsibility is to make sure that group's only provisioned memberships are those
of correctSubjects.
|
protected Map |
fetchTargetSystemGroups(Collection grouperGroups)
This fetches group information from the target system.
|
protected Map<Subject,TargetSystemUser> |
fetchTargetSystemUsers(Collection personSubjects)
This fetches user information from the target system.
|
allGroupsForProvisionerFromCache, allGroupsForProvisionerFromCacheClear, cacheGroup, checkAttributeDefinitions, createUser, evaluateJexlExpression, fetchTargetSystemGroup, fetchTargetSystemGroupsInBatches, fetchTargetSystemUser, filterWorkItems, filterWorkItems2, finishCoordination, finishProvisioningBatch, flushCachesIfNecessary, getAllGroupsForProvisioner, getAllGroupsForProvisioner2, getConfig, getConfigName, getCurrentWorkItem, getDisplayName, getGroupInfo, getGroupInfoOfExistingGroup, getGroupInfoOfExistingGroup, getGroupJexlMap, getJobStatistics, getPropertyClass, getSubject, getSubjectCacheKey, getSubjectCacheKey, getTargetSystemUser, groupNameToMillisAndProvisionable, isFullSyncMode, populateJexlMap, provisionBatchOfItems, provisionItem, setCurrentWorkItem, setJobStatistics, shouldGroupBeProvisioned, shouldGroupBeProvisionedConsiderCache, shouldLogAboutMissingSubjects, shouldWorkItemBeProcessed, startCoordination, startProvisioningBatch, toString, uncacheAllGroups, uncacheGroup, warnAboutCacheSizeConcerns, workItemMightChangeGroupSelectionprotected void addMembership(GrouperGroupInfo grouperGroupInfo, TargetSystemGroup tsGroup, Subject subject, TargetSystemUser tsUser) throws PspException
ProvisioneraddMembership in class Provisioner<ProvisionerConfiguration,TargetSystemUser,TargetSystemGroup>grouperGroupInfo - The group to which the subject needs to be added as a membertsGroup - A TSGroupClass created for group by fetchTargetSystemGroup. This will
be null for systems that do not need target system groups.subject - The (person) subject that needs to be provisioned as a member of 'group'tsUser - A TSUserClass created for the subject by fetchTargetSystemUser. This will
be null for systems that do not need target system users.PspExceptionprotected void deleteMembership(GrouperGroupInfo grouperGroupInfo, TargetSystemGroup tsGroup, Subject subject, TargetSystemUser tsUser) throws PspException
ProvisionerdeleteMembership in class Provisioner<ProvisionerConfiguration,TargetSystemUser,TargetSystemGroup>grouperGroupInfo - The group to which the subject needs to be removed as a membertsGroup - TSGroupClass for the 'group.' This is null for systems that do not need
target-system group infosubject - The subject that needs to be deprovisioned as a member of 'group'tsUser - TSUserClass for the 'subject.' This is null for systems that do not need
target-system user infoPspExceptionprotected TargetSystemGroup createGroup(GrouperGroupInfo grouperGroup, Collection initialMembers) throws PspException
ProvisionercreateGroup in class Provisioner<ProvisionerConfiguration,TargetSystemUser,TargetSystemGroup>initialMembers - What members should in the provisioned group once the method completes.
This is generally empty during incremental/changelog-based provisioning, but may list users
at other times.PspExceptionprotected void deleteGroup(GrouperGroupInfo grouperGroupInfo, TargetSystemGroup tsGroup) throws PspException
ProvisionerdeleteGroup in class Provisioner<ProvisionerConfiguration,TargetSystemUser,TargetSystemGroup>PspExceptionprotected Map<Subject,TargetSystemUser> fetchTargetSystemUsers(Collection personSubjects) throws PspException
ProvisionerfetchTargetSystemUsers in class Provisioner<ProvisionerConfiguration,TargetSystemUser,TargetSystemGroup>PspExceptionprotected Map fetchTargetSystemGroups(Collection grouperGroups) throws PspException
ProvisionerfetchTargetSystemGroups in class Provisioner<ProvisionerConfiguration,TargetSystemUser,TargetSystemGroup>PspExceptionprotected void doFullSync_cleanupExtraGroups(JobStatistics stats) throws PspException
ProvisionerdoFullSync_cleanupExtraGroups in class Provisioner<ProvisionerConfiguration,TargetSystemUser,TargetSystemGroup>PspExceptionprotected boolean doFullSync(GrouperGroupInfo grouperGroupInfo, TargetSystemGroup tsGroup, Set correctSubjects, Map tsUserMap, Set correctTSUsers, JobStatistics stats) throws PspException
ProvisionerdoFullSync in class Provisioner<ProvisionerConfiguration,TargetSystemUser,TargetSystemGroup>grouperGroupInfo - Grouper group to fully synchronize with target systemtsGroup - TSGroupClass that maps to group.correctSubjects - What subjects are members in the Grouper RegistrytsUserMap - Map of TargetSystemUsers which map to the correctSubjects. This will be empty
for provisioners that do not use TargetSystemUsers.correctTSUsers - A list of the TSUsers that correspond to correctSubjects. This might be a subset
of the TSUsers in the tsUserMap.stats - A holder of the number of changes the fullSync performsPspExceptionCopyright © 2022 Internet2. All rights reserved.