Class SaslConfigurationBuilder
java.lang.Object
org.infinispan.server.hotrod.configuration.SaslConfigurationBuilder
- All Implemented Interfaces:
Builder<SaslConfiguration>
- Since:
- 10.0
-
Method Summary
Modifier and TypeMethodDescriptionaddAllowedMech(String mech) addMechanisms(String... mechs) addProperty(String key, String value) addStrength(String value) create()Create the configuration beanbooleanread(SaslConfiguration template, Combine combine) Reads the configuration from an already created configuration bean into this builder.serverName(String name) voidvalidate()Validate the data in this builder before building the configuration bean
-
Method Details
-
attributes
- Specified by:
attributesin interfaceBuilder<SaslConfiguration>
-
serverName
-
serverName
-
addQOP
-
addStrength
-
addPolicy
-
addProperty
-
addMechanisms
-
addAllowedMech
-
hasMechanisms
public boolean hasMechanisms() -
mechanisms
-
validate
public void validate()Description copied from interface:BuilderValidate the data in this builder before building the configuration bean- Specified by:
validatein interfaceBuilder<SaslConfiguration>
-
create
Description copied from interface:BuilderCreate the configuration bean- Specified by:
createin interfaceBuilder<SaslConfiguration>- Returns:
-
read
Description copied from interface:BuilderReads the configuration from an already created configuration bean into this builder. Returns an appropriate builder to allow fluent configuration- Specified by:
readin interfaceBuilder<SaslConfiguration>- Parameters:
template- the configuration from which to "clone" this config if needed.combine- the way attributes and children of this instance and the template should be combined.
-