Your browser does not support JavaScript and this site utilizes JavaScript to build content and provide links to additional information. You should either enable JavaScript in your browser settings or use a browser that supports JavaScript in order to take full advantage of this site.
1 17 18 19 package org.apache.catalina; 20 21 22 import java.security.Principal ; 23 import java.util.Iterator ; 24 25 26 36 37 public interface User extends Principal { 38 39 40 42 43 46 public String getFullName(); 47 48 49 54 public void setFullName(String fullName); 55 56 57 60 public Iterator getGroups(); 61 62 63 68 public String getPassword(); 69 70 71 78 public void setPassword(String password); 79 80 81 84 public Iterator getRoles(); 85 86 87 90 public UserDatabase getUserDatabase(); 91 92 93 97 public String getUsername(); 98 99 100 106 public void setUsername(String username); 107 108 109 111 112 117 public void addGroup(Group group); 118 119 120 125 public void addRole(Role role); 126 127 128 133 public boolean isInGroup(Group group); 134 135 136 143 public boolean isInRole(Role role); 144 145 146 151 public void removeGroup(Group group); 152 153 154 157 public void removeGroups(); 158 159 160 165 public void removeRole(Role role); 166 167 168 171 public void removeRoles(); 172 173 174 } 175
| Popular Tags
|