Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testCloseMethod (0.29 sec)

  1. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

            assertFalse(auth.isExpired());
        }
    
        /**
         * Test close() method
         */
        @Test
        @DisplayName("Test close() method properly wipes sensitive data")
        public void testCloseMethod() {
            NtlmPasswordAuthenticator auth = new NtlmPasswordAuthenticator("DOMAIN", "user", "CloseTestPass123!");
    
            assertFalse(auth.isClosed());
            assertEquals("CloseTestPass123!", auth.getPassword());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.3K bytes
    - Viewed (0)
Back to top