Class OpenFGAReinit
java.lang.Object
org.apache.syncope.core.provisioning.java.job.AbstractSchedTaskJobDelegate<SchedTask>
org.apache.syncope.core.provisioning.java.job.OpenFGAReinit
- All Implemented Interfaces:
SchedTaskJobDelegate
Replace the authorization model and creates new tuples with information from existing
any types, relationship types, users, groups and any objects.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AnyObjectDAOprotected AnyTypeDAOprotected OpenFGAClientFactoryprotected GroupDAOprotected RelationshipTypeDAOprotected OpenFGAStoreManagerprotected UserDAOFields inherited from class org.apache.syncope.core.provisioning.java.job.AbstractSchedTaskJobDelegate
auditManager, executor, LOG, manageOperationId, notificationManager, publisher, securityProperties, task, taskDAO, taskExecDAO, taskType, taskUtilsFactory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringdoExecute(JobExecutionContext context) The actual execution, delegated to child classes.protected booleanhasToBeRegistered(TaskExec<?> execution) Template method to determine whether this job's task execution has to be persisted or not.Methods inherited from class org.apache.syncope.core.provisioning.java.job.AbstractSchedTaskJobDelegate
end, endExecution, execute, init, initExecution, register, setStatus
-
Field Details
-
storeManager
-
clientFactory
-
anyTypeDAO
-
relationshipTypeDAO
-
userDAO
-
groupDAO
-
anyObjectDAO
-
-
Constructor Details
-
OpenFGAReinit
public OpenFGAReinit()
-
-
Method Details
-
doExecute
Description copied from class:AbstractSchedTaskJobDelegateThe actual execution, delegated to child classes.- Specified by:
doExecutein classAbstractSchedTaskJobDelegate<SchedTask>- Parameters:
context- job execution context, can be used to pass parameters to the job- Returns:
- the task execution status to be set
- Throws:
JobExecutionException- if anything goes wrong
-
hasToBeRegistered
Description copied from class:AbstractSchedTaskJobDelegateTemplate method to determine whether this job's task execution has to be persisted or not.- Overrides:
hasToBeRegisteredin classAbstractSchedTaskJobDelegate<SchedTask>- Parameters:
execution- task execution- Returns:
- whether to persist or not
-