Lines Matching refs:Principal
29 import java.security.Principal;
35 * Note that Group extends Principal. Thus, either a Principal or a Group can
36 * be passed as an argument to methods containing a Principal parameter. For
37 * example, you can add either a Principal or a Group to a Group object by
39 * Principal or Group.
43 public interface Group extends Principal {
53 public boolean addMember(Principal user);
63 public boolean removeMember(Principal user);
75 public boolean isMember(Principal member);
80 * The returned objects can be instances of either Principal
81 * or Group (which is a subclass of Principal).
85 public Enumeration<? extends Principal> members();