assertEquals("Number of options = 2", 2, authzoptions.size());
assertEquals("name=authz", "authz", authzoptions.get("name"));
assertEquals("succeed=true", "true", authzoptions.get("succeed"));
// ACL (instance-based authorization)
ACLInfo aclInfo = completeConfig.getAclInfo();
assertNotNull("Unexpected null ACLInfo found", aclInfo);
ACLProviderEntry[] aclEntries = aclInfo.getACLProviderEntry();
assertNotNull("Unexpected null set of acl entries", aclEntries);
assertEquals("Invalid number of acl entries", 2, aclEntries.length);
// first entry should be org.jboss.security.authz.ACLModule1.
Assert.assertEquals("org.jboss.security.authz.ACLModule1", aclEntries[0].getAclProviderName());
Assert.assertEquals("REQUIRED", aclEntries[0].getControlFlag().toString());