public static final class AddSecretAuthentication.Builder extends Object
| Modifier and Type | Method and Description |
|---|---|
AddSecretAuthentication |
build() |
AddSecretAuthentication.Builder |
password(String password)
This method will encode the provided
password using Base64. |
AddSecretAuthentication.Builder |
passwordBase64(String password)
This method expects the provided
password to be already encoded using Base64. |
THIS |
replaceExisting()
This can cause server reload!
|
public Builder(String securityRealmName)
public AddSecretAuthentication.Builder password(String password) throws IOException
password using Base64.
For the purpose of the Base64 encoding, the password is treated as a sequence of bytes in the
UTF-8 encoding.IOExceptionpublic AddSecretAuthentication.Builder passwordBase64(String password) throws IOException
password to be already encoded using Base64.IOExceptionpublic AddSecretAuthentication build()
public final THIS replaceExisting()
Copyright © 2022. All rights reserved.