Package org.apache.activemq.security
Class SimpleAuthorizationMap
- java.lang.Object
-
- 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
Constructors Constructor Description SimpleAuthorizationMap()
SimpleAuthorizationMap(DestinationMap writeACLs, DestinationMap readACLs, DestinationMap adminACLs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DestinationMap
getAdminACLs()
Set<Object>
getAdminACLs(ActiveMQDestination destination)
Returns the set of all ACLs capable of administering the given destinationDestinationMap
getReadACLs()
Set<Object>
getReadACLs(ActiveMQDestination destination)
Returns the set of all ACLs capable of reading (consuming from) the given destinationSet<Object>
getTempDestinationAdminACLs()
Returns the set of all ACLs capable of administering temp destinationTempDestinationAuthorizationEntry
getTempDestinationAuthorizationEntry()
Set<Object>
getTempDestinationReadACLs()
Returns the set of all ACLs capable of reading from temp destinationSet<Object>
getTempDestinationWriteACLs()
Returns the set of all ACLs capable of writing to temp destinationDestinationMap
getWriteACLs()
Set<Object>
getWriteACLs(ActiveMQDestination destination)
Returns the set of all ACLs capable of writing to the given destinationvoid
setAdminACLs(DestinationMap adminACLs)
void
setReadACLs(DestinationMap readACLs)
void
setTempDestinationAuthorizationEntry(TempDestinationAuthorizationEntry tempDestinationAuthorizationEntry)
void
setWriteACLs(DestinationMap writeACLs)
-
-
-
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 interfaceAuthorizationMap
-
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 interfaceAuthorizationMap
-
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 interfaceAuthorizationMap
-
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 interfaceAuthorizationMap
-
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 interfaceAuthorizationMap
-
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 interfaceAuthorizationMap
-
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)
-
-