- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for passwordChars (0.15 sec)
-
src/main/java/jcifs/smb/NtlmContext.java
} else { char[] passwordChars = this.auth.getPasswordAsCharArray(); if (passwordChars != null) { passwordString = new String(passwordChars); // Securely wipe the char array immediately after use java.util.Arrays.fill(passwordChars, '\0'); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 17.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java
} @Test public void testPasswordConstructorWithCharArray() { char[] passwordChars = "charArrayPassword".toCharArray(); authenticator = new NtlmPasswordAuthenticator("DOMAIN", "username", passwordChars); String retrievedPassword = authenticator.getPassword(); assertEquals("charArrayPassword", retrievedPassword, "Password should match");
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/main/java/jcifs/smb/JAASAuthenticator.java
} } else if (cb instanceof PasswordCallback pc) { char[] passwordChars = this.getPasswordAsCharArray(); if (passwordChars != null) { pc.setPassword(passwordChars); } } } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.3K bytes - Viewed (0)