Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

        protected OptionalThing<LoginManager> myLoginManager() {
            return OptionalThing.empty();
        }
    
        @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 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/app/web/api/admin/FessApiAdminAction.java

    public abstract class FessApiAdminAction extends FessApiAction {
    
        private static final Logger logger = LogManager.getLogger(FessApiAdminAction.class);
    
        @Override
        protected boolean isAccessAllowed() {
            try {
                return accessTokenService.getPermissions(request).map(permissions -> fessConfig.isApiAdminAccessAllowed(permissions))
                        .orElse(false);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top