Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isApiAdminAccessAllowed (0.08 sec)

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

        @Override
        protected boolean isAccessAllowed() {
            try {
                return accessTokenService.getPermissions(request).map(permissions -> fessConfig.isApiAdminAccessAllowed(permissions))
                        .orElse(false);
            } catch (final InvalidAccessTokenException e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Invalid access token.", e);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                propMap.put(API_ADMIN_ACCESS_PERMISSION_SET, fieldSet);
            }
            return fieldSet;
        }
    
        default boolean isApiAdminAccessAllowed(final Set<String> accessPermissions) {
            return getApiAdminAccessPermissionSet().stream().anyMatch(s -> accessPermissions.contains(s));
        }
    
        String getUserCodePattern();
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 87.2K bytes
    - Viewed (0)
Back to top