Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getRoleSearchRolePrefix (0.11 sec)

  1. src/test/java/org/codelibs/fess/helper/PermissionHelperTest.java

                @Override
                public String getRoleSearchGroupPrefix() {
                    return fessConfig.getRoleSearchGroupPrefix();
                }
    
                @Override
                public String getRoleSearchRolePrefix() {
                    return "";
                }
    
                @Override
                public boolean isLdapIgnoreNetbiosName() {
                    return true;
                }
            });
            try {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/ldap/LdapUser.java

        @Override
        public String[] getRoleNames() {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            return stream(getPermissions()).get(stream -> stream.filter(s -> s.startsWith(fessConfig.getRoleSearchRolePrefix()))
                    .map(s -> s.substring(1)).toArray(n -> new String[n]));
        }
    
        @Override
        public String[] getGroupNames() {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/user/exentity/User.java

            final List<String> list = new ArrayList<>();
            list.add(fessConfig.getRoleSearchUserPrefix() + getName());
            stream(getRoles()).of(stream -> stream.forEach(s -> list.add(fessConfig.getRoleSearchRolePrefix() + decode(s))));
            stream(getGroups()).of(stream -> stream.forEach(s -> list.add(fessConfig.getRoleSearchGroupPrefix() + decode(s))));
            return list.toArray(new String[list.size()]);
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top