- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for getSearchRoleByRole (0.29 sec)
-
src/main/java/org/codelibs/fess/app/web/base/login/OpenIdConnectCredential.java
stream(groups).of(stream -> stream.forEach(s -> permissionSet.add(systemHelper.getSearchRoleByGroup(s)))); stream(roles).of(stream -> stream.forEach(s -> permissionSet.add(systemHelper.getSearchRoleByRole(s)))); permissions = permissionSet.toArray(new String[permissionSet.size()]); } return permissions; } }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 4.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/login/AzureAdCredential.java
stream(groups).of(stream -> stream.forEach(s -> permissionSet.add(systemHelper.getSearchRoleByGroup(s)))); stream(roles).of(stream -> stream.forEach(s -> permissionSet.add(systemHelper.getSearchRoleByRole(s)))); permissions = permissionSet.stream().filter(StringUtil::isNotBlank).distinct().toArray(n -> new String[n]); } return permissions; } @Override
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/SystemHelperTest.java
assertEquals("1test", systemHelper.getSearchRoleByUser("test")); assertEquals("Rtest", systemHelper.getSearchRoleByRole("test")); assertEquals("2test", systemHelper.getSearchRoleByGroup("test")); assertEquals("1", systemHelper.getSearchRoleByUser("")); assertEquals("R", systemHelper.getSearchRoleByRole("")); assertEquals("2", systemHelper.getSearchRoleByGroup("")); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 18.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/login/SamlCredential.java
stream(groups).of(stream -> stream.forEach(s -> permissionSet.add(systemHelper.getSearchRoleByGroup(s)))); stream(roles).of(stream -> stream.forEach(s -> permissionSet.add(systemHelper.getSearchRoleByRole(s)))); permissions = permissionSet.toArray(new String[permissionSet.size()]); } return permissions; } public String getSessionIndex() {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 6.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/PermissionHelper.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 12.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SystemHelper.java
} public String getSearchRoleByGroup(final String name) { return createSearchRole(ComponentUtil.getFessConfig().getRoleSearchGroupPrefix(), name); } public String getSearchRoleByRole(final String name) { return createSearchRole(ComponentUtil.getFessConfig().getRoleSearchRolePrefix(), name); } protected String createSearchRole(final String type, 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) -
src/main/java/org/codelibs/fess/ldap/LdapManager.java
final boolean isRole = entryDn.toLowerCase(Locale.ROOT).indexOf("ou=role") != -1; if (isRole) { if (fessConfig.isLdapRoleSearchRoleEnabled()) { roleSet.add(systemHelper.getSearchRoleByRole(normalizePermissionName(name))); } } else if (fessConfig.isLdapRoleSearchGroupEnabled()) { roleSet.add(systemHelper.getSearchRoleByGroup(normalizePermissionName(name))); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 65.9K bytes - Viewed (0)