mirror of https://github.com/apache/activemq.git
https://issues.apache.org/jira/browse/AMQ-3749 - Composite destinations break simple authorisation through role aggregation. additional tests and fix - fix broken test, expecting wrong behaviour
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1296204 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
14110f52eb
commit
df8d1e824d
|
@ -141,10 +141,7 @@ public class LDAPAuthorizationMapTest extends AbstractLdapTestUnit {
|
|||
public void testComposite() {
|
||||
ActiveMQDestination q1 = new ActiveMQQueue("queue1,topic://topic1");
|
||||
Set aclsq1 = authMap.getWriteACLs(q1);
|
||||
assertEquals(3, aclsq1.size());
|
||||
assertTrue(aclsq1.contains(new GroupPrincipal("role1")));
|
||||
assertTrue(aclsq1.contains(new GroupPrincipal("role2")));
|
||||
assertTrue(aclsq1.contains(new GroupPrincipal("role3")));
|
||||
assertEquals(0, aclsq1.size());
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
Loading…
Reference in New Issue