Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testEmptyPasswordHandling (1.47 sec)

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

            // secureWipePassword should not throw exception
            authenticator.secureWipePassword();
        }
    
        @Test
        public void testEmptyPasswordHandling() {
            authenticator = new NtlmPasswordAuthenticator("DOMAIN", "username", "");
    
            assertEquals("", authenticator.getPassword(), "getPassword should return empty string");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  2. 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