File tree Expand file tree Collapse file tree
src/test/java/org/utplsql/api Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8686 <artifactId >orai18n</artifactId >
8787 <version >${oracle.jdbc.version} </version >
8888 </dependency >
89+ <dependency >
90+ <groupId >com.oracle.database.security</groupId >
91+ <artifactId >oraclepki</artifactId >
92+ <version >${oracle.jdbc.version} </version >
93+ </dependency >
8994 <dependency >
9095 <groupId >com.google.code.findbugs</groupId >
9196 <artifactId >jsr305</artifactId >
Original file line number Diff line number Diff line change 1+ package org .utplsql .api ;
2+
3+ import org .junit .jupiter .api .Test ;
4+
5+ import static org .junit .jupiter .api .Assertions .assertDoesNotThrow ;
6+
7+ /**
8+ * utPLSQL-cli and utPLSQL-maven-plugin rely on this API to bring the classes ojdbc needs
9+ * for Oracle Wallet (Secure External Password Store) connections.
10+ * Without them, connecting with "/@TNS_ALIAS" fails with ORA-17167.
11+ */
12+ class OracleWalletSupportTest {
13+
14+ @ Test
15+ void oraclePkiIsOnClasspath () {
16+ assertDoesNotThrow (() -> Class .forName ("oracle.security.pki.OracleWallet" ));
17+ assertDoesNotThrow (() -> Class .forName ("oracle.security.pki.OracleSecretStore" ));
18+ }
19+ }
You can’t perform that action at this time.
0 commit comments