5152535455565758
{ _logger.debug("Creating AccessControl instance using file: " + fileName); } File aclFile = new File(fileName); ConfigurationFile configFile = new PlainConfiguration(aclFile); _ruleSet = configFile.load(); }
6970717273747576
throw new ConfigurationException("No ACL file name specified"); } File aclFile = new File(filename); ConfigurationFile configFile = new PlainConfiguration(aclFile); _ruleSet = configFile.load(); }
666768697071727374757677
public void testMissingACLConfig() throws Exception { try { // Load ruleset ConfigurationFile configFile = new PlainConfiguration(new File("doesnotexist")); configFile.load(); fail("fail"); } catch (ConfigurationException ce) {
4950515253545556
aclWriter.println(line); } aclWriter.close(); // Load ruleset ConfigurationFile configFile = new PlainConfiguration(acl); configFile.load(); }
585960616263646566676869
public void testMissingACLConfig() throws Exception { try { // Load ruleset ConfigurationFile configFile = new PlainConfiguration(new File("doesnotexist")); configFile.load(); fail("fail"); } catch (IllegalConfigurationException ce) {
697071727374757677
if (!_aclFile.exists()) { throw new IllegalConfigurationException("ACL file '" + _aclFile + "' is not found"); } ConfigurationFile configFile = new PlainConfiguration(_aclFile); _ruleSet = configFile.load(); } }
777879808182838485
if (!_aclFile.exists()) { throw new IllegalConfigurationException("ACL file '" + _aclFile + "' is not found"); } ConfigurationFile configFile = new PlainConfiguration(_aclFile, _eventLogger); _ruleSet = configFile.load(); } }
5051525354555657
aclWriter.println(line); } aclWriter.close(); // Load ruleset ConfigurationFile configFile = new PlainConfiguration(acl); RuleSet ruleSet = configFile.load(); }