1 22 package org.jboss.aspects.security; 23 24 import java.util.ArrayList ; 25 import java.util.HashMap ; 26 33 public class SecurityClassMetaDataBinding extends org.jboss.aop.metadata.ClassMetaDataBinding 34 { 35 protected ArrayList securityRoles = new ArrayList (); 36 protected ArrayList methodPermissions = new ArrayList (); 37 protected ArrayList methodExcludeList = new ArrayList (); 38 protected ArrayList constructorPermissions = new ArrayList (); 39 protected ArrayList constructorExcludeList = new ArrayList (); 40 protected HashMap fieldPermissions = new HashMap (); 41 protected ArrayList fieldExcludeList = new ArrayList (); 42 protected String runAs; 43 protected String securityDomain; 44 45 public SecurityClassMetaDataBinding(org.jboss.aop.metadata.ClassMetaDataLoader loader, String name, String group, String expr) 46 { 47 super(loader, name, group, expr); 48 } 49 50 public String getSecurityDomain() { return securityDomain; } 51 public void setSecurityDomain(String domain) { securityDomain = domain; } 52 53 public ArrayList getSecurityRoles() { return securityRoles; } 54 public void setSecurityRoles(ArrayList roles) { securityRoles = roles; } 55 56 public ArrayList getMethodPermissions() { return methodPermissions; } 57 public void setMethodPermissions(ArrayList permissions) { methodPermissions = permissions; } 58 59 public ArrayList getMethodExcludeList() { return methodExcludeList; } 60 public void setMethodExcludeList(ArrayList list) { methodExcludeList = list; } 61 62 public HashMap getFieldPermissions() { return fieldPermissions; } 63 public void setFieldPermissions(HashMap permissions) { fieldPermissions = permissions; } 64 65 public ArrayList getFieldExcludeList() { return fieldExcludeList; } 66 public void setFieldExcludeList(ArrayList list) { fieldExcludeList = list; } 67 68 public ArrayList getConstructorPermissions() { return constructorPermissions; } 69 public void setConstructorPermissions(ArrayList permissions) { constructorPermissions = permissions; } 70 71 public ArrayList getConstructorExcludeList() { return constructorExcludeList; } 72 public void setConstructorExcludeList(ArrayList list) { constructorExcludeList = list; } 73 74 public String getRunAs() { return runAs; } 75 public void setRunAs(String as) { runAs = as; } 76 77 } 78 | Popular Tags |