Class PolicyConfigurationBuilder
- java.lang.Object
-
- org.infinispan.server.hotrod.configuration.PolicyConfigurationBuilder
-
- All Implemented Interfaces:
Builder<PolicyConfiguration>
public class PolicyConfigurationBuilder extends Object implements Builder<PolicyConfiguration>
- Since:
- 10.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PolicyConfiguration
create()
Create the configuration beanBooleanElementConfigurationBuilder
forwardSecrecy()
BooleanElementConfigurationBuilder
noActive()
BooleanElementConfigurationBuilder
noAnonymous()
BooleanElementConfigurationBuilder
noDictionary()
BooleanElementConfigurationBuilder
noPlainText()
BooleanElementConfigurationBuilder
passCredentials()
PolicyConfigurationBuilder
read(PolicyConfiguration template)
Reads the configuration from an already created configuration bean into this builder.void
validate()
Validate the data in this builder before building the configuration bean
-
-
-
Method Detail
-
forwardSecrecy
public BooleanElementConfigurationBuilder forwardSecrecy()
-
noActive
public BooleanElementConfigurationBuilder noActive()
-
noAnonymous
public BooleanElementConfigurationBuilder noAnonymous()
-
noDictionary
public BooleanElementConfigurationBuilder noDictionary()
-
noPlainText
public BooleanElementConfigurationBuilder noPlainText()
-
passCredentials
public BooleanElementConfigurationBuilder passCredentials()
-
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<PolicyConfiguration>
-
create
public PolicyConfiguration create()
Description copied from interface:Builder
Create the configuration bean- Specified by:
create
in interfaceBuilder<PolicyConfiguration>
- Returns:
-
read
public PolicyConfigurationBuilder read(PolicyConfiguration 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<PolicyConfiguration>
- Parameters:
template
- the configuration from which to "clone" this config if needed.
-
-