org.apache.activemq.security
Class AuthorizationEntry

java.lang.Object
  extended by org.apache.activemq.filter.DestinationMapEntry
      extended by org.apache.activemq.security.AuthorizationEntry
All Implemented Interfaces:
Comparable
Direct Known Subclasses:
TempDestinationAuthorizationEntry, XBeanAuthorizationEntry

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.


Field Summary
protected  String adminRoles
           
protected  String readRoles
           
protected  String writeRoles
           
 
Fields inherited from class org.apache.activemq.filter.DestinationMapEntry
destination
 
Constructor Summary
AuthorizationEntry()
           
 
Method Summary
 Set<Object> getAdminACLs()
           
 String getGroupClass()
           
 Set<Object> getReadACLs()
           
 Set<Object> getWriteACLs()
           
protected  Set<Object> parseACLs(String roles)
           
 void setAdmin(String roles)
           
 void setAdminACLs(Set<Object> adminACLs)
           
 void setGroupClass(String groupClass)
           
 void setRead(String roles)
           
 void setReadACLs(Set<Object> readACLs)
           
 void setWrite(String roles)
           
 void setWriteACLs(Set<Object> writeACLs)
           
 
Methods inherited from class org.apache.activemq.filter.DestinationMapEntry
compareTo, getDestination, getValue, setDestination, setQueue, setTempQueue, setTempTopic, setTopic
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

adminRoles

protected String adminRoles

readRoles

protected String readRoles

writeRoles

protected String writeRoles
Constructor Detail

AuthorizationEntry

public AuthorizationEntry()
Method Detail

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


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.