package org.geoserver.security;
import java.util.Properties;
import org.geoserver.catalog.Catalog;
import org.vfny.geoserver.global.ConfigurationException;
/**
* A {@link DataAccessRuleDAO} variant that lives in memory
*/
class MemoryDataAccessRuleDAO extends DataAccessRuleDAO {
public MemoryDataAccessRuleDAO(Catalog rawCatalog, Properties props) throws ConfigurationException {
super(rawCatalog, null);
loadRules(props);
}
@Override
void checkPropertyFile(boolean force) {
// skip checking
lastModified = Long.MAX_VALUE;
}
}