org.apache.activemq.security
Class SimpleAuthorizationMap

java.lang.Object
  extended by org.apache.activemq.security.SimpleAuthorizationMap
All Implemented Interfaces:
AuthorizationMap

public class SimpleAuthorizationMap
extends Object
implements AuthorizationMap

An AuthorizationMap which is configured with individual DestinationMaps for each operation.

Version:
$Revision: 426366 $

Constructor Summary
SimpleAuthorizationMap()
           
SimpleAuthorizationMap(DestinationMap writeACLs, DestinationMap readACLs, DestinationMap adminACLs)
           
 
Method Summary
 DestinationMap getAdminACLs()
           
 Set getAdminACLs(ActiveMQDestination destination)
          Returns the set of all ACLs capable of administering the given destination
 DestinationMap getReadACLs()
           
 Set getReadACLs(ActiveMQDestination destination)
          Returns the set of all ACLs capable of reading (consuming from) the given destination
 DestinationMap getWriteACLs()
           
 Set getWriteACLs(ActiveMQDestination destination)
          Returns the set of all ACLs capable of writing to the given destination
 void setAdminACLs(DestinationMap adminACLs)
           
 void setReadACLs(DestinationMap readACLs)
           
 void setWriteACLs(DestinationMap writeACLs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleAuthorizationMap

public SimpleAuthorizationMap()

SimpleAuthorizationMap

public SimpleAuthorizationMap(DestinationMap writeACLs,
                              DestinationMap readACLs,
                              DestinationMap adminACLs)
Method Detail

getAdminACLs

public Set getAdminACLs(ActiveMQDestination destination)
Description copied from interface: AuthorizationMap
Returns the set of all ACLs capable of administering the given destination

Specified by:
getAdminACLs in interface AuthorizationMap

getReadACLs

public Set getReadACLs(ActiveMQDestination destination)
Description copied from interface: AuthorizationMap
Returns the set of all ACLs capable of reading (consuming from) the given destination

Specified by:
getReadACLs in interface AuthorizationMap

getWriteACLs

public Set getWriteACLs(ActiveMQDestination destination)
Description copied from interface: AuthorizationMap
Returns the set of all ACLs capable of writing to the given destination

Specified by:
getWriteACLs in interface AuthorizationMap

getAdminACLs

public DestinationMap getAdminACLs()

setAdminACLs

public void setAdminACLs(DestinationMap adminACLs)

getReadACLs

public DestinationMap getReadACLs()

setReadACLs

public void setReadACLs(DestinationMap readACLs)

getWriteACLs

public DestinationMap getWriteACLs()

setWriteACLs

public void setWriteACLs(DestinationMap writeACLs)


Copyright © 2011 Apache Software Foundation. All Rights Reserved.