Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isAccessAllowed (0.05 sec)

  1. 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)
  2. 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)
Back to top