Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for getRoleSearchUserPrefix (0.23 sec)

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

            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                private static final long serialVersionUID = 1L;
    
                @Override
                public String getRoleSearchUserPrefix() {
                    return fessConfig.getRoleSearchUserPrefix();
                }
    
                @Override
                public String getRoleSearchGroupPrefix() {
                    return fessConfig.getRoleSearchGroupPrefix();
                }
    
    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/helper/PermissionHelper.java

                return null;
            }
            if (permission.startsWith(fessConfig.getRoleSearchUserPrefix())
                    && permission.length() > fessConfig.getRoleSearchUserPrefix().length()) {
                return aclPrefix + userPrefix + permission.substring(fessConfig.getRoleSearchUserPrefix().length());
            }
            if (permission.startsWith(fessConfig.getRoleSearchGroupPrefix())
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/ldap/LdapUser.java

                        permissions = distinct(roles);
                        ComponentUtil.getActivityHelper().permissionChanged(OptionalThing.of(new FessUserBean(this)));
                    }), fessConfig.getRoleSearchUserPrefix() + ldapManager.normalizePermissionName(getName())));
                } else {
                    permissions = StringUtil.EMPTY_STRINGS;
                }
            }
            return permissions;
        }
    
        @Override
    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

        }
    
        @Override
        public String[] getPermissions() {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final List<String> list = new ArrayList<>();
            list.add(fessConfig.getRoleSearchUserPrefix() + getName());
            stream(getRoles()).of(stream -> stream.forEach(s -> list.add(fessConfig.getRoleSearchRolePrefix() + decode(s))));
    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/test/java/org/codelibs/fess/ldap/LdapManagerTest.java

            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                public boolean isLdapAllowEmptyPermission() {
                    return allowEmptyPermission.get();
                }
    
                public String getRoleSearchUserPrefix() {
                    return "1";
                }
            });
            LdapManager ldapManager = new LdapManager();
            ldapManager.fessConfig = ComponentUtil.getFessConfig();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/SystemHelper.java

            if (StringUtil.isNotBlank(permission)) {
                return permission.startsWith(ComponentUtil.getFessConfig().getRoleSearchUserPrefix());
            }
            return false;
        }
    
        public String getSearchRoleByUser(final String name) {
            return createSearchRole(ComponentUtil.getFessConfig().getRoleSearchUserPrefix(), name);
        }
    
        public String getSearchRoleByGroup(final String 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)
  7. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

            }
            final List<String> list = validPermissionList;
            return stream(permissions).get(stream -> stream.allMatch(v -> list.contains(v)));
        }
    
        String getRoleSearchUserPrefix();
    
        String getRoleSearchGuestPermissions();
    
        default List<String> getSearchGuestRoleList() {
            @SuppressWarnings("unchecked")
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

         * The value is, e.g. 1 <br>
         * @return The value of found property. (NotNull: if not found, exception but basically no way)
         */
        String getRoleSearchUserPrefix();
    
        /**
         * Get the value for the key 'role.search.user.prefix' as {@link Integer}. <br>
         * The value is, e.g. 1 <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