Create the URL stream handler for the specified HTTPS protocol.
param
the protocol.
return
the URLStreamHandler.
// return null for https so that it can use default or be configured
// from env
if(protocol.equalsIgnoreCase("jndi")) {
return (URLStreamHandler) new DirContextURLStreamHandler();
} else
return null;