| | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | public String getPasswordAsString() |
| | | { |
| | | return password.toString(); |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | public SimpleBindRequest setName(final String name) |
| | | throws UnsupportedOperationException, NullPointerException |
| | | { |
| | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | public SimpleBindRequest setPassword(final String password) |
| | | public SimpleBindRequest setPassword(final char[] password) |
| | | throws UnsupportedOperationException, NullPointerException |
| | | { |
| | | Validator.ensureNotNull(password); |
| | |
| | | builder.append(getName()); |
| | | builder.append(", authentication=simple"); |
| | | builder.append(", password="); |
| | | builder.append(getPasswordAsString()); |
| | | builder.append(getPassword()); |
| | | builder.append(", controls="); |
| | | builder.append(getControls()); |
| | | builder.append(")"); |