- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for resetAuthenticationTimestamp (0.19 seconds)
-
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
*/ public long getAuthenticationTTL() { return this.authenticationTTL; } /** * Reset the authentication timestamp to current time */ public void resetAuthenticationTimestamp() { this.authenticationTimestamp = System.currentTimeMillis(); } @Override public void close() { if (closed) { return; } try {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
// Wait for expiration Thread.sleep(150); // Should be expired now assertTrue(auth.isExpired()); // Reset timestamp auth.resetAuthenticationTimestamp(); assertFalse(auth.isExpired()); // Test with no expiration (TTL = 0) auth.setAuthenticationTTL(0); Thread.sleep(100); assertFalse(auth.isExpired());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)