1 16 17 18 package org.apache.jetspeed.om.registry.base; 19 20 import org.apache.jetspeed.om.registry.SecurityAllow; 22 23 29 public class BaseSecurityAllow implements SecurityAllow, java.io.Serializable 30 { 31 32 private String role; 33 34 35 private String group; 36 37 38 private String user; 39 40 41 private boolean owner = false; 42 43 44 public BaseSecurityAllow() 45 { 46 } 47 48 53 public BaseSecurityAllow(boolean owner) 54 { 55 this.owner = owner; 56 } 57 58 61 public String getRole() 62 { 63 return role; 64 } 65 66 69 public void setRole(String role) 70 { 71 this.role = role; 72 } 73 74 77 public String getGroup() 78 { 79 return group; 80 } 81 82 85 public void setGroup(String group) 86 { 87 this.group = group; 88 } 89 90 93 public String getUser() 94 { 95 return user; 96 } 97 98 101 public void setUser(String user) 102 { 103 this.user = user; 104 } 105 106 109 public boolean isOwner() 110 { 111 return this.owner; 112 } 113 114 117 public void setOwner(boolean owner) 118 { 119 this.owner = owner; 120 } 121 122 } 123 | Popular Tags |