- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 30 for effects (1.79 sec)
-
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java
private static final double TIMING_TOLERANCE = 2.0; // 200% tolerance - JVM timing is inherently variable for timing variations @BeforeEach public void setUp() { // Warm up JVM to reduce JIT compilation effects for (int i = 0; i < 100; i++) { NtlmPasswordAuthenticator auth1 = new NtlmPasswordAuthenticator("testdomain", "testuser", "password123");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDCacheImplTest.java
cache.resolveSids(ctx, null, arr, 2, 1); // resolve only s3 // Verify cache behavior - after reset, spying on the same cache won't work // Since we're working with internal state, we'll verify the side effects assertEquals("DOM", s1.getDomainName()); assertEquals("user1", s1.getAccountName()); assertEquals("DOM", s2.getDomainName()); assertEquals("user2", s2.getAccountName());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/general/EditForm.java
*/ @Size(max = 10000) public String appValue; /** * Default label value to use when no specific label is selected. * This affects which documents are included in search results by default. */ @Size(max = 1000) public String defaultLabelValue; /** * Default sort order for search results.Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 13 02:21:17 UTC 2025 - 10.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmUtilTest.java
assertArrayEquals(h2, h1, "nTOWFv1 should return NT hash"); assertEquals(16, h1.length, "NT hash length is 16 bytes"); } @Test @DisplayName("nTOWFv2: overloads produce same result and domain affects key") void testNTOWFv2_overloadsAndDomainSensitivity() { // Arrange String domain = "Domain"; String user = "User"; String password = "password"; // Act
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12K bytes - Viewed (1) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java
try { robotsTxt = robotsTxtHelper.parse(in); } finally { CloseableUtil.closeQuietly(in); } // Floating point crawl-delay should be ignored (as it expects integer) assertNotNull(robotsTxt); // Should either parse as 2 or be ignored assertTrue(robotsTxt.getCrawlDelay("TestBot") >= 0); }Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 20.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ClassUtil.java
final Class<?> ret = getWrapperClass(clazz); if (ret != null) { return ret; } return clazz; } /** * Returns a {@link Constructor} object that reflects the specified {@code public} constructor of the class represented by the {@link Class} object. * * @param <T> * The class represented by the {@link Class} object * @param clazzRegistered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 25.6K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmSspTest.java
lenient().when(mockAddress.getHostName()).thenReturn("WORKSTATION"); } /** * Test case for when the 'Authorization' header is missing. * Expects the server to respond with a 'WWW-Authenticate: NTLM' header and a 401 status. * @throws IOException */ @Test public void testAuthenticate_NoAuthorizationHeader() throws IOException {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 11.4K bytes - Viewed (1) -
src/test/java/jcifs/http/NtlmServletTest.java
assertDoesNotThrow(() -> ntlmServlet.init(servletConfig)); } /** * Test the service method when no Authorization header is present and no session exists. * Expects a 401 Unauthorized response with NTLM and Basic authentication challenges. * @throws ServletException * @throws IOException */ @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/Kerb5ContextTest.java
| NegTokenInit.SEQUENCE_CHECKING | NegTokenInit.ANONYMITY | NegTokenInit.CONFIDENTIALITY | NegTokenInit.INTEGRITY; assertEquals(expected, flags); } @Test @DisplayName("isEstablished reflects underlying context state") void isEstablished_behavior() throws Exception { when(gssContext.isEstablished()).thenReturn(true); assertTrue(ctx.isEstablished());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportInternalTest.java
assertTrue(ex.getMessage().contains("failed")); verify(transport).hasCapability(42); } // Edge: disconnected status toggles @ParameterizedTest @DisplayName("isDisconnected reflects current mocked state") @ValueSource(booleans = { true, false }) void isDisconnected_states(boolean disconnected) { when(transport.isDisconnected()).thenReturn(disconnected);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.1K bytes - Viewed (0)