public abstract class AbstractIdentityStoreConfiguration extends Object implements IdentityStoreConfiguration
Base class for IdentityStoreConfiguration implementations.
IdentityStoreConfiguration.IdentityOperation| Modifier | Constructor and Description |
|---|---|
protected |
AbstractIdentityStoreConfiguration(Map<Class<? extends AttributedType>,Set<IdentityStoreConfiguration.IdentityOperation>> supportedTypes,
Map<Class<? extends AttributedType>,Set<IdentityStoreConfiguration.IdentityOperation>> unsupportedTypes,
List<ContextInitializer> contextInitializers,
Map<String,Object> credentialHandlerProperties,
Set<Class<? extends CredentialHandler>> credentialHandlers,
boolean supportsAttribute,
boolean supportsCredential,
boolean supportsPermissions) |
| Modifier and Type | Method and Description |
|---|---|
void |
addContextInitializer(ContextInitializer contextInitializer)
Adds a
ContextInitializer instance which will be used to initialize IdentityContexts for
this configuration. |
List<ContextInitializer> |
getContextInitializers()
Returns a List of the configured context initializers for this configuration.
|
Map<String,Object> |
getCredentialHandlerProperties()
Allows credential handler behaviour to be customized via a set of property values
|
List<Class<? extends CredentialHandler>> |
getCredentialHandlers()
Returns a
List of the CredentialHandler types configured. |
Class<? extends IdentityStore> |
getIdentityStoreType()
Returns the
IdentityStore type associated with this configuration. |
Map<Class<? extends AttributedType>,Set<IdentityStoreConfiguration.IdentityOperation>> |
getSupportedTypes() |
Map<Class<? extends AttributedType>,Set<IdentityStoreConfiguration.IdentityOperation>> |
getUnsupportedTypes() |
void |
initializeContext(IdentityContext context,
IdentityStore<?> store)
Initialize the specified
IdentityContext |
<T extends IdentityStore> |
setIdentityStoreType(Class<T> identityStoreType) |
boolean |
supportsAttribute()
Indicates if ad-hoc attributes are supported.
|
boolean |
supportsCredential()
Indicates if credentials are supported.
|
boolean |
supportsPartition()
Indicates if this configuration supports partition storage.
|
boolean |
supportsPermissions()
Indicates whether this configuration supports the storing of resource permissions
|
boolean |
supportsRelationship()
Indicates if relationships are supported.
|
boolean |
supportsType(Class<? extends AttributedType> type,
IdentityStoreConfiguration.IdentityOperation operation)
Checks if the configuration supports the given
AttributedType and IdentityStoreConfiguration.IdentityOperation. |
protected AbstractIdentityStoreConfiguration(Map<Class<? extends AttributedType>,Set<IdentityStoreConfiguration.IdentityOperation>> supportedTypes, Map<Class<? extends AttributedType>,Set<IdentityStoreConfiguration.IdentityOperation>> unsupportedTypes, List<ContextInitializer> contextInitializers, Map<String,Object> credentialHandlerProperties, Set<Class<? extends CredentialHandler>> credentialHandlers, boolean supportsAttribute, boolean supportsCredential, boolean supportsPermissions)
public void addContextInitializer(ContextInitializer contextInitializer)
IdentityStoreConfiguration
Adds a ContextInitializer instance which will be used to initialize IdentityContexts for
this configuration.
addContextInitializer in interface IdentityStoreConfigurationpublic void initializeContext(IdentityContext context, IdentityStore<?> store)
IdentityStoreConfiguration
Initialize the specified IdentityContext
initializeContext in interface IdentityStoreConfigurationcontext - The IdentityContext to initializepublic List<Class<? extends CredentialHandler>> getCredentialHandlers()
IdentityStoreConfigurationReturns a List of the CredentialHandler types configured.
getCredentialHandlers in interface IdentityStoreConfigurationpublic Map<String,Object> getCredentialHandlerProperties()
IdentityStoreConfigurationAllows credential handler behaviour to be customized via a set of property values
getCredentialHandlerProperties in interface IdentityStoreConfigurationpublic boolean supportsType(Class<? extends AttributedType> type, IdentityStoreConfiguration.IdentityOperation operation)
IdentityStoreConfigurationChecks if the configuration supports the given AttributedType and IdentityStoreConfiguration.IdentityOperation.
supportsType in interface IdentityStoreConfigurationpublic Class<? extends IdentityStore> getIdentityStoreType()
IdentityStoreConfigurationReturns the IdentityStore type associated with this configuration.
getIdentityStoreType in interface IdentityStoreConfigurationpublic <T extends IdentityStore> void setIdentityStoreType(Class<T> identityStoreType)
public Map<Class<? extends AttributedType>,Set<IdentityStoreConfiguration.IdentityOperation>> getSupportedTypes()
getSupportedTypes in interface IdentityStoreConfigurationpublic Map<Class<? extends AttributedType>,Set<IdentityStoreConfiguration.IdentityOperation>> getUnsupportedTypes()
getUnsupportedTypes in interface IdentityStoreConfigurationpublic List<ContextInitializer> getContextInitializers()
IdentityStoreConfigurationgetContextInitializers in interface IdentityStoreConfigurationpublic boolean supportsPartition()
IdentityStoreConfigurationIndicates if this configuration supports partition storage.
supportsPartition in interface IdentityStoreConfigurationpublic boolean supportsRelationship()
IdentityStoreConfigurationIndicates if relationships are supported.
supportsRelationship in interface IdentityStoreConfigurationpublic boolean supportsAttribute()
IdentityStoreConfigurationIndicates if ad-hoc attributes are supported.
supportsAttribute in interface IdentityStoreConfigurationpublic boolean supportsCredential()
IdentityStoreConfigurationIndicates if credentials are supported.
supportsCredential in interface IdentityStoreConfigurationpublic boolean supportsPermissions()
IdentityStoreConfigurationsupportsPermissions in interface IdentityStoreConfigurationCopyright © 2018 JBoss by Red Hat. All rights reserved.