1 9 package org.jboss.portal.core.metadata; 10 11 import org.jboss.portal.common.plugin.PluginMetaData; 12 13 import java.util.Set ; 14 import java.util.HashSet ; 15 16 20 public class AccessControllerMetaData 21 implements PluginMetaData 22 { 23 24 private boolean unchecked; 25 private Set roles; 26 27 public AccessControllerMetaData() 28 { 29 this.unchecked = true; 30 this.roles = new HashSet (); 31 } 32 33 public void setUnchecked(boolean unchecked) 34 { 35 this.unchecked = unchecked; 36 } 37 38 public boolean isUnchecked() 39 { 40 return unchecked; 41 } 42 43 public void addRole(String role) 44 { 45 roles.add(role); 46 } 47 48 public Set getRoles() 49 { 50 return roles; 51 } 52 } 53 | Popular Tags |