- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for passwordChars (0.05 sec)
-
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)