- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 270 for Role (0.01 sec)
-
src/main/java/org/codelibs/fess/app/web/admin/webauth/AdminWebauthAction.java
public class AdminWebauthAction extends FessAdminAction { /** * Default constructor. */ public AdminWebauthAction() { super(); } /** Role name for admin web auth operations */ public static final String ROLE = "admin-webauth"; private static final Logger logger = LogManager.getLogger(AdminWebauthAction.class);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 20.3K bytes - Viewed (0) -
src/main/resources/fess_config.properties
# Whether to use samAccountName for LDAP group. ldap.samaccountname.group=false # Whether LDAP role search for user is enabled. ldap.role.search.user.enabled=true # Whether LDAP role search for group is enabled. ldap.role.search.group.enabled=true # Whether LDAP role search for role is enabled. ldap.role.search.role.enabled=true # LDAP attribute for surname. ldap.attr.surname=sn # LDAP attribute for given name.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 05 14:45:37 UTC 2025 - 54.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java
public class AdminSearchlistAction extends FessAdminAction { /** * Default constructor. */ public AdminSearchlistAction() { super(); } /** Role name for admin search list operations */ public static final String ROLE = "admin-searchlist"; // =================================================================================== // Constant //
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 23.1K bytes - Viewed (1) -
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
/** * Checks if the current user has the specified action role or administrative privileges. * * @param role the role to check (supports both view and edit variants) * @return true if the user has the role or admin privileges, false otherwise */ public static boolean hasActionRole(final String role) { final String[] roles; if (role.endsWith(FessAdminAction.VIEW)) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 25.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java
} @Override protected String getActionRole() { return ROLE; } /** * Show the index page. * @return The HTML response. */ @Execute @Secured({ ROLE, ROLE + VIEW }) public HtmlResponse index() { saveToken(); return asListHtml(); } /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 29.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/PermissionHelperTest.java
assertNull(permissionHelper.encode("{role}\n")); assertNull(permissionHelper.encode("(allow){user} ")); assertNull(permissionHelper.encode("(deny){group}\t\n")); } public void test_encode_decode_symmetry() { String[] testValues = { "guest", "{user}guest", "{group}guest", "{role}guest", "(deny){user}guest", "(deny){group}guest", "(deny){role}guest" };
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 13:41:04 UTC 2025 - 13.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dashboard/AdminDashboardAction.java
public class AdminDashboardAction extends FessAdminAction { /** * Default constructor. */ public AdminDashboardAction() { super(); } /** The role for this action. */ public static final String ROLE = "admin-dashboard"; // =================================================================================== // Attribute
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/sereq/AdminSereqAction.java
} @Override protected String getActionRole() { return ROLE; } /** * Displays the search request management index page. * * @return HTML response for the search request page */ @Execute @Secured({ ROLE, ROLE + VIEW }) public HtmlResponse index() { return asListHtml(this::saveToken); } /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java
testUser.setRoleNames(new String[] {}); assertFalse(fessUserBean.hasRole("admin")); // Test with single role - matching testUser.setRoleNames(new String[] { "admin" }); assertTrue(fessUserBean.hasRole("admin")); // Test with single role - not matching assertFalse(fessUserBean.hasRole("user")); // Test with multiple roles
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/FessUser.java
public interface FessUser extends Serializable { /** * Gets the user's display name. * @return The user's name. */ String getName(); /** * Gets the user's assigned role names. * @return Array of role names. */ String[] getRoleNames(); /** * Gets the user's assigned group names. * @return Array of group names. */ String[] getGroupNames(); /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.8K bytes - Viewed (0)