| 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 | Description |
|---|---|---|
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. |
| Modifier and Type | Method | 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. |
| Modifier and Type | Method | Description |
|---|---|---|
OracleConnectionBuilder |
OracleConnectionBuilder.accessToken(AccessToken accessToken) |
Specifies the
accessToken to be used when creating a connection. |
| Modifier and Type | Method | 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. |
| Modifier and Type | Method | 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. |
| Modifier and Type | Field | 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.
|
| Modifier and Type | Method | 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). |
| Modifier and Type | Method | Description |
|---|---|---|
OracleConnectionBuilderImpl |
OracleConnectionBuilderImpl.accessToken(AccessToken accessToken) |
Sets the
OracleConnectionBuilderImpl.accessToken(oracle.jdbc.AccessToken) field of this builder. |
| Modifier and Type | Method | Description |
|---|---|---|
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) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
OracleDataSourceImpl.setTokenSupplier(java.util.function.Supplier<? extends AccessToken> tokenSupplier) |