-
Bug
-
Resolution: Done
-
Major
-
JBossAS-3.2.7 Final
-
None
The HTTPS host verifier detection is causing NPEs when JSSE is missing.
Even if the user is not using HTTPS.
This will log a warning and leave the class as null
// Determine the type of the HttpsURLConnection in this runtime
ClassLoader loader = Thread.currentThread().getContextClassLoader();
try
catch (Exception e)
{
// Next try the JSSE external dist Https connection
try
catch (Exception e2)
{ log.warn("No HttpsURLConnection seen"); }}
This will throw an NPE
boolean isHttpsConn = httpsConnClass.isAssignableFrom(conn.getClass());
if (isHttpsConn)
{
// See if the org.jboss.security.ignoreHttpsHost property is set
if (Boolean.getBoolean(IGNORE_HTTPS_HOST) == true)
}