Class AuthenticationConfigurationBuilder
java.lang.Object
org.infinispan.server.hotrod.configuration.AbstractHotRodServerChildConfigurationBuilder
org.infinispan.server.hotrod.configuration.AuthenticationConfigurationBuilder
- All Implemented Interfaces:
Builder<AuthenticationConfiguration>
,HotRodServerChildConfigurationBuilder
public class AuthenticationConfigurationBuilder
extends AbstractHotRodServerChildConfigurationBuilder
implements Builder<AuthenticationConfiguration>
AuthenticationConfigurationBuilder.
- Since:
- 7.0
- Author:
- Tristan Tarrant
-
Method Summary
Modifier and TypeMethodDescriptionaddAllowedMech
(String mech) addMechanisms
(String... mechs) addMechProperty
(String key, String value) create()
Create the configuration beandisable()
enable()
boolean
enabled()
enabled
(boolean enabled) boolean
boolean
mechProperties
(Map<String, String> mechProperties) Builder<?>
read
(AuthenticationConfiguration template, Combine combine) Reads the configuration from an already created configuration bean into this builder.sasl()
securityRealm
(String name) serverAuthenticationProvider
(ServerAuthenticationProvider serverAuthenticationProvider) serverName
(String serverName) serverSubject
(Subject serverSubject) void
validate()
Validate the data in this builder before building the configuration beanMethods inherited from class org.infinispan.server.hotrod.configuration.AbstractHotRodServerChildConfigurationBuilder
authentication, proxyHost, proxyPort, topologyAwaitInitialTransfer, topologyLockTimeout, topologyNetworkPrefixOverride, topologyReplTimeout, topologyStateTransfer
-
Method Details
-
attributes
- Specified by:
attributes
in interfaceBuilder<AuthenticationConfiguration>
-
enable
-
disable
-
enabled
-
enabled
public boolean enabled() -
serverAuthenticationProvider
public AuthenticationConfigurationBuilder serverAuthenticationProvider(ServerAuthenticationProvider serverAuthenticationProvider) -
addMechanisms
-
hasMechanisms
public boolean hasMechanisms() -
addAllowedMech
-
mechProperties
-
addMechProperty
-
serverName
-
serverSubject
-
securityRealm
-
securityRealm
-
hasSecurityRealm
public boolean hasSecurityRealm() -
sasl
-
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<AuthenticationConfiguration>
-
create
Description copied from interface:Builder
Create the configuration bean- Specified by:
create
in interfaceBuilder<AuthenticationConfiguration>
- 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<AuthenticationConfiguration>
- 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.
-