Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for isWhitelisted (0.18 seconds)

  1. src/main/java/org/codelibs/fess/helper/RateLimitHelper.java

            }
            return trusted;
        }
    
        /**
         * Check if the IP is in the whitelist.
         * @param ip the IP address to check
         * @return true if whitelisted
         */
        public boolean isWhitelisted(final String ip) {
            final Set<String> whitelist = ComponentUtil.getFessConfig().getRateLimitWhitelistIpsAsSet();
            final boolean whitelisted = whitelist.contains(ip);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Dec 24 14:16:27 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  2. src/main/java/jcifs/util/PathValidator.java

                throw new SmbException("Path is not allowed");
            }
    
            // Check against whitelist if configured
            if (!whitelistedPaths.isEmpty() && !isWhitelisted(normalized)) {
                log.warn("Path is not whitelisted: {}", sanitizeForLog(normalized));
                throw new SmbException("Path is not in allowed list");
            }
    
            // Validate UNC paths
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.5K bytes
    - Click Count (0)
Back to Top