Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getRoleSearchUserPrefix (0.11 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/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)
  3. 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)
  4. 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)
Back to top