- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for passwordChars (0.26 seconds)
-
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'); } }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 17.3K bytes - Click Count (1) -
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");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 8.5K bytes - Click Count (0) -
src/main/java/jcifs/smb/JAASAuthenticator.java
} } else if (cb instanceof PasswordCallback pc) { char[] passwordChars = this.getPasswordAsCharArray(); if (passwordChars != null) { pc.setPassword(passwordChars); } } } }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 8.3K bytes - Click Count (1)