org.apache.activemq.security
Class XBeanAuthorizationEntry

java.lang.Object
  extended by org.apache.activemq.filter.DestinationMapEntry
      extended by org.apache.activemq.security.AuthorizationEntry
          extended by org.apache.activemq.security.XBeanAuthorizationEntry
All Implemented Interfaces:
Comparable, org.springframework.beans.factory.InitializingBean

public class XBeanAuthorizationEntry
extends AuthorizationEntry
implements org.springframework.beans.factory.InitializingBean

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
 
Fields inherited from class org.apache.activemq.security.AuthorizationEntry
adminRoles, readRoles, writeRoles
 
Fields inherited from class org.apache.activemq.filter.DestinationMapEntry
destination
 
Constructor Summary
XBeanAuthorizationEntry()
           
 
Method Summary
 void afterPropertiesSet()
           
 void setAdmin(String roles)
           
 void setRead(String roles)
           
 void setWrite(String roles)
           
 String toString()
           
 
Methods inherited from class org.apache.activemq.security.AuthorizationEntry
getAdminACLs, getGroupClass, getReadACLs, getWriteACLs, parseACLs, setAdminACLs, setGroupClass, setReadACLs, setWriteACLs
 
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, wait, wait, wait
 

Constructor Detail

XBeanAuthorizationEntry

public XBeanAuthorizationEntry()
Method Detail

setAdmin

public void setAdmin(String roles)
              throws Exception
Overrides:
setAdmin in class AuthorizationEntry
Throws:
Exception

setRead

public void setRead(String roles)
             throws Exception
Overrides:
setRead in class AuthorizationEntry
Throws:
Exception

setWrite

public void setWrite(String roles)
              throws Exception
Overrides:
setWrite in class AuthorizationEntry
Throws:
Exception

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception

toString

public String toString()
Overrides:
toString in class Object


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