public static final class AddSslServerIdentity.Builder extends Object
| Modifier and Type | Method and Description |
|---|---|
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 |
generateSelfSignedCertHost(String generateSelfSignedCertHost)
If set, there shall be generated self signed certificate for the specified host name.
|
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!
|
public Builder(String securityRealmName)
public AddSslServerIdentity.Builder alias(String alias)
public AddSslServerIdentity.Builder cipherSuitesToEnable(String... cipherSuitesToEnable)
public AddSslServerIdentity.Builder protocolsToEnable(String... protocolsToEnable)
public AddSslServerIdentity.Builder keystorePassword(String keystorePassword)
public AddSslServerIdentity.Builder keyPassword(String keyPassword)
public AddSslServerIdentity.Builder keystorePath(String keystorePath)
public AddSslServerIdentity.Builder keystoreProvider(String keystoreProvider)
public AddSslServerIdentity.Builder keystoreRelativeTo(String keystoreRelativeTo)
public AddSslServerIdentity.Builder protocol(String protocol)
public AddSslServerIdentity.Builder generateSelfSignedCertHost(String generateSelfSignedCertHost)
If set, there shall be generated self signed certificate for the specified host name. It will be generated only if there doesn't exist the defined keystore.
This option is available since WildFly 10.1 => for older versions it is ignored
public AddSslServerIdentity build()
public final THIS replaceExisting()
Copyright © 2021. All rights reserved.