1 22 package org.jboss.aspects.security; 23 24 import java.util.Set ; 25 26 public class SecurityMethodConfig extends org.jboss.aop.metadata.MethodConfig 27 { 28 32 private boolean unchecked = false; 33 38 private boolean excluded = false; 39 private Set permissions; 40 41 43 public SecurityMethodConfig() 45 { 46 } 47 48 50 public boolean isUnchecked() 51 { 52 return unchecked; 53 } 54 55 public boolean isExcluded() 56 { 57 return excluded; 58 } 59 60 public Set getRoles() 61 { 62 return permissions; 63 } 64 65 public void setRoles(Set perm) 66 { 67 permissions = perm; 68 } 69 70 public void setUnchecked() 71 { 72 unchecked = true; 73 } 74 75 public void setExcluded() 76 { 77 excluded = true; 78 } 79 } 80 | Popular Tags |