Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testEmptyPasswordHandling (0.09 sec)

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

            auth1.secureWipePassword(); // Should not throw exception
            assertNull(auth1.getPassword());
        }
    
        /**
         * Test empty password handling
         */
        @Test
        public void testEmptyPasswordHandling() {
            // Test with empty String password
            NtlmPasswordAuthenticator auth1 = new NtlmPasswordAuthenticator("testuser", "");
            assertEquals("", auth1.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