protected Set<GroupPrincipal> getCompositeACLs(ActiveMQDestination destination, String roleBase, String roleAttribute) { ActiveMQDestination[] dests = destination.getCompositeDestinations(); Set<GroupPrincipal> acls = null; for (ActiveMQDestination dest : dests) { acls = DestinationMap.union(acls, getACLs(dest, roleBase, roleAttribute)); if (acls == null || acls.isEmpty()) { break; } } return acls; }
protected Set<GroupPrincipal> getCompositeACLs(ActiveMQDestination destination, String roleBase, String roleAttribute) { ActiveMQDestination[] dests = destination.getCompositeDestinations(); Set<GroupPrincipal> acls = null; for (ActiveMQDestination dest : dests) { acls = DestinationMap.union(acls, getACLs(dest, roleBase, roleAttribute)); if (acls == null || acls.isEmpty()) { break; } } return acls; }
protected Set<GroupPrincipal> getCompositeACLs(ActiveMQDestination destination, String roleBase, String roleAttribute) { ActiveMQDestination[] dests = destination.getCompositeDestinations(); Set<GroupPrincipal> acls = null; for (ActiveMQDestination dest : dests) { acls = DestinationMap.union(acls, getACLs(dest, roleBase, roleAttribute)); if (acls == null || acls.isEmpty()) { break; } } return acls; }
protected Set<GroupPrincipal> getCompositeACLs(ActiveMQDestination destination, String roleBase, String roleAttribute) { ActiveMQDestination[] dests = destination.getCompositeDestinations(); Set<GroupPrincipal> acls = null; for (ActiveMQDestination dest : dests) { acls = DestinationMap.union(acls, getACLs(dest, roleBase, roleAttribute)); if (acls == null || acls.isEmpty()) { break; } } return acls; }