CredentialHandler credHandler, UserSecurityHandler userSecurityHandler)
{
this(providerName, providerDescription, credHandler, userSecurityHandler);
ClassLoader cl = Thread.currentThread().getContextClassLoader();
SystemResourceUtil resourceUtil = new ClassLoaderSystemResourceUtilImpl(cl);
URL loginConfigUrl = null;
// The login module config.
try
{
loginConfigUrl = resourceUtil.getURL(loginConfig);
}
catch (Exception e)
{
throw new IllegalStateException("Could not locate the login config. Bad URL. " + e.toString());
}