*/
private void validateAuthConfigURL(String url) throws Exception
{
String msg = "AuthConfig is defaulting to conf/login-config.xml. " +
"Please check your archive.";
ServerConfigImplMBean mb = null;
try
{
mb = (ServerConfigImplMBean)MBeanProxy.get(ServerConfigImplMBean.class,
ServerConfigImplMBean.OBJECT_NAME, server);
URL serverConfigURL = mb.getServerConfigURL();
if(url.equalsIgnoreCase(serverConfigURL.toExternalForm() + "login-config.xml"))
throw new IllegalStateException(msg);
}
finally
{