Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for addErrorsUnauthorizedRequest (0.16 sec)

  1. src/main/java/org/codelibs/fess/app/web/api/FessApiAction.java

        @Override
        public ActionResponse godHandPrologue(final ActionRuntime runtime) {
            if (!isAccessAllowed()) {
                return asJson(new ApiErrorResponse().message(getMessage(messages -> messages.addErrorsUnauthorizedRequest(GLOBAL)))
                        .status(Status.UNAUTHORIZED).result());
            }
            return super.godHandPrologue(runtime);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/mylasta/action/FessMessages.java

         * <pre>
         * message: Unauthorized request.
         * </pre>
         * @param property The property name for the message. (NotNull)
         * @return this. (NotNull)
         */
        public FessMessages addErrorsUnauthorizedRequest(String property) {
            assertPropertyNotNull(property);
            add(property, new UserMessage(ERRORS_unauthorized_request));
            return this;
        }
    
        /**
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 119.9K bytes
    - Viewed (0)
Back to top