public class AccessControlEntryImpl extends AbstractExtensionData implements Ace, Serializable
Constructor and Description |
---|
AccessControlEntryImpl()
Constructor.
|
AccessControlEntryImpl(Principal principal,
List<String> permissions)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
List<String> |
getPermissions()
Returns the permissions granted to the principal.
|
Principal |
getPrincipal()
Returns the ACE principal.
|
String |
getPrincipalId()
Returns the ACE principal id.
|
boolean |
isDirect()
Indicates if the ACE was directly applied to the object or has been
inherited from another object (e.g.
|
void |
setDirect(boolean direct) |
void |
setPermissions(List<String> permissions) |
void |
setPrincipal(Principal principal) |
String |
toString() |
getExtensions, setExtensions
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getExtensions, setExtensions
public Principal getPrincipal()
Ace
getPrincipal
in interface Ace
public String getPrincipalId()
Ace
getPrincipal().getId()
.getPrincipalId
in interface Ace
public void setPrincipal(Principal principal)
public List<String> getPermissions()
Ace
getPermissions
in interface Ace
public boolean isDirect()
Ace
public void setDirect(boolean direct)
public String toString()
toString
in class AbstractExtensionData
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.