- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getAuthenticationTTL (0.06 sec)
-
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 now
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
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() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30.3K bytes - Viewed (0)