public abstract class BaseAbstractStoreConfiguration<C extends BaseAbstractStoreConfiguration<?>> extends Object implements IdentityStoreConfiguration
| Constructor and Description |
|---|
BaseAbstractStoreConfiguration(Map<FeatureSet.FeatureGroup,Set<FeatureSet.FeatureOperation>> supportedFeatures,
Map<Class<? extends Relationship>,Set<FeatureSet.FeatureOperation>> supportedRelationships,
Set<String> realms,
Set<String> tiers,
List<ContextInitializer> contextInitializers,
Map<String,Object> credentialHandlerProperties,
List<Class<? extends CredentialHandler>> credentialHandlers) |
| Modifier and Type | Method and Description |
|---|---|
List<ContextInitializer> |
getContextInitializers()
Returns all
ContextInitializer instances configured for a specific identity store. |
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. |
Set<String> |
getRealms()
Returns all configured realms.
|
Map<FeatureSet.FeatureGroup,Set<FeatureSet.FeatureOperation>> |
getSupportedFeatures() |
Map<Class<? extends Relationship>,Set<FeatureSet.FeatureOperation>> |
getSupportedRelationships() |
Set<String> |
getTiers() |
void |
init()
Initializes the store configuration with the specified
FeatureSet. |
protected abstract void |
initConfig() |
protected void |
removeFeature(FeatureSet.FeatureGroup feature)
Removes the given
FeatureSet.FeatureGroup and all supported FeatureSet.FeatureOperation from the features set. |
boolean |
supportsFeature(FeatureSet.FeatureGroup feature,
FeatureSet.FeatureOperation operation)
Check if the
FeatureSet.FeatureGroup is supported. |
boolean |
supportsRelationship(Class<? extends Relationship> relationshipType,
FeatureSet.FeatureOperation operation)
Check if the given Relationship type is supported.
|
public BaseAbstractStoreConfiguration(Map<FeatureSet.FeatureGroup,Set<FeatureSet.FeatureOperation>> supportedFeatures, Map<Class<? extends Relationship>,Set<FeatureSet.FeatureOperation>> supportedRelationships, Set<String> realms, Set<String> tiers, List<ContextInitializer> contextInitializers, Map<String,Object> credentialHandlerProperties, List<Class<? extends CredentialHandler>> credentialHandlers)
public final void init()
throws SecurityConfigurationException
IdentityStoreConfiguration
Initializes the store configuration with the specified FeatureSet.
init in interface IdentityStoreConfigurationSecurityConfigurationExceptionprotected abstract void initConfig()
public List<ContextInitializer> getContextInitializers()
IdentityStoreConfiguration
Returns all ContextInitializer instances configured for a specific identity store.
getContextInitializers in interface IdentityStoreConfigurationpublic 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 supportsFeature(FeatureSet.FeatureGroup feature, FeatureSet.FeatureOperation operation)
Check if the FeatureSet.FeatureGroup is supported.
supportsFeature in interface IdentityStoreConfigurationfeature - operation - public boolean supportsRelationship(Class<? extends Relationship> relationshipType, FeatureSet.FeatureOperation operation)
Check if the given Relationship type is supported.
supportsRelationship in interface IdentityStoreConfigurationfeature - operation - public Set<String> getRealms()
IdentityStoreConfigurationReturns all configured realms.
getRealms in interface IdentityStoreConfigurationpublic Set<String> getTiers()
getTiers in interface IdentityStoreConfigurationpublic Map<FeatureSet.FeatureGroup,Set<FeatureSet.FeatureOperation>> getSupportedFeatures()
getSupportedFeatures in interface IdentityStoreConfigurationpublic Map<Class<? extends Relationship>,Set<FeatureSet.FeatureOperation>> getSupportedRelationships()
getSupportedRelationships in interface IdentityStoreConfigurationprotected void removeFeature(FeatureSet.FeatureGroup feature) throws SecurityConfigurationException
Removes the given FeatureSet.FeatureGroup and all supported FeatureSet.FeatureOperation from the features set.
feature - SecurityConfigurationException - If this instance is locked and changes are no more allowed.Copyright © 2013. All Rights Reserved.