Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getRoleSearchRolePrefix (0.13 sec)

  1. src/main/java/org/codelibs/fess/helper/PermissionHelper.java

            }
            if (permission.startsWith(fessConfig.getRoleSearchRolePrefix())
                    && permission.length() > fessConfig.getRoleSearchRolePrefix().length()) {
                return aclPrefix + rolePrefix + permission.substring(fessConfig.getRoleSearchRolePrefix().length());
            }
            return permission;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. src/main/java/org/codelibs/fess/helper/SystemHelper.java

        }
    
        public String getSearchRoleByRole(final String name) {
            return createSearchRole(ComponentUtil.getFessConfig().getRoleSearchRolePrefix(), name);
        }
    
        protected String createSearchRole(final String type, final String name) {
            final String value = type + ComponentUtil.getFessConfig().getCanonicalLdapName(name);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

         * The value is, e.g. R <br>
         * @return The value of found property. (NotNull: if not found, exception but basically no way)
         */
        String getRoleSearchRolePrefix();
    
        /**
         * Get the value for the key 'role.search.denied.prefix'. <br>
         * The value is, e.g. D <br>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 468.5K bytes
    - Viewed (1)
Back to top