Class SaslConfigurationBuilder
- java.lang.Object
-
- org.infinispan.server.hotrod.configuration.SaslConfigurationBuilder
-
- All Implemented Interfaces:
Builder<SaslConfiguration>
public class SaslConfigurationBuilder extends Object implements Builder<SaslConfiguration>
- Since:
- 10.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SaslConfigurationBuilder
addAllowedMech(String mech)
SaslConfigurationBuilder
addMechanisms(String... mechs)
SaslConfigurationBuilder
addProperty(String key, String value)
SaslConfigurationBuilder
addQOP(String value)
SaslConfigurationBuilder
addStrength(String value)
SaslConfiguration
create()
Create the configuration beanboolean
hasMechanisms()
Set<String>
mechanisms()
PolicyConfigurationBuilder
policy()
SaslConfigurationBuilder
read(SaslConfiguration template)
Reads the configuration from an already created configuration bean into this builder.String
serverName()
SaslConfigurationBuilder
serverName(String name)
void
validate()
Validate the data in this builder before building the configuration bean
-
-
-
Method Detail
-
policy
public PolicyConfigurationBuilder policy()
-
serverName
public SaslConfigurationBuilder serverName(String name)
-
serverName
public String serverName()
-
addQOP
public SaslConfigurationBuilder addQOP(String value)
-
addStrength
public SaslConfigurationBuilder addStrength(String value)
-
addProperty
public SaslConfigurationBuilder addProperty(String key, String value)
-
addMechanisms
public SaslConfigurationBuilder addMechanisms(String... mechs)
-
addAllowedMech
public SaslConfigurationBuilder addAllowedMech(String mech)
-
hasMechanisms
public boolean hasMechanisms()
-
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<SaslConfiguration>
-
create
public SaslConfiguration create()
Description copied from interface:Builder
Create the configuration bean- Specified by:
create
in interfaceBuilder<SaslConfiguration>
- Returns:
-
read
public SaslConfigurationBuilder read(SaslConfiguration 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<SaslConfiguration>
- Parameters:
template
- the configuration from which to "clone" this config if needed.
-
-