Update OracleJavaSecurity.java for Two-Factor Authentication

There are several updates and additions we will make to OracleJavaSecure.java to support two-factor authentication. The biggest addition will be a new method to distribute the two-factor authentication codes, distribute2Factor(). We will discuss that method at length.

We see how to set some static member variables to hold the specific addressing data we intend to use. We also explore the individual methods that send two-factor codes to SMS devices, pagers, and e-mail.

Setting Some Company-Specific Addresses

Several settings in OracleJavaSecure.java are specific to your corporate implementation of two-factor authentication: the DNS domain name within your organization, the host name ...

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.