Package org.apache.activemq.security
Class XBeanAuthorizationEntry
- java.lang.Object
-
- org.apache.activemq.filter.DestinationMapEntry
-
- org.apache.activemq.security.AuthorizationEntry
-
- 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 aDefaultAuthorizationMap
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
Constructors Constructor Description XBeanAuthorizationEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
equals, getAdminACLs, getGroupClass, getReadACLs, getWriteACLs, hashCode, parseACLs, setAdminACLs, setGroupClass, setReadACLs, setWriteACLs
-
Methods inherited from class org.apache.activemq.filter.DestinationMapEntry
compareTo, getDestination, getValue, setDestination, setQueue, setTempQueue, setTempTopic, setTopic
-
-
-
-
Method Detail
-
setAdmin
public void setAdmin(String roles) throws Exception
- Overrides:
setAdmin
in classAuthorizationEntry
- Throws:
Exception
-
setRead
public void setRead(String roles) throws Exception
- Overrides:
setRead
in classAuthorizationEntry
- Throws:
Exception
-
setWrite
public void setWrite(String roles) throws Exception
- Overrides:
setWrite
in classAuthorizationEntry
- Throws:
Exception
-
afterPropertiesSet
public void afterPropertiesSet() throws Exception
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
Exception
-
-