org.wildfly.extras.creaper.commands.security.realms
Class AddSecretAuthentication.Builder
java.lang.Object
org.wildfly.extras.creaper.commands.security.realms.AddSecretAuthentication.Builder
- Enclosing class:
- AddSecretAuthentication
public static final class AddSecretAuthentication.Builder
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AddSecretAuthentication.Builder
public AddSecretAuthentication.Builder(String securityRealmName)
password
public AddSecretAuthentication.Builder password(String password)
throws IOException
- This method will encode the provided
password using Base64.
For the purpose of the Base64 encoding, the password is treated as a sequence of bytes in the
UTF-8 encoding.
- Throws:
IOException
passwordBase64
public AddSecretAuthentication.Builder passwordBase64(String password)
throws IOException
- This method expects the provided
password to be already encoded using Base64.
- Throws:
IOException
build
public AddSecretAuthentication build()
replaceExisting
public final THIS replaceExisting()
- This can cause server reload!
Copyright © 2016. All rights reserved.