Lines Matching defs:owner
34 * initial owner principal is configured as
41 public OwnerImpl(Principal owner) {
43 ownerGroup.addMember(owner);
47 * Adds an owner. Owners can modify ACL contents and can disassociate
50 * order to invoke this method. The initial owner is configured
53 * @param owner The owner that should be added to the owners list.
54 * @return true if success, false if already an owner.
58 public synchronized boolean addOwner(Principal caller, Principal owner)
64 ownerGroup.addMember(owner);
69 * Delete owner. If this is the last owner in the ACL, an exception is
74 * @param owner The owner to be removed from the owners list.
75 * @return true if the owner is removed, false if the owner is not part
79 * @exception LastOwnerException if there is only one owner left in the group, then
80 * deleteOwner would leave the ACL owner-less. This exception is raised in such a case.
82 public synchronized boolean deleteOwner(Principal caller, Principal owner)
94 return ownerGroup.removeMember(owner);
101 * returns if the given principal belongs to the owner list.
102 * @param owner The owner to check if part of the owners list
103 * @return true if the passed principal is in the owner list, false if not.
105 public synchronized boolean isOwner(Principal owner) {
106 return ownerGroup.isMember(owner);