- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for allowEmptyGroupAndRole (0.18 sec)
-
src/test/java/org/codelibs/fess/ldap/LdapManagerTest.java
}; allowEmptyPermission.set(true); assertTrue(ldapManager.allowEmptyGroupAndRole(user)); allowEmptyPermission.set(false); assertFalse(ldapManager.allowEmptyGroupAndRole(user)); permissionList.add("2aaa"); allowEmptyPermission.set(true); assertTrue(ldapManager.allowEmptyGroupAndRole(user)); allowEmptyPermission.set(false);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ldap/LdapManager.java
try (DirContextHolder holder = getDirContext(() -> env)) { final DirContext context = holder.get(); final LdapUser ldapUser = createLdapUser(username, env); if (!allowEmptyGroupAndRole(ldapUser)) { if (logger.isDebugEnabled()) { logger.debug("Login failed. No permissions. {}", context); } return OptionalEntity.empty();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 65.9K bytes - Viewed (0)