org.apache.activemq.apollo.dto
Class AccessRuleDTO

java.lang.Object
  extended by org.apache.activemq.apollo.dto.AccessRuleDTO

public class AccessRuleDTO
extends java.lang.Object

Author:
Hiram Chirino

Field Summary
 java.lang.String action
          The comma separated list of actions which match this rule.
 java.lang.String allow
          The principal which are allowed access to the action.
 java.lang.String deny
          The principal which are denied access to the action If set to "+" then it matches all principals but requires at at least one.
 java.lang.String id
          The identifier of the resource which matches this rule.
 java.lang.String id_regex
          A regular expression used to match the id of the resource.
 java.lang.String kind
          The kind of broker resource which matches this rule.
 java.lang.String principal_kind
          The class name of the JAAS principle that this rule will mach against.
 java.lang.String separator
          If the separator is set, then the principal field will be interpreted as a list of principles separated by the configured value.
 
Constructor Summary
AccessRuleDTO()
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

principal_kind

public java.lang.String principal_kind
The class name of the JAAS principle that this rule will mach against. If not set the this defaults to the default principal kinds configured on the broker or virtual host. If set to "*" then it matches all principal classes.


allow

public java.lang.String allow
The principal which are allowed access to the action. If set to "+" then it matches all principals but requires at at least one. If set to "*" the it matches all principals and even matches the case where there are no principals associated with the subject.


deny

public java.lang.String deny
The principal which are denied access to the action If set to "+" then it matches all principals but requires at at least one. If set to "*" the it matches all principals and even matches the case where there are no principals associated with the subject.


separator

public java.lang.String separator
If the separator is set, then the principal field will be interpreted as a list of principles separated by the configured value.


action

public java.lang.String action
The comma separated list of actions which match this rule. Example 'create,destroy'. You can use "*" to match all actions. Defaults to "*".


kind

public java.lang.String kind
The kind of broker resource which matches this rule. You can use "*" to match all types. If not set it defaults to "*"


id

public java.lang.String id
The identifier of the resource which matches this rule. You can use "*" to match all resources. If not set it defaults to "*"


id_regex

public java.lang.String id_regex
A regular expression used to match the id of the resource.

Constructor Detail

AccessRuleDTO

public AccessRuleDTO()
Method Detail

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2005-2011 The Apache Software Foundation. All Rights Reserved.