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.


Constructor Summary
SimpleAuthorizationMap()
           
SimpleAuthorizationMap(DestinationMap writeACLs, DestinationMap readACLs, DestinationMap adminACLs)
           
 
Method Summary
 DestinationMap getAdminACLs()
           
 Set<Object> getAdminACLs(ActiveMQDestination destination)
          Returns the set of all ACLs capable of administering the given destination
 DestinationMap getReadACLs()
           
 Set<Object> getReadACLs(ActiveMQDestination destination)
          Returns the set of all ACLs capable of reading (consuming from) the given destination
 Set<Object> getTempDestinationAdminACLs()
          Returns the set of all ACLs capable of administering temp destination
 TempDestinationAuthorizationEntry getTempDestinationAuthorizationEntry()
           
 Set<Object> getTempDestinationReadACLs()
          Returns the set of all ACLs capable of reading from temp destination
 Set<Object> getTempDestinationWriteACLs()
          Returns the set of all ACLs capable of writing to temp destination
 DestinationMap getWriteACLs()
           
 Set<Object> 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 setTempDestinationAuthorizationEntry(TempDestinationAuthorizationEntry tempDestinationAuthorizationEntry)
           
 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

setTempDestinationAuthorizationEntry

public void setTempDestinationAuthorizationEntry(TempDestinationAuthorizationEntry tempDestinationAuthorizationEntry)

getTempDestinationAuthorizationEntry

public TempDestinationAuthorizationEntry getTempDestinationAuthorizationEntry()

getTempDestinationAdminACLs

public Set<Object> getTempDestinationAdminACLs()
Description copied from interface: AuthorizationMap
Returns the set of all ACLs capable of administering temp destination

Specified by:
getTempDestinationAdminACLs in interface AuthorizationMap

getTempDestinationReadACLs

public Set<Object> getTempDestinationReadACLs()
Description copied from interface: AuthorizationMap
Returns the set of all ACLs capable of reading from temp destination

Specified by:
getTempDestinationReadACLs in interface AuthorizationMap

getTempDestinationWriteACLs

public Set<Object> getTempDestinationWriteACLs()
Description copied from interface: AuthorizationMap
Returns the set of all ACLs capable of writing to temp destination

Specified by:
getTempDestinationWriteACLs in interface AuthorizationMap

getAdminACLs

public Set<Object> 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<Object> 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<Object> 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 © 2005-2012 The Apache Software Foundation. All Rights Reserved.