public class JDBCStoreConfigurationBuilder extends IdentityStoreConfigurationBuilder<JDBCIdentityStoreConfiguration,JDBCStoreConfigurationBuilder>
IdentityStoreConfigurationBuilder implementation which knows how to build a
JDBCIdentityStoreConfiguration.
| Constructor and Description |
|---|
JDBCStoreConfigurationBuilder(IdentityStoresConfigurationBuilder builder) |
| Modifier and Type | Method and Description |
|---|---|
protected JDBCIdentityStoreConfiguration |
create()
Creates a new configuration.
|
void |
map(String key,
Class<?> value)
Map a custom JDBC mapping class for a type such as
User |
protected JDBCStoreConfigurationBuilder |
readFrom(JDBCIdentityStoreConfiguration configuration)
Reads a pre-created configuration.
|
JDBCStoreConfigurationBuilder |
setDataSource(DataSource ds) |
protected void |
validate()
Validates the internal state.
|
add, addContextInitializer, addCredentialHandler, file, getContextInitializers, getCredentialHandlerProperties, getCredentialHandlers, getGlobalRelationshipTypes, getSelfRelationshipTypes, getSupportedTypes, getUnsupportedTypes, isSupportAttributes, isSupportCredentials, isSupportPermissions, jpa, ldap, setCredentialHandlerProperty, supportAllFeatures, supportAttributes, supportCredentials, supportGlobalRelationship, supportPermissions, supportSelfRelationship, supportType, token, unsupportTypebuild, buildAll, namedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuild, buildAll, namedpublic JDBCStoreConfigurationBuilder(IdentityStoresConfigurationBuilder builder)
public JDBCStoreConfigurationBuilder setDataSource(DataSource ds)
protected JDBCIdentityStoreConfiguration create()
BuilderCreates a new configuration.
create in class Builder<JDBCIdentityStoreConfiguration>protected void validate()
BuilderValidates the internal state.
protected JDBCStoreConfigurationBuilder readFrom(JDBCIdentityStoreConfiguration configuration)
BuilderReads a pre-created configuration.
readFrom in class IdentityStoreConfigurationBuilder<JDBCIdentityStoreConfiguration,JDBCStoreConfigurationBuilder>Copyright © 2018 JBoss by Red Hat. All rights reserved.