O'Reilly logo

Expert Oracle and Java Security: Programming Secure Oracle Database Applications with Java by David Coffin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required