September 2011
Intermediate to advanced
468 pages
15h 37m
English
As in the last chapter, here again we need to edit the code to provide our company-specific addresses for two-factor authentication.
Note Edit the code found in the file named Chapter10/orajavsec/OracleJavaSecure.java.
private static String expectedDomain = "ORGDOMAIN" ; // All Caps
private static String comDomain = "org.com";
private static String smtpHost = "smtp." + comDomain;
private static String baseURL =
"http://www.org.com/servlet/textpage.PageServlet?ACTION=O&NEWPID=";
We also have an embedded password in the setAppVerConnection() method and several more in the main() ...
Read now
Unlock full access