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, unsupportType
build, buildAll, named
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
build, buildAll, named
public JDBCStoreConfigurationBuilder(IdentityStoresConfigurationBuilder builder)
public JDBCStoreConfigurationBuilder setDataSource(DataSource ds)
protected JDBCIdentityStoreConfiguration create()
Builder
Creates a new configuration.
create
in class Builder<JDBCIdentityStoreConfiguration>
protected void validate()
Builder
Validates the internal state.
protected JDBCStoreConfigurationBuilder readFrom(JDBCIdentityStoreConfiguration configuration)
Builder
Reads a pre-created configuration.
readFrom
in class IdentityStoreConfigurationBuilder<JDBCIdentityStoreConfiguration,JDBCStoreConfigurationBuilder>
Copyright © 2017 JBoss by Red Hat. All rights reserved.