*/
static public SecurityConfigValidator getConfigurationValiator(Class <?> serviceClass, String className)
throws SecurityConfigException {
GeoServerSecurityProvider prov = GeoServerSecurityProvider.getProvider(serviceClass, className);
if (className == null)
throw new SecurityConfigException(CLASSNAME_REQUIRED,new Object[]{});
//TODO: remove the call to extensions, have teh security manager be passed in
return prov.createConfigurationValidator(GeoServerExtensions.bean(GeoServerSecurityManager.class));
}