|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.pingidentity.access.DataSourceAccessor
public class DataSourceAccessor
This class provides access to supported datastore information.
This class may also be used as an alternate way to retrieve a SQL Connection class.
It also provides access to LDAP information,
and provides access to a configured CustomDataSourceDriver.
LdapInfo| Constructor Summary | |
|---|---|
DataSourceAccessor()
Default constructor |
|
| Method Summary | |
|---|---|
java.sql.Connection |
getConnection(java.lang.String jdbcJndiName)
Performs a JNDI lookup on the passed in id, and return a Connection object. |
CustomDataSourceDriver |
getCustomDataSourceDriver(java.lang.String sourceId)
Retrieves the specified CustomDataSourceDriver associated with a specific CustomDataSource. |
org.sourceid.saml20.domain.datasource.info.LdapInfo |
getLdapInfo(java.lang.String ldapId)
Retrieves LDAP lookup information for the specified id. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataSourceAccessor()
| Method Detail |
|---|
public org.sourceid.saml20.domain.datasource.info.LdapInfo getLdapInfo(java.lang.String ldapId)
ldapId - The id of the Ldap datastore information to retrieve
LdapInfo or null if not found.
public java.sql.Connection getConnection(java.lang.String jdbcJndiName)
throws java.sql.SQLException,
javax.naming.NamingException
jdbcJndiName - The jndi name to perform the lookup on
Connection class for the corresponding jndi id.
java.sql.SQLException
javax.naming.NamingExceptionpublic CustomDataSourceDriver getCustomDataSourceDriver(java.lang.String sourceId)
CustomDataSourceDriver associated with a specific CustomDataSource.
The Custom data source object contains configuration information that was set during the data source creation.
This information is passed to the appropriate CustomDataSourceDriver before being returned.
sourceId - The id of the Custom data source object to retrieve.
CustomDataSourceDriver or null if not found.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||