final Map<String, Serializable> params )
throws GeoWavePluginException {
Serializable param = params.get(AUTH_MGT_KEY);
Iterator<AuthorizationFactorySPI> authIt = getAuthorizationFactoryList();
AuthorizationFactorySPI authFactory = new EmptyAuthorizationFactory();
while (authIt.hasNext()) {
authFactory = authIt.next();
if (param == null || param.toString().equals(
authFactory.toString())) break;
}
return authFactory;
}