- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for getAuthenticationTTL (0.41 seconds)
-
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
this.authenticationTTL = ttl; } /** * Get the authentication time-to-live in milliseconds * * @return time-to-live in milliseconds */ public long getAuthenticationTTL() { return this.authenticationTTL; } /** * Reset the authentication timestamp to current time */ public void resetAuthenticationTimestamp() {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) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java
// Initially not expired assertFalse(auth.isExpired()); // Set short TTL auth.setAuthenticationTTL(100); // 100 milliseconds assertEquals(100, auth.getAuthenticationTTL()); // Still not expired immediately assertFalse(auth.isExpired()); // Wait for expiration Thread.sleep(150); // Should be expired nowCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 23.3K bytes - Click Count (0)