org.wildfly.extras.creaper.commands.security.realms
Class AddSecretAuthentication.Builder

java.lang.Object
  extended by org.wildfly.extras.creaper.commands.security.realms.AddSecretAuthentication.Builder
Enclosing class:
AddSecretAuthentication

public static final class AddSecretAuthentication.Builder
extends Object


Constructor Summary
AddSecretAuthentication.Builder(String securityRealmName)
           
 
Method Summary
 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!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddSecretAuthentication.Builder

public AddSecretAuthentication.Builder(String securityRealmName)
Method Detail

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 © 2020. All rights reserved.