use of org.jbpm.services.task.identity.JBossUserGroupCallbackImpl in project jbpm by kiegroup.
the class SignalScopedToRuntimeManagerTest method setup.
@Before
public void setup() {
TestUtil.cleanupSingletonSessionId();
pds = TestUtil.setupPoolingDataSource();
emf = EntityManagerFactoryManager.get().getOrCreate("org.jbpm.persistence.jpa");
Properties properties = new Properties();
properties.setProperty("mary", "HR");
properties.setProperty("john", "HR");
userGroupCallback = new JBossUserGroupCallbackImpl(properties);
}
use of org.jbpm.services.task.identity.JBossUserGroupCallbackImpl in project jbpm by kiegroup.
the class SingletonRuntimeManagerTest method setup.
@Before
public void setup() {
TestUtil.cleanupSingletonSessionId();
pds = TestUtil.setupPoolingDataSource();
Properties properties = new Properties();
properties.setProperty("mary", "HR");
properties.setProperty("john", "HR");
userGroupCallback = new JBossUserGroupCallbackImpl(properties);
}
use of org.jbpm.services.task.identity.JBossUserGroupCallbackImpl in project jbpm by kiegroup.
the class SecurityManagerTest method setup.
@Before
public void setup() {
TestUtil.cleanupSingletonSessionId();
pds = TestUtil.setupPoolingDataSource();
Properties properties = new Properties();
properties.setProperty("mary", "HR");
properties.setProperty("john", "HR");
userGroupCallback = new JBossUserGroupCallbackImpl(properties);
}
use of org.jbpm.services.task.identity.JBossUserGroupCallbackImpl in project jbpm by kiegroup.
the class MigrationManagerTest method setup.
@Before
public void setup() {
TestUtil.cleanupSingletonSessionId();
pds = TestUtil.setupPoolingDataSource();
emf = EntityManagerFactoryManager.get().getOrCreate("org.jbpm.persistence.jpa");
Properties properties = new Properties();
properties.setProperty("mary", "HR");
properties.setProperty("john", "HR");
userGroupCallback = new JBossUserGroupCallbackImpl(properties);
auditService = new JPAAuditLogService(emf);
}
use of org.jbpm.services.task.identity.JBossUserGroupCallbackImpl in project jbpm by kiegroup.
the class TimerMigrationManagerTest method setup.
@Before
public void setup() {
TestUtil.cleanupSingletonSessionId();
pds = TestUtil.setupPoolingDataSource();
emf = EntityManagerFactoryManager.get().getOrCreate("org.jbpm.persistence.jpa");
Properties properties = new Properties();
properties.setProperty("mary", "HR");
properties.setProperty("john", "HR");
userGroupCallback = new JBossUserGroupCallbackImpl(properties);
auditService = new JPAAuditLogService(emf);
}
Aggregations