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