use of org.camunda.bpm.engine.impl.cfg.auth.ResourceAuthorizationProvider in project camunda-bpm-platform by camunda.
the class TaskManager method createDefaultAuthorizations.
// helper ///////////////////////////////////////////////////////////
protected void createDefaultAuthorizations(TaskEntity task) {
if (isAuthorizationEnabled()) {
ResourceAuthorizationProvider provider = getResourceAuthorizationProvider();
AuthorizationEntity[] authorizations = provider.newTask(task);
saveDefaultAuthorizations(authorizations);
}
}
use of org.camunda.bpm.engine.impl.cfg.auth.ResourceAuthorizationProvider in project camunda-bpm-platform by camunda.
the class DecisionDefinitionManager method createDefaultAuthorizations.
protected void createDefaultAuthorizations(DecisionDefinition decisionDefinition) {
if (isAuthorizationEnabled()) {
ResourceAuthorizationProvider provider = getResourceAuthorizationProvider();
AuthorizationEntity[] authorizations = provider.newDecisionDefinition(decisionDefinition);
saveDefaultAuthorizations(authorizations);
}
}
use of org.camunda.bpm.engine.impl.cfg.auth.ResourceAuthorizationProvider in project camunda-bpm-platform by camunda.
the class DecisionRequirementsDefinitionManager method createDefaultAuthorizations.
protected void createDefaultAuthorizations(DecisionRequirementsDefinition decisionRequirementsDefinition) {
if (isAuthorizationEnabled()) {
ResourceAuthorizationProvider provider = getResourceAuthorizationProvider();
AuthorizationEntity[] authorizations = provider.newDecisionRequirementsDefinition(decisionRequirementsDefinition);
saveDefaultAuthorizations(authorizations);
}
}
use of org.camunda.bpm.engine.impl.cfg.auth.ResourceAuthorizationProvider in project camunda-bpm-platform by camunda.
the class DeploymentManager method createDefaultAuthorizations.
// helper /////////////////////////////////////////////////
protected void createDefaultAuthorizations(DeploymentEntity deployment) {
if (isAuthorizationEnabled()) {
ResourceAuthorizationProvider provider = getResourceAuthorizationProvider();
AuthorizationEntity[] authorizations = provider.newDeployment(deployment);
saveDefaultAuthorizations(authorizations);
}
}
Aggregations