Final Updates to OracleJavaSecure

There are several legacy methods that we used differently in earlier chapters:  getAppAuthConn() and three setConnection() methods. Initially we declared these methods to have public visibility, but now we are using the getAAConnRole() public method to handle those calls. So we will change the access modifiers for those legacy methods to be private.

There is also one method that we haven't yet put to use: removeAppConnString(). It is our intent to someday implement that from the OJSAdmin application. OJSAdmin resides in the orajavsec package, just like the OracleJavaSecure class. So to make removeAppConnString() visible to OJSAdmin, we will change the access modifier to default (package).

Get Expert Oracle and Java Security: Programming Secure Oracle Database Applications with Java now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.