Class GrouperProvisioner
java.lang.Object
edu.internet2.middleware.grouper.app.provisioning.GrouperProvisioner
- Direct Known Subclasses:
ExampleGroupAttributeProvisioner
,GrouperAdobeProvisioner
,GrouperAzureProvisioner
,GrouperBoxProvisioner
,GrouperDigitalMarketplaceProvisioner
,GrouperDuoProvisioner
,GrouperDuoRoleProvisioner
,GrouperExampleWsProvisioner
,GrouperGenericProvisioner
,GrouperGoogleProvisioner
,GrouperMessagingProvisioner
,GrouperRemedyProvisioner
,GrouperScim2Provisioner
,LdapSync
,MidPointProvisioner
,SqlProvisioner
,TeamDynamixProvisioner
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
assignCurrentGrouperProvisioner
(GrouperProvisioner grouperProvisioner) this is the controller that makes the editing screen work, this is not the provisioning configuration class: retrieveGrouperProvisioningConfiguration()provisioning table about this provisionerheartbeat threadprovisioning table about this job (full, incremental, etc) in this provisionerlog for this syncjob name from full or incrementalget job names configured for this provisionerlong
millis since 1970 when the sync startedreference to the consumer which is sending provisioning events to be processedprotected Class<? extends GrouperProvisioningGrouperDao>
protected Class<? extends GrouperProvisioningAttributeManipulation>
return the class of the attribute manipulationprotected Class<? extends GrouperProvisioningBehavior>
protected Class<? extends GrouperProvisioningCompare>
protected abstract Class<? extends GrouperProvisioningConfiguration>
return the class of the DAO for this provisionerprotected Class<? extends GrouperProvisioningConfigurationValidation>
protected Class<? extends GrouperProvisioningDiagnosticsContainer>
return the class of the attribute manipulationprotected Class<? extends GrouperProvisioningFailsafe>
protected Class<? extends GrouperProvisioningLinkLogic>
return the class of the link logicprotected Class<? extends GrouperProvisioningLoader>
protected Class<? extends GrouperProvisioningLog>
return the class of the provisioning logicprotected Class<? extends GrouperProvisioningLogCommands>
protected Class<? extends GrouperProvisioningLogic>
return the class of the provisioning logicprotected Class<? extends GrouperProvisioningLogicIncremental>
return the class of the provisioning logic Incrementalprotected Class<? extends GrouperProvisioningMatchingIdIndex>
protected Class<? extends GrouperProvisioningObjectMetadata>
return the class of the object metadataprotected Class<? extends GrouperProvisioningSyncIntegration>
return the class of the attribute manipulationprotected Class<? extends GrouperProvisioningValidation>
return the class of the provisioning validationprotected Class<? extends GrouperProvisioningGrouperSyncDao>
protected abstract Class<? extends GrouperProvisionerTargetDaoBase>
return the class of the DAO for this provisionerprotected Class<? extends GrouperProvisioningTranslator>
initialize
(GrouperProvisioningType grouperProvisioningType1) void
logPeriodically
(Map<String, Object> debugMap, GrouperProvisioningOutput grouperProvisioningOutput) log periodicallyvoid
provision
(GrouperProvisioningType grouperProvisioningType1) provisionvoid
void
registerProvisioningBehaviors
(GrouperProvisioningBehavior grouperProvisioningBehavior) let the provisioner tell the framework how the provisioner should behave with respect to the targetstatic void
static GrouperProvisioner
if running threads, this is the pool.returns the Grouper Data access Objectreturn the instance of the attribute manipulationreturn the instance of the compare logicreturns the subclass of Data Access Object for this provisionerreturn the instance of the provisioning configuration validationreturn the instance of the failsafe logicreturns the subclass of Data Access Object for this provisionerreturn the instance of the provisioning logreturn the instance of the LogCommands logicreturn the instance of the provisioning logicreturn the instance of the provisioning logic incrementalreturn the instance of the indexing logicreturns the object metadata instanceprovisioning outputreturns the Grouper Sync Data access Objectreturn the instance of the attribute manipulationreturns the subclass of Data Access Object for this provisionerreturns the instance of the translatorreturn the instance of the validationstatic GrouperProvisioner
last provisioner for junitstatic GrouperProvisioner
retrieveProvisioner
(String configId) factory method to get a provisioner by config idvoid
setConfigId
(String configId) void
setDebugMap
(Map<String, Object> debugMap) void
setGcGrouperSync
(GcGrouperSync gcGrouperSync1) provisioning table about this provisionervoid
setGcGrouperSyncHeartbeat
(GcGrouperSyncHeartbeat gcGrouperSyncHeartbeat1) heartbeat threadvoid
setGcGrouperSyncJob
(GcGrouperSyncJob gcGrouperSyncJob1) provisioning table about this job (full, incremental, etc) in this provisionervoid
setGcGrouperSyncLog
(GcGrouperSyncLog gcGrouperSyncLog1) log for this syncvoid
setGrouperProvisioningOutput
(GrouperProvisioningOutput grouperProvisioningOutput) void
setJobName
(String jobName1) job name from full or incrementalvoid
setProvisioningConsumer
(ProvisioningConsumer provisioningConsumer) reference to the consumer which is sending provisioning events to be processedvoid
setProvisioningStateGlobal
(ProvisioningStateGlobal provisioningStateGlobal) void
setProvisioningSyncResult
(ProvisioningSyncResult provisioningSyncResult) static void
setTest_saveLastProvisionerInStaticVariable
(boolean test_saveLastProvisionerInStaticVariable) toString()
-
Field Details
-
executorConfigIdToThreadPool
cache the thread pool
-
-
Constructor Details
-
GrouperProvisioner
public GrouperProvisioner()
-
-
Method Details
-
setTest_saveLastProvisionerInStaticVariable
public static void setTest_saveLastProvisionerInStaticVariable(boolean test_saveLastProvisionerInStaticVariable) -
getProvisioningStateGlobal
-
setProvisioningStateGlobal
-
retrieveExecutorService
if running threads, this is the pool. if null then dont use threads- Returns:
- executor service
-
getJobName
job name from full or incremental- Returns:
-
setJobName
job name from full or incremental- Parameters:
jobName1
-
-
getJobNames
get job names configured for this provisioner- Returns:
- the job name
-
getControllerForProvisioningConfiguration
this is the controller that makes the editing screen work, this is not the provisioning configuration class: retrieveGrouperProvisioningConfiguration()- Returns:
- provisioner configuration
-
getInstanceId
-
toString
-
getProvisioningConsumer
reference to the consumer which is sending provisioning events to be processed- Returns:
-
setProvisioningConsumer
reference to the consumer which is sending provisioning events to be processed- Parameters:
provisioningConsumer
-
-
setDebugMap
-
retrieveGrouperProvisioningObjectLog
-
getDebugMap
-
grouperTargetDaoClass
return the class of the DAO for this provisioner -
retrieveGrouperProvisioningTargetDaoAdapter
returns the subclass of Data Access Object for this provisioner- Returns:
- the DAO
-
retrieveGrouperDao
returns the Grouper Data access Object- Returns:
- the DAO
-
grouperDaoClass
-
grouperProvisioningConfigurationClass
protected abstract Class<? extends GrouperProvisioningConfiguration> grouperProvisioningConfigurationClass()return the class of the DAO for this provisioner -
retrieveGrouperProvisioningDiagnosticsContainer
- Returns:
- the diagnostics
-
grouperProvisioningDiagnosticsContainerClass
protected Class<? extends GrouperProvisioningDiagnosticsContainer> grouperProvisioningDiagnosticsContainerClass()return the class of the attribute manipulation -
retrieveGrouperProvisioningConfiguration
returns the subclass of Data Access Object for this provisioner- Returns:
- the DAO
-
grouperProvisioningSyncIntegrationClass
protected Class<? extends GrouperProvisioningSyncIntegration> grouperProvisioningSyncIntegrationClass()return the class of the attribute manipulation -
retrieveGrouperProvisioningSyncIntegration
return the instance of the attribute manipulation- Returns:
- the logic
-
grouperProvisioningAttributeManipulationClass
protected Class<? extends GrouperProvisioningAttributeManipulation> grouperProvisioningAttributeManipulationClass()return the class of the attribute manipulation -
retrieveGrouperProvisioningAttributeManipulation
return the instance of the attribute manipulation- Returns:
- the logic
-
grouperProvisioningValidationClass
return the class of the provisioning validation -
retrieveGrouperProvisioningValidation
return the instance of the validation- Returns:
- the logic
-
retrieveGrouperProvisioningLog
return the instance of the provisioning log- Returns:
- the logic
-
grouperProvisioningLogClass
return the class of the provisioning logic -
grouperProvisioningLogicClass
return the class of the provisioning logic -
grouperProvisioningLogicIncrementalClass
protected Class<? extends GrouperProvisioningLogicIncremental> grouperProvisioningLogicIncrementalClass()return the class of the provisioning logic Incremental -
retrieveGrouperProvisioningLogic
return the instance of the provisioning logic- Returns:
- the logic
-
retrieveGrouperProvisioningLogicIncremental
return the instance of the provisioning logic incremental- Returns:
- the logic
-
retrieveGrouperProvisioningTranslator
returns the instance of the translator- Returns:
- the translator
-
grouperTranslatorClass
- Returns:
- the class of the translator for this provisioner (optional)
-
retrieveInternalLastProvisioner
last provisioner for junit- Returns:
- provisioner
-
retrieveProvisioner
factory method to get a provisioner by config id- Parameters:
configId
-- Returns:
- the provisioner
-
retrieveCurrentGrouperProvisioner
-
assignCurrentGrouperProvisioner
-
removeCurrentGrouperProvisioner
public static void removeCurrentGrouperProvisioner() -
retrieveGrouperProvisioningOutput
provisioning output- Returns:
- output
-
logPeriodically
public void logPeriodically(Map<String, Object> debugMap, GrouperProvisioningOutput grouperProvisioningOutput) log periodically- Parameters:
debugMap
-gcTableSyncOutput
-
-
initialize
-
provision
provision- Parameters:
grouperProvisioningType
-- Returns:
- the output
-
provisionFinallyBlock
public void provisionFinallyBlock() -
setGrouperProvisioningOutput
-
getGcGrouperSync
provisioning table about this provisioner- Returns:
- sync
-
getGcGrouperSyncHeartbeat
heartbeat thread- Returns:
- heartbeat
-
getGcGrouperSyncJob
provisioning table about this job (full, incremental, etc) in this provisioner- Returns:
- job
-
getGcGrouperSyncLog
log for this sync- Returns:
-
getMillisWhenSyncStarted
public long getMillisWhenSyncStarted()millis since 1970 when the sync started- Returns:
- when started
-
setGcGrouperSync
provisioning table about this provisioner- Parameters:
gcGrouperSync1
-
-
setGcGrouperSyncHeartbeat
heartbeat thread- Parameters:
gcGrouperSyncHeartbeat1
-
-
setGcGrouperSyncJob
provisioning table about this job (full, incremental, etc) in this provisioner- Parameters:
gcGrouperSyncJob1
-
-
setGcGrouperSyncLog
log for this sync- Parameters:
gcGrouperSyncLog1
-
-
getConfigId
-
setConfigId
-
retrieveGrouperProvisioningData
-
retrieveGrouperProvisioningDataIncrementalInput
-
retrieveGrouperProvisioningDataChanges
-
retrieveGrouperProvisioningDataIndex
-
getProvisioningSyncResult
-
setProvisioningSyncResult
-
retrieveGrouperProvisioningCompare
return the instance of the compare logic- Returns:
- the logic
-
grouperProvisioningCompareClass
-
grouperProvisioningBehaviorClass
-
retrieveGrouperProvisioningMatchingIdIndex
return the instance of the indexing logic- Returns:
- the logic
-
grouperProvisioningMatchingIdIndexClass
protected Class<? extends GrouperProvisioningMatchingIdIndex> grouperProvisioningMatchingIdIndexClass() -
retrieveGrouperProvisioningConfigurationValidation
public GrouperProvisioningConfigurationValidation retrieveGrouperProvisioningConfigurationValidation()return the instance of the provisioning configuration validation- Returns:
- the logic
-
grouperProvisioningConfigurationValidationClass
protected Class<? extends GrouperProvisioningConfigurationValidation> grouperProvisioningConfigurationValidationClass() -
retrieveGrouperProvisioningSyncDao
returns the Grouper Sync Data access Object- Returns:
- the DAO
-
grouperSyncDaoClass
-
retrieveGrouperProvisioningBehavior
-
registerProvisioningBehaviors
let the provisioner tell the framework how the provisioner should behave with respect to the target- Parameters:
grouperProvisioningBehavior
-
-
retrieveGrouperProvisioningLinkLogic
returns the subclass of Data Access Object for this provisioner- Returns:
- the DAO
-
retrieveGrouperProvisioningObjectMetadata
returns the object metadata instance- Returns:
- the object metadata instance
-
grouperProvisioningObjectMetadataClass
protected Class<? extends GrouperProvisioningObjectMetadata> grouperProvisioningObjectMetadataClass()return the class of the object metadata -
grouperProvisioningLinkLogicClass
return the class of the link logic -
getGrouperProvisioner
-
propagateProvisioningAttributes
public void propagateProvisioningAttributes() -
grouperProvisioningFailsafeClass
-
retrieveGrouperProvisioningFailsafe
return the instance of the failsafe logic- Returns:
- the logic
-
grouperProvisioningLogCommandsClass
-
retrieveGrouperProvisioningLogCommands
return the instance of the LogCommands logic- Returns:
- the logic
-
grouperProvisioningLoaderClass
-
retrieveGrouperProvisioningLoader
-