Class MemcachedAuthenticationConfigurationBuilder
java.lang.Object
org.infinispan.server.memcached.configuration.MemcachedAuthenticationConfigurationBuilder
- All Implemented Interfaces:
Builder<MemcachedAuthenticationConfiguration>
,AuthenticationConfigurationBuilder<MemcachedAuthenticationConfiguration>
public class MemcachedAuthenticationConfigurationBuilder
extends Object
implements AuthenticationConfigurationBuilder<MemcachedAuthenticationConfiguration>
MemcachedAuthenticationConfigurationBuilder.
- Since:
- 7.0
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptioncreate()
Create the configuration beandisable()
enable()
boolean
enabled()
enabled
(boolean enabled) boolean
Builder
<?> read
(MemcachedAuthenticationConfiguration template, Combine combine) Reads the configuration from an already created configuration bean into this builder.sasl()
securityRealm
(String name) text()
void
validate()
Validate the data in this builder before building the configuration bean
-
Constructor Details
-
MemcachedAuthenticationConfigurationBuilder
public MemcachedAuthenticationConfigurationBuilder(ProtocolServerConfigurationChildBuilder<?, ?, ?> builder)
-
-
Method Details
-
attributes
- Specified by:
attributes
in interfaceBuilder<MemcachedAuthenticationConfiguration>
-
enable
- Specified by:
enable
in interfaceAuthenticationConfigurationBuilder<MemcachedAuthenticationConfiguration>
-
disable
-
enabled
-
enabled
public boolean enabled() -
securityRealm
-
securityRealm
- Specified by:
securityRealm
in interfaceAuthenticationConfigurationBuilder<MemcachedAuthenticationConfiguration>
-
hasSecurityRealm
public boolean hasSecurityRealm() -
sasl
-
text
-
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<MemcachedAuthenticationConfiguration>
-
create
Description copied from interface:Builder
Create the configuration bean- Specified by:
create
in interfaceBuilder<MemcachedAuthenticationConfiguration>
- 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<MemcachedAuthenticationConfiguration>
- 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.
-