Class SaslConfigurationBuilder
java.lang.Object
org.infinispan.server.core.configuration.SaslConfigurationBuilder
- All Implemented Interfaces:
Builder<SaslConfiguration>
- Since:
- 10.0
-
Constructor Summary
-
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 beanboolean
mechProperties
(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) void
validate()
Validate the data in this builder before building the configuration bean
-
Constructor Details
-
SaslConfigurationBuilder
public SaslConfigurationBuilder()
-
-
Method Details
-
attributes
- Specified by:
attributes
in 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: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.
-
addMechProperty
-
mechProperties
-