Search Options

Display Count
Sort
Preferred Language
Advanced Search

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

  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)
  2. 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)
Back to Top