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
-
Methods inherited from class org.infinispan.server.hotrod.configuration.AbstractHotRodServerChildConfigurationBuilder
authentication, proxyHost, proxyPort, topologyAwaitInitialTransfer, topologyLockTimeout, topologyNetworkPrefixOverride, topologyReplTimeout, topologyStateTransfer
-
-
-
-
Method Detail
-
enable
public AuthenticationConfigurationBuilder enable()
-
disable
public AuthenticationConfigurationBuilder disable()
-
enabled
public AuthenticationConfigurationBuilder enabled(boolean enabled)
-
serverAuthenticationProvider
public AuthenticationConfigurationBuilder serverAuthenticationProvider(org.infinispan.server.core.security.ServerAuthenticationProvider serverAuthenticationProvider)
-
addMechanisms
public AuthenticationConfigurationBuilder addMechanisms(String... mechs)
-
hasMechanisms
public boolean hasMechanisms()
-
addAllowedMech
public AuthenticationConfigurationBuilder addAllowedMech(String mech)
-
mechProperties
public AuthenticationConfigurationBuilder mechProperties(Map<String,String> mechProperties)
-
addMechProperty
public AuthenticationConfigurationBuilder addMechProperty(String key, String value)
-
serverName
public AuthenticationConfigurationBuilder serverName(String serverName)
-
serverSubject
public AuthenticationConfigurationBuilder serverSubject(Subject serverSubject)
-
securityRealm
public AuthenticationConfigurationBuilder securityRealm(String name)
-
securityRealm
public String securityRealm()
-
hasSecurityRealm
public boolean hasSecurityRealm()
-
sasl
public SaslConfigurationBuilder 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
public AuthenticationConfiguration create()
Description copied from interface:Builder
Create the configuration bean- Specified by:
create
in interfaceBuilder<AuthenticationConfiguration>
- Returns:
-
read
public Builder<?> read(AuthenticationConfiguration template)
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.
-
-