- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for getAuthenticationAdminRolesAsArray (0.16 sec)
-
src/main/java/org/codelibs/fess/app/web/base/FessLoginAction.java
} protected HtmlResponse redirectByUser(final FessUserBean user) { if (user.hasRoles(fessConfig.getAuthenticationAdminRolesAsArray())) { return redirect(AdminDashboardAction.class); } final Class<? extends FessAdminAction> actionClass = AdminAction.getAdminActionClass(user); if (actionClass != null) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java
super.setupHtmlData(runtime); systemHelper.setupAdminHtmlData(this, runtime); final Boolean editable = getUserBean() .map(user -> user.hasRoles(fessConfig.getAuthenticationAdminRolesAsArray()) || user.hasRole(getActionRole())).orElse(false); runtime.registerData("editable", editable); runtime.registerData("editableClass", editable ? StringUtil.EMPTY : "disabled");
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 5.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/login/FessLoginAssist.java
if (FessAdminAction.class.isAssignableFrom(resource.getActionClass())) { getSavedUserBean().ifPresent(user -> { if (user.hasRoles(fessConfig.getAuthenticationAdminRolesAsArray())) { return; } final Method executeMethod = resource.getExecuteMethod(); final Secured secured = executeMethod.getAnnotation(Secured.class);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 7.8K bytes - Viewed (0)