public abstract class AbstractIdentityStoreConfigurationBuilder<T extends IdentityStoreConfiguration,S extends IdentityStoreConfigurationBuilder<T,S>> extends AbstractIdentityConfigurationChildBuilder implements IdentityStoreConfigurationBuilder<T,S>
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractIdentityStoreConfigurationBuilder(IdentityStoresConfigurationBuilder builder) |
build, contextFactory, storesprotected AbstractIdentityStoreConfigurationBuilder(IdentityStoresConfigurationBuilder builder)
public FileStoreConfigurationBuilder file()
public JPAStoreConfigurationBuilder jpa()
public LDAPStoreConfigurationBuilder ldap()
public S supportFeature(FeatureSet.FeatureGroup... groups)
supportFeature in interface IdentityStoreConfigurationBuilder<T extends IdentityStoreConfiguration,S extends IdentityStoreConfigurationBuilder<T,S>>public S supportFeature(FeatureSet.FeatureGroup feature, FeatureSet.FeatureOperation operation)
public S supportRelationshipType(Class<? extends Relationship>... relationshipClass)
supportRelationshipType in interface IdentityStoreConfigurationBuilder<T extends IdentityStoreConfiguration,S extends IdentityStoreConfigurationBuilder<T,S>>public S removeRelationship(Class<? extends Relationship>... relationshipClasses)
Removes the given Relationship types.
removeRelationship in interface IdentityStoreConfigurationBuilder<T extends IdentityStoreConfiguration,S extends IdentityStoreConfigurationBuilder<T,S>>featureSet - relationshipClass - public S removeRelationshipFeature(Class<? extends Relationship> relationshipClass, FeatureSet.FeatureOperation operation)
Removes the given FeatureSet.FeatureOperation related to the provided Relationship type from the feature set.
removeRelationshipFeature in interface IdentityStoreConfigurationBuilder<T extends IdentityStoreConfiguration,S extends IdentityStoreConfigurationBuilder<T,S>>feature - operation - SecurityConfigurationException - If this instance is locked and changes are no more allowed.public S supportAllFeatures()
supportAllFeatures in interface IdentityStoreConfigurationBuilder<T extends IdentityStoreConfiguration,S extends IdentityStoreConfigurationBuilder<T,S>>public S addRealm(String... realmNames)
addRealm in interface IdentityStoreConfigurationBuilder<T extends IdentityStoreConfiguration,S extends IdentityStoreConfigurationBuilder<T,S>>public S addTier(String... tierNames)
addTier in interface IdentityStoreConfigurationBuilder<T extends IdentityStoreConfiguration,S extends IdentityStoreConfigurationBuilder<T,S>>public S addContextInitializer(ContextInitializer contextInitializer)
addContextInitializer in interface IdentityStoreConfigurationBuilder<T extends IdentityStoreConfiguration,S extends IdentityStoreConfigurationBuilder<T,S>>public S setCredentialHandlerProperty(String propertyName, Object value)
setCredentialHandlerProperty in interface IdentityStoreConfigurationBuilder<T extends IdentityStoreConfiguration,S extends IdentityStoreConfigurationBuilder<T,S>>public S addCredentialHandler(Class<? extends CredentialHandler> credentialHandler)
addCredentialHandler in interface IdentityStoreConfigurationBuilder<T extends IdentityStoreConfiguration,S extends IdentityStoreConfigurationBuilder<T,S>>public S removeFeature(FeatureSet.FeatureGroup feature) throws SecurityConfigurationException
Removes the given FeatureSet.FeatureGroup and all supported FeatureSet.FeatureOperation from the features set.
removeFeature in interface IdentityStoreConfigurationBuilder<T extends IdentityStoreConfiguration,S extends IdentityStoreConfigurationBuilder<T,S>>feature - SecurityConfigurationException - If this instance is locked and changes are no more allowed.public S removeFeature(FeatureSet.FeatureGroup feature, FeatureSet.FeatureOperation operation)
Removes the given FeatureSet.FeatureOperation for the provided FeatureSet.FeatureGroup from the features set.
removeFeature in interface IdentityStoreConfigurationBuilder<T extends IdentityStoreConfiguration,S extends IdentityStoreConfigurationBuilder<T,S>>feature - operation - SecurityConfigurationException - If this instance is locked and changes are no more allowed.public void validate()
validate in interface Builder<T extends IdentityStoreConfiguration>public Builder<?> readFrom(T configuration)
readFrom in interface Builder<T extends IdentityStoreConfiguration>protected Map<FeatureSet.FeatureGroup,Set<FeatureSet.FeatureOperation>> getSupportedFeatures()
protected Map<Class<? extends Relationship>,Set<FeatureSet.FeatureOperation>> getSupportedRelationships()
protected List<ContextInitializer> getContextInitializers()
protected List<Class<? extends CredentialHandler>> getCredentialHandlers()
protected static List<Class<? extends Relationship>> getDefaultRelationshipClasses()
Copyright © 2013. All Rights Reserved.