|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.activemq.filter.DestinationMap
org.apache.activemq.security.DefaultAuthorizationMap
public class DefaultAuthorizationMap
Represents a destination based configuration of policies so that individual destinations or wildcard hierarchies of destinations can be configured using different policies. Each entry in the map represents the authorization ACLs for each operation.
| Field Summary |
|---|
| Fields inherited from class org.apache.activemq.filter.DestinationMap |
|---|
ANY_CHILD, ANY_DESCENDENT |
| Constructor Summary | |
|---|---|
DefaultAuthorizationMap()
|
|
DefaultAuthorizationMap(List<DestinationMapEntry> authorizationEntries)
|
|
| Method Summary | |
|---|---|
Set |
get(ActiveMQDestination key)
Looks up the value(s) matching the given Destination key. |
Set<Object> |
getAdminACLs(ActiveMQDestination destination)
Returns the set of all ACLs capable of administering the given destination |
protected Set<AuthorizationEntry> |
getAllEntries(ActiveMQDestination destination)
|
AuthorizationEntry |
getDefaultEntry()
|
protected Class<? extends DestinationMapEntry> |
getEntryClass()
|
AuthorizationEntry |
getEntryFor(ActiveMQDestination destination)
|
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 |
Set<Object> |
getWriteACLs(ActiveMQDestination destination)
Returns the set of all ACLs capable of writing to the given destination |
void |
setAuthorizationEntries(List<DestinationMapEntry> entries)
Sets the individual entries on the authorization map |
void |
setDefaultEntry(AuthorizationEntry defaultEntry)
|
void |
setTempDestinationAuthorizationEntry(TempDestinationAuthorizationEntry tempDestinationAuthorizationEntry)
|
| Methods inherited from class org.apache.activemq.filter.DestinationMap |
|---|
chooseValue, findWildcardMatches, getQueueRootChildCount, getQueueRootNode, getRootNode, getTempQueueRootNode, getTempTopicRootNode, getTopicRootChildCount, getTopicRootNode, put, remove, removeAll, reset, setEntries, union |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultAuthorizationMap()
public DefaultAuthorizationMap(List<DestinationMapEntry> authorizationEntries)
| Method Detail |
|---|
public void setTempDestinationAuthorizationEntry(TempDestinationAuthorizationEntry tempDestinationAuthorizationEntry)
public TempDestinationAuthorizationEntry getTempDestinationAuthorizationEntry()
public Set<Object> getTempDestinationAdminACLs()
AuthorizationMap
getTempDestinationAdminACLs in interface AuthorizationMappublic Set<Object> getTempDestinationReadACLs()
AuthorizationMap
getTempDestinationReadACLs in interface AuthorizationMappublic Set<Object> getTempDestinationWriteACLs()
AuthorizationMap
getTempDestinationWriteACLs in interface AuthorizationMappublic Set<Object> getAdminACLs(ActiveMQDestination destination)
AuthorizationMap
getAdminACLs in interface AuthorizationMappublic Set<Object> getReadACLs(ActiveMQDestination destination)
AuthorizationMap
getReadACLs in interface AuthorizationMappublic Set<Object> getWriteACLs(ActiveMQDestination destination)
AuthorizationMap
getWriteACLs in interface AuthorizationMappublic AuthorizationEntry getEntryFor(ActiveMQDestination destination)
public Set get(ActiveMQDestination key)
get in class DestinationMapkey - the destination to lookup
public void setAuthorizationEntries(List<DestinationMapEntry> entries)
public AuthorizationEntry getDefaultEntry()
public void setDefaultEntry(AuthorizationEntry defaultEntry)
protected Class<? extends DestinationMapEntry> getEntryClass()
getEntryClass in class DestinationMapprotected Set<AuthorizationEntry> getAllEntries(ActiveMQDestination destination)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||