1 17 18 19 package org.apache.catalina; 20 21 22 import java.security.Principal ; 23 import java.util.Iterator ; 24 25 26 35 36 public interface Group extends Principal { 37 38 39 41 42 45 public String getDescription(); 46 47 48 53 public void setDescription(String description); 54 55 56 60 public String getGroupname(); 61 62 63 69 public void setGroupname(String groupname); 70 71 72 75 public Iterator getRoles(); 76 77 78 81 public UserDatabase getUserDatabase(); 82 83 84 87 public Iterator getUsers(); 88 89 90 92 93 98 public void addRole(Role role); 99 100 101 106 public boolean isInRole(Role role); 107 108 109 114 public void removeRole(Role role); 115 116 117 120 public void removeRoles(); 121 122 123 } 124 | Popular Tags |