- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for testEmptyPasswordHandling (0.13 seconds)
-
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");Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 8.5K bytes - Click Count (0) -
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());
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 23.3K bytes - Click Count (0)