Package io.helidon.integrations.oci.atp
Class GenerateAutonomousDatabaseWallet.WalletArchive
java.lang.Object
io.helidon.integrations.oci.atp.GenerateAutonomousDatabaseWallet.WalletArchive
- Enclosing class:
- GenerateAutonomousDatabaseWallet
Object to store wallet returned for ATP as bytes[].
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]Returns wallet data.getJdbcUrl(String serviceName) Returns JDBC URL with connection description for the given service based on tnsnames.ora in wallet.Returns SSLContext based on cwallet.sso in wallet.
-
Constructor Details
-
WalletArchive
public WalletArchive(byte[] content) Set wallet data.- Parameters:
content-
-
-
Method Details
-
getContent
public byte[] getContent()Returns wallet data.- Returns:
- bytes[]
-
getSSLContext
Returns SSLContext based on cwallet.sso in wallet.- Returns:
- SSLContext
- Throws:
IllegalStateException
-
getJdbcUrl
Returns JDBC URL with connection description for the given service based on tnsnames.ora in wallet.- Parameters:
serviceName-- Returns:
- String
- Throws:
IllegalStateException
-