- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for setAuthenticationTTL (0.11 seconds)
-
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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 23.3K bytes - Click Count (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 */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 30.3K bytes - Click Count (0)