org.wildfly.extras.creaper.commands.undertow
Class AddHttpsSecurityRealm.Builder

java.lang.Object
  extended by org.wildfly.extras.creaper.commands.undertow.AddHttpsSecurityRealm.Builder
Enclosing class:
AddHttpsSecurityRealm

public static final class AddHttpsSecurityRealm.Builder
extends Object


Constructor Summary
AddHttpsSecurityRealm.Builder(String securityRealmName)
           
 
Method Summary
 AddHttpsSecurityRealm.Builder alias(String alias)
          The alias of the entry to use from the keystore.
 AddHttpsSecurityRealm build()
           
 AddHttpsSecurityRealm.Builder cipherSuitesToEnable(String... cipherSuitesToEnable)
          Adds ciphers which should be set as enabled on the underlying SSLEngine.
 AddHttpsSecurityRealm.Builder keyPassword(String keyPassword)
          Defines the password to obtain the key from the keystore.
 AddHttpsSecurityRealm.Builder keystorePassword(String keystorePassword)
          Defines the password to open the keystore.
 AddHttpsSecurityRealm.Builder keystorePath(String keystorePath)
          Defines the path of the keystore, will be ignored if the keystore provider is anything other than JKS.
 AddHttpsSecurityRealm.Builder keystoreProvider(String keystoreProvider)
          The provider for loading the keystore, defaults to JKS.
 AddHttpsSecurityRealm.Builder keystoreRelativeTo(String keystoreRelativeTo)
          Defines name of another previously named path, or of one of the standard paths provided by the system.
 AddHttpsSecurityRealm.Builder protocol(String protocol)
          Defines the protocol to use when creating the SSLContext.
 AddHttpsSecurityRealm.Builder protocolsToEnable(String... protocolsToEnable)
          Adds protocols which should be set as enabled on the underlying SSLEngine.
 AddHttpsSecurityRealm.Builder truststorePassword(String truststorePassword)
          Defines the password to open the truststore.
 AddHttpsSecurityRealm.Builder truststorePath(String truststorePath)
          Defines the path of the trustore, will be ignored if the truststore provider is anything other than JKS.
 AddHttpsSecurityRealm.Builder truststoreProvider(String truststoreProvider)
          Defines the provider for loading the truststore, defaults to JKS.
 AddHttpsSecurityRealm.Builder truststoreRelativeTo(String truststoreRelativeTo)
          Define name of another previously named path, or of one of the standard paths provided by the system.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddHttpsSecurityRealm.Builder

public AddHttpsSecurityRealm.Builder(String securityRealmName)
Method Detail

alias

public AddHttpsSecurityRealm.Builder alias(String alias)
The alias of the entry to use from the keystore.


cipherSuitesToEnable

public AddHttpsSecurityRealm.Builder cipherSuitesToEnable(String... cipherSuitesToEnable)
Adds ciphers which should be set as enabled on the underlying SSLEngine.


protocolsToEnable

public AddHttpsSecurityRealm.Builder protocolsToEnable(String... protocolsToEnable)
Adds protocols which should be set as enabled on the underlying SSLEngine.


keystorePassword

public AddHttpsSecurityRealm.Builder keystorePassword(String keystorePassword)
Defines the password to open the keystore. This is mandatory parameter which needs to be set.


keyPassword

public AddHttpsSecurityRealm.Builder keyPassword(String keyPassword)
Defines the password to obtain the key from the keystore.


keystorePath

public AddHttpsSecurityRealm.Builder keystorePath(String keystorePath)
Defines the path of the keystore, will be ignored if the keystore provider is anything other than JKS.


keystoreProvider

public AddHttpsSecurityRealm.Builder keystoreProvider(String keystoreProvider)
The provider for loading the keystore, defaults to JKS.


keystoreRelativeTo

public AddHttpsSecurityRealm.Builder keystoreRelativeTo(String keystoreRelativeTo)
Defines name of another previously named path, or of one of the standard paths provided by the system. If 'relative-to' is provided, the value of the 'path' attribute is treated as relative to the path specified by this attribute.


protocol

public AddHttpsSecurityRealm.Builder protocol(String protocol)
Defines the protocol to use when creating the SSLContext.


truststorePassword

public AddHttpsSecurityRealm.Builder truststorePassword(String truststorePassword)
Defines the password to open the truststore. It is mandatory parameter when also defining truststore


truststorePath

public AddHttpsSecurityRealm.Builder truststorePath(String truststorePath)
Defines the path of the trustore, will be ignored if the truststore provider is anything other than JKS. If not defined, truststore is not defined for the server.


truststoreProvider

public AddHttpsSecurityRealm.Builder truststoreProvider(String truststoreProvider)
Defines the provider for loading the truststore, defaults to JKS.


truststoreRelativeTo

public AddHttpsSecurityRealm.Builder truststoreRelativeTo(String truststoreRelativeTo)
Define name of another previously named path, or of one of the standard paths provided by the system. If 'relative-to' is provided, the value of the 'path' attribute is treated as relative to the path specified by this attribute.


build

public AddHttpsSecurityRealm build()


Copyright © 2020. All rights reserved.