- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 189 for blocked (0.07 seconds)
-
src/main/java/org/codelibs/fess/helper/RateLimitHelper.java
logger.debug("IP in static block list: ip={}", ip); } return true; } // Check dynamically blocked IPs (Cache handles expiration automatically) final Boolean blocked = blockedIps.getIfPresent(ip); if (blocked != null) { if (logger.isDebugEnabled()) { logger.debug("IP dynamically blocked: ip={}", 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) -
src/test/java/org/codelibs/fess/app/web/admin/design/AdminDesignActionTest.java
assertFalse("Path traversal should be blocked", result); } @Test public void test_isValidVirtualHostPath_pathTraversal_encoded() throws Exception { setupVirtualHostHelper("/site1", "/site2"); Boolean result = invokeIsValidVirtualHostPath("/site1/../../../etc"); assertFalse("Encoded path traversal should be blocked", result); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 13.6K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepository.java
} else { this.mirroredRepositories = Collections.emptyList(); } } @Override public boolean isBlocked() { return blocked; } @Override public void setBlocked(boolean blocked) { this.blocked = blocked; }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 7.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/filter/RateLimitFilter.java
logger.debug("Rate limit check: clientIp={}, path={}", clientIp, httpRequest.getRequestURI()); } // Check if IP is blocked if (rateLimitHelper.isBlocked(clientIp)) { if (logger.isDebugEnabled()) { logger.debug("Request blocked: clientIp={}", clientIp); } sendBlockedResponse(httpResponse); return; } // Check rate limit
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Dec 24 14:16:27 GMT 2025 - 4.4K bytes - Click Count (0) -
src/test/java/jcifs/util/AuthenticationRateLimiterTest.java
String ip = "192.168.1.7"; // Block the IP for (int i = 1; i <= 5; i++) { assertTrue(rateLimiter.checkAttempt("user" + i, ip)); rateLimiter.recordFailure("user" + i, ip); } // Should be blocked assertFalse(rateLimiter.checkAttempt("user6", ip), "IP should be blocked"); // Manually unblockCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.8K bytes - Click Count (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepository.java
@Deprecated void setBlacklisted(boolean blackListed); /** * @return whether the repository is blocked * @since 3.8.1 **/ boolean isBlocked(); /** * @param blocked block the repository? * @since 3.8.1 **/ void setBlocked(boolean blocked); // // New interface methods for the repository system. // /** *Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Feb 07 00:45:02 GMT 2025 - 4.3K bytes - Click Count (1) -
impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java
} else { this.mirroredRepositories = Collections.emptyList(); } } @Override public boolean isBlocked() { return blocked; } @Override public void setBlocked(boolean blocked) { this.blocked = blocked; }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 12.1K bytes - Click Count (0) -
src/test/java/org/codelibs/core/io/FileUtilTest.java
final Path baseDir = tempFolder.getRoot().toPath(); final Path traversalPath = baseDir.resolve("../../../etc/passwd"); assertFalse("Path traversal should be blocked", FileUtil.isPathSafe(traversalPath, baseDir)); } /** * Test isPathSafe with File objects * * @throws Exception */ @Test
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 10.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java
// after some period of time the runner thread should become blocked on the task because it is // waiting for the slow interrupting thread to complete Thread.interrupt awaitBlockedOnInstanceOf(runner, InterruptibleTask.Blocker.class); Blocker blocker = (Blocker) LockSupport.getBlocker(runner); Thread owner = blocker.getOwner(); assertThat(owner).isSameInstanceAs(interrupter);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 7.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java
// after some period of time the runner thread should become blocked on the task because it is // waiting for the slow interrupting thread to complete Thread.interrupt awaitBlockedOnInstanceOf(runner, InterruptibleTask.Blocker.class); Blocker blocker = (Blocker) LockSupport.getBlocker(runner); Thread owner = blocker.getOwner(); assertThat(owner).isSameInstanceAs(interrupter);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 7.2K bytes - Click Count (0)