- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for isAccessAllowed (0.11 sec)
-
src/main/java/org/codelibs/fess/app/web/api/FessApiAction.java
* @return ActionResponse with unauthorized error if access denied, otherwise delegates to parent */ @Override public ActionResponse godHandPrologue(final ActionRuntime runtime) { if (!isAccessAllowed()) { return asJson(new ApiErrorResponse().message(getMessage(messages -> messages.addErrorsUnauthorizedRequest(GLOBAL))) .status(Status.UNAUTHORIZED) .result()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 4.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/FessApiAdminAction.java
* allow admin access according to the Fess configuration. * * @return true if admin access is allowed, false otherwise */ @Override protected boolean isAccessAllowed() { try { return accessTokenService.getPermissions(request) .map(permissions -> fessConfig.isApiAdminAccessAllowed(permissions)) .orElse(false);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 2.3K bytes - Viewed (0)