org.apache.activemq.security
Class AuthorizationEntry
java.lang.Object
org.apache.activemq.filter.DestinationMapEntry
org.apache.activemq.security.AuthorizationEntry
- All Implemented Interfaces:
- Comparable
- Direct Known Subclasses:
- TempDestinationAuthorizationEntry
public class AuthorizationEntry
- extends DestinationMapEntry
Represents an entry in a DefaultAuthorizationMap
for assigning
different operations (read, write, admin) of user roles to a specific
destination or a hierarchical wildcard area of destinations.
- Version:
- $Revision: 564814 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuthorizationEntry
public AuthorizationEntry()
getGroupClass
public String getGroupClass()
setGroupClass
public void setGroupClass(String groupClass)
getAdminACLs
public Set<Object> getAdminACLs()
setAdminACLs
public void setAdminACLs(Set<Object> adminACLs)
getReadACLs
public Set<Object> getReadACLs()
setReadACLs
public void setReadACLs(Set<Object> readACLs)
getWriteACLs
public Set<Object> getWriteACLs()
setWriteACLs
public void setWriteACLs(Set<Object> writeACLs)
setAdmin
public void setAdmin(String roles)
throws Exception
- Throws:
Exception
setRead
public void setRead(String roles)
throws Exception
- Throws:
Exception
setWrite
public void setWrite(String roles)
throws Exception
- Throws:
Exception
parseACLs
protected Set<Object> parseACLs(String roles)
throws Exception
- Throws:
Exception
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Overrides:
afterPropertiesSet
in class DestinationMapEntry
- Throws:
Exception
Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.