Class RestAuthenticationConfigurationBuilder
java.lang.Object
org.infinispan.server.core.configuration.AbstractProtocolServerConfigurationChildBuilder<RestServerConfiguration,RestAuthenticationConfigurationBuilder,RestAuthenticationConfiguration>
org.infinispan.rest.configuration.RestAuthenticationConfigurationBuilder
- All Implemented Interfaces:
Builder<RestAuthenticationConfiguration>
,Self<RestAuthenticationConfigurationBuilder>
,AuthenticationConfigurationBuilder<RestAuthenticationConfiguration>
,ProtocolServerConfigurationChildBuilder<RestServerConfiguration,
RestAuthenticationConfigurationBuilder, RestAuthenticationConfiguration>
public class RestAuthenticationConfigurationBuilder
extends AbstractProtocolServerConfigurationChildBuilder<RestServerConfiguration,RestAuthenticationConfigurationBuilder,RestAuthenticationConfiguration>
implements AuthenticationConfigurationBuilder<RestAuthenticationConfiguration>
AuthenticationConfigurationBuilder.
- Since:
- 10.0
- Author:
- Tristan Tarrant
-
Field Summary
Fields inherited from class org.infinispan.server.core.configuration.AbstractProtocolServerConfigurationChildBuilder
builder
-
Method Summary
Modifier and TypeMethodDescriptionaddMechanisms
(String... mechanisms) authenticator
(RestAuthenticator authenticator) create()
Create the configuration beandisable()
enable()
boolean
enabled()
enabled
(boolean enabled) boolean
boolean
metricsAuth
(boolean metricsAuth) Builder
<?> read
(RestAuthenticationConfiguration template, Combine combine) Reads the configuration from an already created configuration bean into this builder.securityRealm
(String realm) self()
void
validate()
Validate the data in this builder before building the configuration beanMethods inherited from class org.infinispan.server.core.configuration.AbstractProtocolServerConfigurationChildBuilder
adminOperationsHandler, authentication, build, defaultCacheName, host, idleTimeout, implicitConnector, ioThreads, ipFilter, name, port, recvBufSize, sendBufSize, socketBinding, ssl, startTransport, tcpKeepAlive, tcpNoDelay
-
Method Details
-
attributes
- Specified by:
attributes
in interfaceBuilder<RestAuthenticationConfiguration>
-
enable
- Specified by:
enable
in interfaceAuthenticationConfigurationBuilder<RestAuthenticationConfiguration>
-
disable
-
enabled
-
enabled
public boolean enabled() -
securityRealm
-
securityRealm
- Specified by:
securityRealm
in interfaceAuthenticationConfigurationBuilder<RestAuthenticationConfiguration>
-
hasSecurityRealm
public boolean hasSecurityRealm() -
authenticator
-
addMechanisms
-
hasMechanisms
public boolean hasMechanisms() -
mechanisms
-
metricsAuth
-
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<RestAuthenticationConfiguration>
-
create
Description copied from interface:Builder
Create the configuration bean- Specified by:
create
in interfaceBuilder<RestAuthenticationConfiguration>
- 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<RestAuthenticationConfiguration>
- 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.
-
self
- Specified by:
self
in interfaceSelf<RestAuthenticationConfigurationBuilder>
-