Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for passwordChars (0.05 sec)

  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");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  2. 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)
Back to top