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

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

public static final class AddSslServerIdentity.Builder
extends Object


Constructor Summary
AddSslServerIdentity.Builder(String securityRealmName)
           
 
Method Summary
 AddSslServerIdentity.Builder alias(String alias)
          The alias of the entry to use from the keystore.
 AddSslServerIdentity build()
           
 AddSslServerIdentity.Builder cipherSuitesToEnable(String... cipherSuitesToEnable)
          Adds ciphers which should be set as enabled on the underlying SSLEngine.
 AddSslServerIdentity.Builder keyPassword(String keyPassword)
          Defines the password to obtain the key from the keystore.
 AddSslServerIdentity.Builder keystorePassword(String keystorePassword)
          Defines the password to open the keystore.
 AddSslServerIdentity.Builder keystorePath(String keystorePath)
          Defines the path of the keystore, will be ignored if the keystore provider is anything other than JKS.
 AddSslServerIdentity.Builder keystoreProvider(String keystoreProvider)
          The provider for loading the keystore, defaults to JKS.
 AddSslServerIdentity.Builder keystoreRelativeTo(String keystoreRelativeTo)
          Defines name of another previously named path, or of one of the standard paths provided by the system.
 AddSslServerIdentity.Builder protocol(String protocol)
          Defines the protocol to use when creating the SSLContext.
 AddSslServerIdentity.Builder protocolsToEnable(String... protocolsToEnable)
          Adds protocols which should be set as enabled on the underlying SSLEngine.
 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

AddSslServerIdentity.Builder

public AddSslServerIdentity.Builder(String securityRealmName)
Method Detail

alias

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


cipherSuitesToEnable

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


protocolsToEnable

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


keystorePassword

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


keyPassword

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


keystorePath

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


keystoreProvider

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


keystoreRelativeTo

public AddSslServerIdentity.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 AddSslServerIdentity.Builder protocol(String protocol)
Defines the protocol to use when creating the SSLContext.


build

public AddSslServerIdentity build()

replaceExisting

public final THIS replaceExisting()
This can cause server reload!



Copyright © 2016. All rights reserved.