| 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.datasource.impl |
This package holds data source and connection builder classes that
implement the Oracle JDBC extension interfaces in the
oracle.jdbc.datasource and oracle.jdbc
packages. |
| 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 | Method and Description |
|---|---|
void |
OracleDataSource.setTokenSupplier(java.util.function.Supplier<? extends AccessToken> tokenSupplier) |
void |
OracleDataSource.setTokenSupplier(java.util.function.Supplier<? extends AccessToken> tokenSupplier) |