1 13 package info.magnolia.cms.security.auth; 14 15 import java.io.Serializable ; 16 import java.security.Principal ; 17 import java.util.Collection ; 18 19 20 23 public interface PrincipalCollection extends Principal , Serializable { 24 25 public String getName(); 26 27 30 public void setName(String name); 31 32 36 public void set(Collection collection); 37 38 42 public void add(Principal principal); 43 44 48 public void remove(Principal principal); 49 50 53 public void clearAll(); 54 55 60 public boolean contains(Principal principal); 61 62 67 public boolean contains(String name); 68 69 74 public Principal get(String name); 75 76 } 77 | Popular Tags |