- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testNullPasswordHandling (0.11 sec)
-
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java
assertEquals("charArrayPassword", retrievedPassword2, "Stored password should not be affected by external changes"); } @Test public void testNullPasswordHandling() { authenticator = new NtlmPasswordAuthenticator("DOMAIN", "username", (String) null); assertNull(authenticator.getPassword(), "getPassword should return null for null password");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java
assertEquals(new String(testPassword), auth.getPassword()); } /** * Test null password handling */ @Test public void testNullPasswordHandling() { // Test with null String password NtlmPasswordAuthenticator auth1 = new NtlmPasswordAuthenticator("testuser", (String) null); assertNull(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)