AclEntry.setPrincipal

AclEntry.setPrincipal

Interface Overview | Interface Members | This Package | All Packages

Syntax
public abstract boolean setPrincipal( Principal user )
Parameters
user
the principal to be set for this entry.
Returns
true if the principal is set, false if there was already a principal set for this entry.
Description
Specifies the principal for which permissions are granted or denied by this ACL entry. If a principal was already set for this ACL entry, false is returned, otherwise true is returned.