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, setExtensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetExtensions, setExtensionspublic Principal getPrincipal()
AcegetPrincipal in interface Acepublic String getPrincipalId()
AcegetPrincipal().getId().getPrincipalId in interface Acepublic void setPrincipal(Principal principal)
public List<String> getPermissions()
AcegetPermissions in interface Acepublic boolean isDirect()
Acepublic void setDirect(boolean direct)
public String toString()
toString in class AbstractExtensionDataCopyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.