Class SaslConfigurationBuilder
java.lang.Object
org.infinispan.server.core.configuration.SaslConfigurationBuilder
- All Implemented Interfaces:
Builder<SaslConfiguration>
- Since:
- 10.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllowedMech(String mech) addMechanisms(String... mechs) addMechProperty(String key, String value) addProperty(String key, String value) addStrength(String value) authenticator(SaslAuthenticator saslAuthenticator) create()Create the configuration beanbooleanmechProperties(Map<String, String> mechProperties) read(SaslConfiguration template, Combine combine) Reads the configuration from an already created configuration bean into this builder.serverName(String name) serverSubject(Subject subject) voidvalidate()Validate the data in this builder before building the configuration bean
-
Constructor Details
-
SaslConfigurationBuilder
public SaslConfigurationBuilder()
-
-
Method Details
-
attributes
- Specified by:
attributesin interfaceBuilder<SaslConfiguration>
-
authenticator
-
serverName
-
serverName
-
serverSubject
-
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.
-
addMechProperty
-
mechProperties
-