1 17 18 19 package org.apache.catalina.users; 20 21 22 import org.apache.catalina.Role; 23 import org.apache.catalina.UserDatabase; 24 25 26 33 34 public abstract class AbstractRole implements Role { 35 36 37 39 40 43 protected String description = null; 44 45 46 49 protected String rolename = null; 50 51 52 54 55 58 public String getDescription() { 59 60 return (this.description); 61 62 } 63 64 65 70 public void setDescription(String description) { 71 72 this.description = description; 73 74 } 75 76 77 81 public String getRolename() { 82 83 return (this.rolename); 84 85 } 86 87 88 94 public void setRolename(String rolename) { 95 96 this.rolename = rolename; 97 98 } 99 100 101 104 public abstract UserDatabase getUserDatabase(); 105 106 107 109 110 112 113 116 public String getName() { 117 118 return (getRolename()); 119 120 } 121 122 123 } 124 | Popular Tags |