Class EncryptionConfigurationBuilder
- java.lang.Object
-
- org.infinispan.server.core.configuration.EncryptionConfigurationBuilder
-
- All Implemented Interfaces:
Builder<EncryptionConfiguration>
public class EncryptionConfigurationBuilder extends Object implements Builder<EncryptionConfiguration>
- Since:
- 10.0
-
-
Constructor Summary
Constructors Constructor Description EncryptionConfigurationBuilder(SslConfigurationBuilder sslConfigurationBuilder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SniConfigurationBuilder
addSni()
EncryptionConfiguration
create()
Create the configuration beanEncryptionConfigurationBuilder
read(EncryptionConfiguration template)
Reads the configuration from an already created configuration bean into this builder.EncryptionConfigurationBuilder
realm(String name)
EncryptionConfigurationBuilder
requireClientAuth(boolean require)
EncryptionConfigurationBuilder
sslContext(SSLContext context)
void
validate()
Validate the data in this builder before building the configuration bean
-
-
-
Constructor Detail
-
EncryptionConfigurationBuilder
public EncryptionConfigurationBuilder(SslConfigurationBuilder sslConfigurationBuilder)
-
-
Method Detail
-
addSni
public SniConfigurationBuilder addSni()
-
sslContext
public EncryptionConfigurationBuilder sslContext(SSLContext context)
-
realm
public EncryptionConfigurationBuilder realm(String name)
-
requireClientAuth
public EncryptionConfigurationBuilder requireClientAuth(boolean require)
-
validate
public void validate()
Description copied from interface:Builder
Validate the data in this builder before building the configuration bean- Specified by:
validate
in interfaceBuilder<EncryptionConfiguration>
-
create
public EncryptionConfiguration create()
Description copied from interface:Builder
Create the configuration bean- Specified by:
create
in interfaceBuilder<EncryptionConfiguration>
- Returns:
-
read
public EncryptionConfigurationBuilder read(EncryptionConfiguration template)
Description copied from interface:Builder
Reads the configuration from an already created configuration bean into this builder. Returns an appropriate builder to allow fluent configuration- Specified by:
read
in interfaceBuilder<EncryptionConfiguration>
- Parameters:
template
- the configuration from which to "clone" this config if needed.
-
-