Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for allowEmptyGroupAndRole (0.16 sec)

  1. 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)
  2. 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)
Back to top