use of org.kie.internal.task.api.UserInfo in project jbpm by kiegroup.
the class LDAPUserInfoImplTest method testGroupsOneLevelScopeBaseDnContext.
@Test
public void testGroupsOneLevelScopeBaseDnContext() {
UserInfo ldapUserInfo = createLdapUserInfoWithGroupCtx(ONELEVEL_SCOPE, "dc=jbpm,dc=org");
assertGroups(ldapUserInfo, false, false, false, false);
}
use of org.kie.internal.task.api.UserInfo in project jbpm by kiegroup.
the class LDAPUserInfoImplTest method testUsersSubtreeScopePeopleContext.
@Test
public void testUsersSubtreeScopePeopleContext() {
UserInfo ldapUserInfo = createLdapUserInfoWithUserCtx(SUBTREE_SCOPE, "ou=People,dc=jbpm,dc=org");
assertUsers(ldapUserInfo, true, true, true, true);
}
use of org.kie.internal.task.api.UserInfo in project jbpm by kiegroup.
the class LDAPUserInfoImplTest method testUsersObjectScopeJohnContext.
@Test
public void testUsersObjectScopeJohnContext() {
UserInfo ldapUserInfo = createLdapUserInfoWithUserCtx(OBJECT_SCOPE, "uid=john,ou=People,dc=jbpm,dc=org");
assertUsers(ldapUserInfo, true, false, false, false);
}
Aggregations