Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getSearchRoleByUser (0.21 sec)

  1. src/main/java/org/codelibs/fess/app/web/base/login/OpenIdConnectCredential.java

                    final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
                    final Set<String> permissionSet = new HashSet<>();
                    permissionSet.add(systemHelper.getSearchRoleByUser(name));
                    stream(groups).of(stream -> stream.forEach(s -> permissionSet.add(systemHelper.getSearchRoleByGroup(s))));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. 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)
Back to top