- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for setAuthenticationTTL (0.07 sec)
-
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java
assertFalse(auth.isExpired()); // Test with no expiration (TTL = 0) auth.setAuthenticationTTL(0); Thread.sleep(100); assertFalse(auth.isExpired()); // Test with negative TTL (no expiration) auth.setAuthenticationTTL(-1); Thread.sleep(100); assertFalse(auth.isExpired()); } /** * Test close() method
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
} /** * Set the authentication time-to-live in milliseconds * * @param ttl time-to-live in milliseconds (0 or negative for no expiration) */ public void setAuthenticationTTL(long ttl) { this.authenticationTTL = ttl; } /** * Get the authentication time-to-live in milliseconds * * @return time-to-live in milliseconds */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30.3K bytes - Viewed (0)