1 package org.apache.turbine.om.security; 2 3 18 19 import org.apache.turbine.util.security.RoleSet; 20 import org.apache.turbine.util.security.TurbineSecurityException; 21 22 32 public interface Group extends SecurityEntity 33 { 34 37 String GLOBAL_GROUP_NAME = "global"; 38 39 45 void save() 46 throws TurbineSecurityException; 47 48 53 void remove() 54 throws TurbineSecurityException; 55 56 62 void rename(String name) 63 throws TurbineSecurityException; 64 65 73 void grant(User user, Role role) 74 throws TurbineSecurityException; 75 76 84 void grant(User user, RoleSet roleSet) 85 throws TurbineSecurityException; 86 87 95 void revoke(User user, Role role) 96 throws TurbineSecurityException; 97 98 106 void revoke(User user, RoleSet roleSet) 107 throws TurbineSecurityException; 108 109 } 110 | Popular Tags |