| Package | Description |
|---|---|
| oracle.jdbc |
Beginning in Oracle9i, the Oracle extensions to JDBC are captured in the package
oracle.jdbc. |
| oracle.jdbc.datasource |
Beginning in Oracle Release 12.2, some of the Oracle extensions to JDBC are captured in the package
oracle.jdbc.datasource. |
| oracle.jdbc.pool |
A package of connection cache and pooling related classes.
|
| oracle.jdbc.replay |
Provides interfaces and factory methods for Application Continuity.
|
| Modifier and Type | Method and Description |
|---|---|
static AccessToken |
AccessToken.createJsonWebToken(char[] token)
Creates an
AccessToken representing a JSON Web Token (JWT). |
static AccessToken |
AccessToken.createJsonWebToken(char[] token)
Creates an
AccessToken representing a JSON Web Token (JWT). |
static AccessToken |
AccessToken.createJsonWebToken(char[] token, PrivateKey privateKey)
Creates an
AccessToken representing a JSON Web Token (JWT) that requires proof of possession (PoP) of a privateKey. |
static AccessToken |
AccessToken.createJsonWebToken(char[] token, PrivateKey privateKey)
Creates an
AccessToken representing a JSON Web Token (JWT) that requires proof of possession (PoP) of a privateKey. |
| Modifier and Type | Method and Description |
|---|---|
static java.util.function.Supplier<? extends AccessToken> |
AccessToken.createJsonWebTokenCache(java.util.function.Supplier<? extends AccessToken> tokenSupplier)
Returns a
Supplier that caches access tokens generated by a tokenSupplier. |
static java.util.function.Supplier<? extends AccessToken> |
AccessToken.createJsonWebTokenCache(java.util.function.Supplier<? extends AccessToken> tokenSupplier)
Returns a
Supplier that caches access tokens generated by a tokenSupplier. |
| Modifier and Type | Method and Description |
|---|---|
OracleConnectionBuilder |
OracleConnectionBuilder.accessToken(AccessToken accessToken)
Specifies the
accessToken to be used when creating a connection. |
OracleConnectionBuilder |
OracleConnectionBuilder.accessToken(AccessToken accessToken)
Specifies the
accessToken to be used when creating a connection. |
| Modifier and Type | Method and Description |
|---|---|
static java.util.function.Supplier<? extends AccessToken> |
AccessToken.createJsonWebTokenCache(java.util.function.Supplier<? extends AccessToken> tokenSupplier)
Returns a
Supplier that caches access tokens generated by a tokenSupplier. |
static java.util.function.Supplier<? extends AccessToken> |
AccessToken.createJsonWebTokenCache(java.util.function.Supplier<? extends AccessToken> tokenSupplier)
Returns a
Supplier that caches access tokens generated by a tokenSupplier. |
| Modifier and Type | Method and Description |
|---|---|
void |
OracleCommonDataSource.setTokenSupplier(java.util.function.Supplier<? extends AccessToken> tokenSupplier)
Sets a supplier function that generates an access token when creating a connection with this
DataSource. |
void |
OracleCommonDataSource.setTokenSupplier(java.util.function.Supplier<? extends AccessToken> tokenSupplier)
Sets a supplier function that generates an access token when creating a connection with this
DataSource. |
| Modifier and Type | Field and Description |
|---|---|
protected java.util.function.Supplier<? extends AccessToken> |
OracleConnectionBuilderImpl.tokenSupplier
Supplier of access tokens that this builder is configured to use for authenticating a connection.
|
protected java.util.function.Supplier<? extends AccessToken> |
OracleConnectionBuilderImpl.tokenSupplier
Supplier of access tokens that this builder is configured to use for authenticating a connection.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.function.Supplier<? extends AccessToken> |
OracleConnectionBuilderImpl.getTokenSupplier()
Returns a supplier of
AccessTokens if one has been specified by user code calling OracleConnectionBuilderImpl.accessToken(AccessToken), or by internal code calling OracleConnectionBuilderImpl.setTokenSupplier(Supplier). |
java.util.function.Supplier<? extends AccessToken> |
OracleConnectionBuilderImpl.getTokenSupplier()
Returns a supplier of
AccessTokens if one has been specified by user code calling OracleConnectionBuilderImpl.accessToken(AccessToken), or by internal code calling OracleConnectionBuilderImpl.setTokenSupplier(Supplier). |
| Modifier and Type | Method and Description |
|---|---|
OracleConnectionBuilderImpl |
OracleConnectionBuilderImpl.accessToken(AccessToken accessToken)
Sets the
OracleConnectionBuilderImpl.accessToken(oracle.jdbc.AccessToken) field of this builder. |
OracleConnectionBuilderImpl |
OracleConnectionBuilderImpl.accessToken(AccessToken accessToken)
Sets the
OracleConnectionBuilderImpl.accessToken(oracle.jdbc.AccessToken) field of this builder. |
| Modifier and Type | Method and Description |
|---|---|
protected Connection |
OracleDataSource.getPhysicalConnection(Properties prop, GSSCredential gssCredential, SSLContext sslContext, java.util.function.Supplier<? extends AccessToken> tokenSupplier) |
protected Connection |
OracleDataSource.getPhysicalConnection(Properties prop, GSSCredential gssCredential, SSLContext sslContext, java.util.function.Supplier<? extends AccessToken> tokenSupplier) |
void |
OracleConnectionBuilderImpl.setTokenSupplier(java.util.function.Supplier<? extends AccessToken> tokenSupplier)
Internal API to configure this builder with a
Supplier of AccessTokens. |
void |
OracleDataSource.setTokenSupplier(java.util.function.Supplier<? extends AccessToken> tokenSupplier) |
void |
OracleDataSource.setTokenSupplier(java.util.function.Supplier<? extends AccessToken> tokenSupplier) |
void |
OracleConnectionBuilderImpl.setTokenSupplier(java.util.function.Supplier<? extends AccessToken> tokenSupplier)
Internal API to configure this builder with a
Supplier of AccessTokens. |
| Modifier and Type | Method and Description |
|---|---|
void |
OracleDataSourceImpl.setTokenSupplier(java.util.function.Supplier<? extends AccessToken> tokenSupplier) |
void |
OracleDataSourceImpl.setTokenSupplier(java.util.function.Supplier<? extends AccessToken> tokenSupplier) |