Class GlobalAuthorizationConfiguration
- java.lang.Object
-
- org.infinispan.configuration.global.GlobalAuthorizationConfiguration
-
- All Implemented Interfaces:
BaseConfigurationInfo
,ConfigurationInfo
public class GlobalAuthorizationConfiguration extends Object implements ConfigurationInfo
GlobalAuthorizationConfiguration.- Since:
- 7.0
- Author:
- Tristan Tarrant
-
-
Field Summary
Fields Modifier and Type Field Description static org.infinispan.commons.configuration.attributes.AttributeDefinition<AuditLogger>
AUDIT_LOGGER
static org.infinispan.commons.configuration.attributes.AttributeDefinition<Boolean>
ENABLED
static org.infinispan.commons.configuration.attributes.AttributeDefinition<Map<String,Role>>
ROLES
-
Constructor Summary
Constructors Constructor Description GlobalAuthorizationConfiguration(org.infinispan.commons.configuration.attributes.AttributeSet attributes, PrincipalRoleMapperConfiguration roleMapperConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.infinispan.commons.configuration.attributes.AttributeSet
attributes()
AuditLogger
auditLogger()
boolean
enabled()
boolean
equals(Object o)
org.infinispan.commons.configuration.elements.ElementDefinition
getElementDefinition()
int
hashCode()
PrincipalRoleMapper
principalRoleMapper()
PrincipalRoleMapperConfiguration
roleMapperConfiguration()
Map<String,Role>
roles()
List<ConfigurationInfo>
subElements()
String
toString()
-
-
-
Field Detail
-
ENABLED
public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<Boolean> ENABLED
-
AUDIT_LOGGER
public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<AuditLogger> AUDIT_LOGGER
-
-
Constructor Detail
-
GlobalAuthorizationConfiguration
public GlobalAuthorizationConfiguration(org.infinispan.commons.configuration.attributes.AttributeSet attributes, PrincipalRoleMapperConfiguration roleMapperConfiguration)
-
-
Method Detail
-
getElementDefinition
public org.infinispan.commons.configuration.elements.ElementDefinition getElementDefinition()
- Specified by:
getElementDefinition
in interfaceBaseConfigurationInfo
- Returns:
- the
ElementDefinition
of the configuration.
-
subElements
public List<ConfigurationInfo> subElements()
- Specified by:
subElements
in interfaceConfigurationInfo
- Returns:
- the list of sub elements.
-
enabled
public boolean enabled()
-
auditLogger
public AuditLogger auditLogger()
-
principalRoleMapper
public PrincipalRoleMapper principalRoleMapper()
-
roleMapperConfiguration
public PrincipalRoleMapperConfiguration roleMapperConfiguration()
-
attributes
public org.infinispan.commons.configuration.attributes.AttributeSet attributes()
- Specified by:
attributes
in interfaceBaseConfigurationInfo
- Returns:
- the
AttributeSet
declared by the configuration.
-
toString
public String toString()
-
equals
public boolean equals(Object o)
-
hashCode
public int hashCode()
-
-