public class GlobalAuthorizationConfigurationBuilder extends Object implements Builder<GlobalAuthorizationConfiguration>
Constructor and Description |
---|
GlobalAuthorizationConfigurationBuilder(GlobalSecurityConfigurationBuilder builder) |
public static final Log log
public GlobalAuthorizationConfigurationBuilder(GlobalSecurityConfigurationBuilder builder)
public GlobalAuthorizationConfigurationBuilder enable()
public GlobalAuthorizationConfigurationBuilder disable()
public GlobalAuthorizationConfigurationBuilder enabled(boolean enabled)
public GlobalAuthorizationConfigurationBuilder auditLogger(AuditLogger auditLogger)
AuditLogger
to be used to track operations performed on caches and cachemanagers. The default logger is
the NullAuditLogger
. You can also use the LoggingAuditLogger
which will send audit messages to the log.auditLogger
- public GlobalAuthorizationConfigurationBuilder principalRoleMapper(PrincipalRoleMapper principalRoleMapper)
principalRoleMapper
- public GlobalRoleConfigurationBuilder role(String name)
public void validate()
Builder
validate
in interface Builder<GlobalAuthorizationConfiguration>
public GlobalAuthorizationConfiguration create()
Builder
create
in interface Builder<GlobalAuthorizationConfiguration>
public Builder<?> read(GlobalAuthorizationConfiguration template)
Builder
read
in interface Builder<GlobalAuthorizationConfiguration>
template
- the configuration from which to "clone" this config if needed.protected GlobalConfigurationBuilder getGlobalConfig()
public TransportConfigurationBuilder transport()
GlobalConfigurationChildBuilder
transport
in interface GlobalConfigurationChildBuilder
public GlobalJmxStatisticsConfigurationBuilder globalJmxStatistics()
GlobalConfigurationChildBuilder
globalJmxStatistics
in interface GlobalConfigurationChildBuilder
public GlobalStateConfigurationBuilder globalState()
GlobalConfigurationChildBuilder
globalState
in interface GlobalConfigurationChildBuilder
public SerializationConfigurationBuilder serialization()
GlobalConfigurationChildBuilder
serialization
in interface GlobalConfigurationChildBuilder
public ThreadPoolConfigurationBuilder listenerThreadPool()
GlobalConfigurationChildBuilder
listenerThreadPool
in interface GlobalConfigurationChildBuilder
public ThreadPoolConfigurationBuilder asyncThreadPool()
GlobalConfigurationChildBuilder
asyncThreadPool
in interface GlobalConfigurationChildBuilder
public ThreadPoolConfigurationBuilder replicationQueueThreadPool()
replicationQueueThreadPool
in interface GlobalConfigurationChildBuilder
@Deprecated public ThreadPoolConfigurationBuilder evictionThreadPool()
GlobalConfigurationChildBuilder
evictionThreadPool
in interface GlobalConfigurationChildBuilder
public ThreadPoolConfigurationBuilder expirationThreadPool()
GlobalConfigurationChildBuilder
expirationThreadPool
in interface GlobalConfigurationChildBuilder
public ThreadPoolConfigurationBuilder persistenceThreadPool()
GlobalConfigurationChildBuilder
persistenceThreadPool
in interface GlobalConfigurationChildBuilder
public ThreadPoolConfigurationBuilder stateTransferThreadPool()
GlobalConfigurationChildBuilder
stateTransferThreadPool
in interface GlobalConfigurationChildBuilder
public GlobalSecurityConfigurationBuilder security()
GlobalConfigurationChildBuilder
security
in interface GlobalConfigurationChildBuilder
public ShutdownConfigurationBuilder shutdown()
GlobalConfigurationChildBuilder
shutdown
in interface GlobalConfigurationChildBuilder
public SiteConfigurationBuilder site()
GlobalConfigurationChildBuilder
site
in interface GlobalConfigurationChildBuilder
public List<Builder<?>> modules()
GlobalConfigurationChildBuilder
modules
in interface GlobalConfigurationChildBuilder
public GlobalConfigurationBuilder defaultCacheName(String defaultCacheName)
GlobalConfigurationChildBuilder
CacheContainer.getCache()
. NotdefaultCacheName
in interface GlobalConfigurationChildBuilder
public GlobalConfiguration build()
GlobalConfigurationChildBuilder
GlobalConfiguration
object using the settings applied to this builderbuild
in interface GlobalConfigurationChildBuilder
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.