- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getPasswordAsCharArray (0.07 sec)
-
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java
char[] password = authenticator.getPasswordAsCharArray(); assertNotNull(password, "Password char array should not be null"); assertArrayEquals(testPassword.toCharArray(), password, "Password should match"); // Verify it returns a clone, not the original password[0] = 'X'; char[] password2 = authenticator.getPasswordAsCharArray();
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
nc.setName(this.getUsername() + "@" + userDomain); } } 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)