Class ProvisioningContext
- java.lang.Object
-
- org.apache.syncope.core.provisioning.java.ProvisioningContext
-
@EnableAsync @EnableConfigurationProperties(ProvisioningProperties.class) @Configuration(proxyBeanMethods=false) public class ProvisioningContext extends Object
-
-
Constructor Summary
Constructors Constructor Description ProvisioningContext()
-
Method Summary
-
-
-
Method Detail
-
asyncConnectorFacade
@ConditionalOnMissingBean @Bean public AsyncConnectorFacade asyncConnectorFacade()
-
asyncConnectorFacadeExecutor
@Bean @Primary public ThreadPoolTaskExecutor asyncConnectorFacadeExecutor(ProvisioningProperties props)
- Parameters:
props
- configuration properties- Returns:
- executor
-
asyncConfigurer
@Bean public AsyncConfigurer asyncConfigurer(@Qualifier("asyncConnectorFacadeExecutor") ThreadPoolTaskExecutor asyncConnectorFacadeExecutor)
-
jobStatusUpdaterThreadExecutor
@Bean public AsyncTaskExecutor jobStatusUpdaterThreadExecutor()
This is a special thread executor that only created a single worker thread. This is necessary to allow job status update operations to queue up serially and not via multiple threads to avoid the "lost update" problem.- Returns:
- the async task executor
-
propagationTaskExecutorAsyncExecutor
@Bean public ThreadPoolTaskExecutor propagationTaskExecutorAsyncExecutor(ProvisioningProperties props)
Used byPriorityPropagationTaskExecutor
.- Parameters:
props
- the provisioning properties- Returns:
- executor thread pool task executor
-
quartzDataSourceInit
@Bean public SchedulerDBInit quartzDataSourceInit(@Qualifier("MasterDataSource") DataSource masterDataSource, ProvisioningProperties props)
-
scheduler
@DependsOn("quartzDataSourceInit") @Lazy(false) @Bean public SchedulerFactoryBean scheduler(@Qualifier("MasterDataSource") DataSource masterDataSource, @Qualifier("MasterTransactionManager") PlatformTransactionManager masterTransactionManager, ProvisioningProperties props, ApplicationContext ctx)
-
jobManager
@ConditionalOnMissingBean @Bean public JobManager jobManager(ProvisioningProperties props, DomainHolder domainHolder, SecurityProperties securityProperties, SchedulerFactoryBean scheduler, TaskDAO taskDAO, ReportDAO reportDAO, ImplementationDAO implementationDAO, TaskUtilsFactory taskUtilsFactory, ConfParamOps confParamOps)
-
jobStatusUpdater
@ConditionalOnMissingBean @Bean public JobStatusUpdater jobStatusUpdater(JobStatusDAO jobStatusDAO, EntityFactory entityFactory)
-
connectorManager
@ConditionalOnMissingBean @Bean public ConnectorManager connectorManager(EntityFactory entityFactory, ConnIdBundleManager connIdBundleManager, RealmDAO realmDAO, ExternalResourceDAO resourceDAO, ConnInstanceDataBinder connInstanceDataBinder, AsyncConnectorFacade asyncConnectorFacade)
-
connectorLoader
@ConditionalOnMissingBean @Bean public ConnectorLoader connectorLoader(ConnectorManager connectorManager)
-
inboundMatcher
@ConditionalOnMissingBean @Bean public InboundMatcher inboundMatcher(AnyUtilsFactory anyUtilsFactory, UserDAO userDAO, AnyObjectDAO anyObjectDAO, GroupDAO groupDAO, AnySearchDAO anySearchDAO, RealmDAO realmDAO, VirSchemaDAO virSchemaDAO, ImplementationDAO implementationDAO, VirAttrHandler virAttrHandler, IntAttrNameParser intAttrNameParser)
-
outboundMatcher
@ConditionalOnMissingBean @Bean public OutboundMatcher outboundMatcher(AnyUtilsFactory anyUtilsFactory, MappingManager mappingManager, UserDAO userDAO, VirSchemaDAO virSchemaDAO, VirAttrHandler virAttrHandler)
-
derAttrHandler
@ConditionalOnMissingBean @Bean public DerAttrHandler derAttrHandler(AnyUtilsFactory anyUtilsFactory)
-
virAttrHandler
@ConditionalOnMissingBean @Bean public VirAttrHandler virAttrHandler(AnyUtilsFactory anyUtilsFactory, ConnectorManager connectorManager, VirAttrCache virAttrCache, @Lazy OutboundMatcher outboundMatcher)
-
mappingManager
@ConditionalOnMissingBean @Bean public MappingManager mappingManager(AnyUtilsFactory anyUtilsFactory, AnyTypeDAO anyTypeDAO, UserDAO userDAO, AnyObjectDAO anyObjectDAO, GroupDAO groupDAO, RelationshipTypeDAO relationshipTypeDAO, RealmDAO realmDAO, ApplicationDAO applicationDAO, ImplementationDAO implementationDAO, DerAttrHandler derAttrHandler, VirAttrHandler virAttrHandler, VirAttrCache virAttrCache, IntAttrNameParser intAttrNameParser)
-
templateUtils
@ConditionalOnMissingBean @Bean public TemplateUtils templateUtils(UserDAO userDAO, GroupDAO groupDAO)
-
connObjectUtils
@ConditionalOnMissingBean @Bean public ConnObjectUtils connObjectUtils(PasswordGenerator passwordGenerator, AnyUtilsFactory anyUtilsFactory, MappingManager mappingManager, TemplateUtils templateUtils, RealmDAO realmDAO, UserDAO userDAO, ExternalResourceDAO resourceDAO)
-
propagationManager
@ConditionalOnMissingBean @Bean public PropagationManager propagationManager(EntityFactory entityFactory, AnyUtilsFactory anyUtilsFactory, VirSchemaDAO virSchemaDAO, ExternalResourceDAO resourceDAO, ConnObjectUtils connObjectUtils, MappingManager mappingManager, DerAttrHandler derAttrHandler)
-
connIdBundleManager
@ConditionalOnMissingBean @Bean public ConnIdBundleManager connIdBundleManager(ProvisioningProperties props)
-
intAttrNameParser
@ConditionalOnMissingBean @Bean public IntAttrNameParser intAttrNameParser(AnyUtilsFactory anyUtilsFactory, PlainSchemaDAO plainSchemaDAO, DerSchemaDAO derSchemaDAO, VirSchemaDAO virSchemaDAO)
-
propagationTaskExecutor
@ConditionalOnMissingBean @Bean public PropagationTaskExecutor propagationTaskExecutor(@Qualifier("propagationTaskExecutorAsyncExecutor") ThreadPoolTaskExecutor propagationTaskExecutorAsyncExecutor, TaskUtilsFactory taskUtilsFactory, AnyUtilsFactory anyUtilsFactory, ConnectorManager connectorManager, ConnObjectUtils connObjectUtils, TaskDAO taskDAO, ExternalResourceDAO resourceDAO, PlainSchemaDAO plainSchemaDAO, NotificationManager notificationManager, AuditManager auditManager, TaskDataBinder taskDataBinder, OutboundMatcher outboundMatcher, PlainAttrValidationManager validator, ApplicationEventPublisher publisher)
-
userProvisioningManager
@ConditionalOnMissingBean @Bean public UserProvisioningManager userProvisioningManager(UserWorkflowAdapter uwfAdapter, PropagationManager propagationManager, PropagationTaskExecutor taskExecutor, UserDAO userDAO, VirAttrHandler virtAttrHandler)
-
groupProvisioningManager
@ConditionalOnMissingBean @Bean public GroupProvisioningManager groupProvisioningManager(GroupWorkflowAdapter gwfAdapter, PropagationManager propagationManager, PropagationTaskExecutor taskExecutor, GroupDataBinder groupDataBinder, GroupDAO groupDAO, VirAttrHandler virtAttrHandler)
-
anyObjectProvisioningManager
@ConditionalOnMissingBean @Bean public AnyObjectProvisioningManager anyObjectProvisioningManager(AnyObjectWorkflowAdapter awfAdapter, PropagationManager propagationManager, PropagationTaskExecutor taskExecutor, AnyObjectDAO anyObjectDAO, VirAttrHandler virtAttrHandler)
-
virAttrCache
@ConditionalOnMissingBean @Bean public VirAttrCache virAttrCache(ProvisioningProperties props)
-
notificationManager
@ConditionalOnMissingBean @Bean public NotificationManager notificationManager(EntityFactory entityFactory, SearchCondVisitor searchCondVisitor, DerSchemaDAO derSchemaDAO, VirSchemaDAO virSchemaDAO, NotificationDAO notificationDAO, AnyObjectDAO anyObjectDAO, UserDAO userDAO, GroupDAO groupDAO, AnySearchDAO anySearchDAO, AnyMatchDAO anyMatchDAO, TaskDAO taskDAO, UserDataBinder userDataBinder, GroupDataBinder groupDataBinder, AnyObjectDataBinder anyObjectDataBinder, ConfParamOps confParamOps, DerAttrHandler derAttrHandler, VirAttrHandler virAttrHandler, IntAttrNameParser intAttrNameParser)
-
auditManager
@ConditionalOnMissingBean @Bean public AuditManager auditManager(AuditConfDAO auditConfDAO)
-
systemLoadReporterJob
@ConditionalOnMissingBean @Bean public SystemLoadReporterJob systemLoadReporterJob(ApplicationContext ctx)
-
notificationJobDelegate
@ConditionalOnMissingBean @Bean public NotificationJobDelegate notificationJobDelegate(TaskUtilsFactory taskUtilsFactory, TaskDAO taskDAO, AuditManager auditManager, NotificationManager notificationManager, ApplicationEventPublisher publisher, JavaMailSender mailSender)
-
notificationJob
@ConditionalOnMissingBean @Bean public NotificationJob notificationJob(NotificationJobDelegate delegate, DomainHolder domainHolder, SecurityProperties securityProperties)
-
accessTokenDataBinder
@ConditionalOnMissingBean @Bean public AccessTokenDataBinder accessTokenDataBinder(EntityFactory entityFactory, SecurityProperties securityProperties, AccessTokenJWSSigner jwsSigner, AccessTokenDAO accessTokenDAO, ConfParamOps confParamOps, DefaultCredentialChecker credentialChecker)
-
anyObjectDataBinder
@ConditionalOnMissingBean @Bean public AnyObjectDataBinder anyObjectDataBinder(EntityFactory entityFactory, AnyUtilsFactory anyUtilsFactory, AnyTypeDAO anyTypeDAO, RealmDAO realmDAO, AnyTypeClassDAO anyTypeClassDAO, AnyObjectDAO anyObjectDAO, UserDAO userDAO, GroupDAO groupDAO, PlainSchemaDAO plainSchemaDAO, PlainAttrDAO plainAttrDAO, PlainAttrValueDAO plainAttrValueDAO, ExternalResourceDAO resourceDAO, RelationshipTypeDAO relationshipTypeDAO, DerAttrHandler derAttrHandler, VirAttrHandler virAttrHandler, MappingManager mappingManager, IntAttrNameParser intAttrNameParser, OutboundMatcher outboundMatcher, PlainAttrValidationManager validator)
-
anyTypeClassDataBinder
@ConditionalOnMissingBean @Bean public AnyTypeClassDataBinder anyTypeClassDataBinder(EntityFactory entityFactory, PlainSchemaDAO plainSchemaDAO, DerSchemaDAO derSchemaDAO, VirSchemaDAO virSchemaDAO, AnyTypeDAO anyTypeDAO)
-
anyTypeDataBinder
@ConditionalOnMissingBean @Bean public AnyTypeDataBinder anyTypeDataBinder(EntityFactory entityFactory, SecurityProperties securityProperties, AnyTypeDAO anyTypeDAO, AnyTypeClassDAO anyTypeClassDAO, AccessTokenDAO accessTokenDAO)
-
applicationDataBinder
@ConditionalOnMissingBean @Bean public ApplicationDataBinder applicationDataBinder(ApplicationDAO applicationDAO, EntityFactory entityFactory)
-
auditDataBinder
@ConditionalOnMissingBean @Bean public AuditDataBinder auditDataBinder()
-
authModuleDataBinder
@ConditionalOnMissingBean @Bean public AuthModuleDataBinder authModuleDataBinder(EntityFactory entityFactory)
-
attrRepoDataBinder
@ConditionalOnMissingBean @Bean public AttrRepoDataBinder attrRepoDataBinder(EntityFactory entityFactory)
-
authProfileDataBinder
@ConditionalOnMissingBean @Bean public AuthProfileDataBinder authProfileDataBinder(EntityFactory entityFactory)
-
clientAppDataBinder
@ConditionalOnMissingBean @Bean public ClientAppDataBinder clientAppDataBinder(PolicyDAO policyDAO, RealmDAO realmDAO, EntityFactory entityFactory)
-
connInstanceDataBinder
@ConditionalOnMissingBean @Bean public ConnInstanceDataBinder connInstanceDataBinder(EntityFactory entityFactory, ConnIdBundleManager connIdBundleManager, ConnInstanceDAO connInstanceDAO, RealmDAO realmDAO)
-
delegationDataBinder
@ConditionalOnMissingBean @Bean public DelegationDataBinder delegationDataBinder(UserDAO userDAO, RoleDAO roleDAO, EntityFactory entityFactory)
-
fiqlQueryDataBinder
@ConditionalOnMissingBean @Bean public FIQLQueryDataBinder fiqlQueryDataBinder(SearchCondVisitor searchCondVisitor, UserDAO userDAO, EntityFactory entityFactory)
-
dynRealmDataBinder
@ConditionalOnMissingBean @Bean public DynRealmDataBinder dynRealmDataBinder(AnyTypeDAO anyTypeDAO, DynRealmDAO dynRealmDAO, SearchCondVisitor searchCondVisitor, EntityFactory entityFactory)
-
groupDataBinder
@ConditionalOnMissingBean @Bean public GroupDataBinder groupDataBinder(EntityFactory entityFactory, SearchCondVisitor searchCondVisitor, AnyUtilsFactory anyUtilsFactory, AnyTypeDAO anyTypeDAO, RealmDAO realmDAO, AnyTypeClassDAO anyTypeClassDAO, AnyObjectDAO anyObjectDAO, UserDAO userDAO, GroupDAO groupDAO, PlainSchemaDAO plainSchemaDAO, PlainAttrDAO plainAttrDAO, PlainAttrValueDAO plainAttrValueDAO, ExternalResourceDAO resourceDAO, RelationshipTypeDAO relationshipTypeDAO, DerAttrHandler derAttrHandler, VirAttrHandler virAttrHandler, MappingManager mappingManager, IntAttrNameParser intAttrNameParser, OutboundMatcher outboundMatcher, PlainAttrValidationManager validator)
-
implementationDataBinder
@ConditionalOnMissingBean @Bean public ImplementationDataBinder implementationDataBinder(EntityFactory entityFactory)
-
notificationDataBinder
@ConditionalOnMissingBean @Bean public NotificationDataBinder notificationDataBinder(EntityFactory entityFactory, MailTemplateDAO mailTemplateDAO, AnyTypeDAO anyTypeDAO, ImplementationDAO implementationDAO, IntAttrNameParser intAttrNameParser)
-
oidcJWKSDataBinder
@ConditionalOnMissingBean @Bean public OIDCJWKSDataBinder oidcJWKSDataBinder(EntityFactory entityFactory)
-
policyDataBinder
@ConditionalOnMissingBean @Bean public PolicyDataBinder policyDataBinder(EntityFactory entityFactory, ExternalResourceDAO resourceDAO, RealmDAO realmDAO, AnyTypeDAO anyTypeDAO, ImplementationDAO implementationDAO)
-
realmDataBinder
@ConditionalOnMissingBean @Bean public RealmDataBinder realmDataBinder(EntityFactory entityFactory, AnyTypeDAO anyTypeDAO, ImplementationDAO implementationDAO, RealmDAO realmDAO, PolicyDAO policyDAO, ExternalResourceDAO resourceDAO)
-
relationshipTypeDataBinder
@ConditionalOnMissingBean @Bean public RelationshipTypeDataBinder relationshipTypeDataBinder(EntityFactory entityFactory)
-
remediationDataBinder
@ConditionalOnMissingBean @Bean public RemediationDataBinder remediationDataBinder()
-
reportDataBinder
@ConditionalOnMissingBean @Bean public ReportDataBinder reportDataBinder(ReportExecDAO reportExecDAO, ImplementationDAO implementationDAO, SchedulerFactoryBean scheduler)
-
resourceDataBinder
@ConditionalOnMissingBean @Bean public ResourceDataBinder resourceDataBinder(EntityFactory entityFactory, AnyTypeDAO anyTypeDAO, ConnInstanceDAO connInstanceDAO, PolicyDAO policyDAO, VirSchemaDAO virSchemaDAO, AnyTypeClassDAO anyTypeClassDAO, ImplementationDAO implementationDAO, PlainSchemaDAO plainSchemaDAO, IntAttrNameParser intAttrNameParser, PropagationTaskExecutor propagationTaskExecutor)
-
roleDataBinder
@ConditionalOnMissingBean @Bean public RoleDataBinder roleDataBinder(EntityFactory entityFactory, SearchCondVisitor searchCondVisitor, RealmDAO realmDAO, DynRealmDAO dynRealmDAO, RoleDAO roleDAO, ApplicationDAO applicationDAO)
-
saml2IdPEntityDataBinder
@ConditionalOnMissingBean @Bean public SAML2IdPEntityDataBinder saml2IdPEntityDataBinder(EntityFactory entityFactory)
-
saml2SPEntityDataBinder
@ConditionalOnMissingBean @Bean public SAML2SPEntityDataBinder saml2SPEntityDataBinder(EntityFactory entityFactory)
-
sraRouteDataBinder
@ConditionalOnMissingBean @Bean public SRARouteDataBinder sraRouteDataBinder()
-
schemaDataBinder
@ConditionalOnMissingBean @Bean public SchemaDataBinder schemaDataBinder(EntityFactory entityFactory, AnyUtilsFactory anyUtilsFactory, AnyTypeClassDAO anyTypeClassDAO, PlainSchemaDAO plainSchemaDAO, DerSchemaDAO derSchemaDAO, VirSchemaDAO virSchemaDAO, ExternalResourceDAO resourceDAO, AnyTypeDAO anyTypeDAO, ImplementationDAO implementationDAO)
-
securityQuestionDataBinder
@ConditionalOnMissingBean @Bean public SecurityQuestionDataBinder securityQuestionDataBinder(EntityFactory entityFactory)
-
taskDataBinder
@ConditionalOnMissingBean @Bean public TaskDataBinder taskDataBinder(EntityFactory entityFactory, TaskUtilsFactory taskUtilsFactory, RealmDAO realmDAO, ExternalResourceDAO resourceDAO, TaskExecDAO taskExecDAO, AnyTypeDAO anyTypeDAO, ImplementationDAO implementationDAO, SchedulerFactoryBean scheduler)
-
userDataBinder
@ConditionalOnMissingBean @Bean public UserDataBinder userDataBinder(EntityFactory entityFactory, AnyUtilsFactory anyUtilsFactory, SecurityProperties securityProperties, AnyTypeDAO anyTypeDAO, RealmDAO realmDAO, AnyTypeClassDAO anyTypeClassDAO, AnyObjectDAO anyObjectDAO, UserDAO userDAO, GroupDAO groupDAO, PlainSchemaDAO plainSchemaDAO, PlainAttrDAO plainAttrDAO, PlainAttrValueDAO plainAttrValueDAO, ExternalResourceDAO resourceDAO, RelationshipTypeDAO relationshipTypeDAO, DerAttrHandler derAttrHandler, VirAttrHandler virAttrHandler, MappingManager mappingManager, IntAttrNameParser intAttrNameParser, OutboundMatcher outboundMatcher, PlainAttrValidationManager validator, RoleDAO roleDAO, SecurityQuestionDAO securityQuestionDAO, ApplicationDAO applicationDAO, AccessTokenDAO accessTokenDAO, DelegationDAO delegationDAO, ConfParamOps confParamOps)
-
waConfigDataBinder
@ConditionalOnMissingBean @Bean public WAConfigDataBinder waConfigDataBinder(WAConfigDAO waConfigDAO, EntityFactory entityFactory)
-
waClientAppDataBinder
@ConditionalOnMissingBean @Bean public WAClientAppDataBinder waClientAppDataBinder(ClientAppDataBinder clientAppDataBinder, PolicyDataBinder policyDataBinder, AuthModuleDataBinder authModuleDataBinder, AuthModuleDAO authModuleDAO)
-
-