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 beanboolean
read
(SaslConfiguration template, Combine combine) Reads the configuration from an already created configuration bean into this builder.serverName
(String name) void
validate()
Validate the data in this builder before building the configuration bean
-
Method Details
-
attributes
- Specified by:
attributes
in interfaceBuilder<SaslConfiguration>
-
serverName
-
serverName
-
addQOP
-
addStrength
-
addPolicy
-
addProperty
-
addMechanisms
-
addAllowedMech
-
hasMechanisms
public boolean hasMechanisms() -
mechanisms
-
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
Description copied from interface:Builder
Create the configuration bean- Specified by:
create
in interfaceBuilder<SaslConfiguration>
- Returns:
-
read
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.combine
- the way attributes and children of this instance and the template should be combined.
-