- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for isAccessAllowed (0.04 seconds)
-
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()); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 4.8K bytes - Click Count (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);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 2.3K bytes - Click Count (0)