public class AclEntry extends Object
| Constructor and Description |
|---|
AclEntry()
Constructs a new
AclEntry. |
AclEntry(org.springframework.security.acls.model.AccessControlEntry ace)
Constructs a new
AclEntry out of the provided AccessControlEntry. |
| Modifier and Type | Method and Description |
|---|---|
String |
getId() |
int |
getMask() |
int |
getOrder() |
String |
getSid() |
org.springframework.security.acls.model.Sid |
getSidObject() |
boolean |
isAuditFailure() |
boolean |
isAuditSuccess() |
boolean |
isGranting() |
boolean |
isSidPrincipal() |
void |
setAuditFailure(boolean auditFailure) |
void |
setAuditSuccess(boolean auditSuccess) |
void |
setGranting(boolean granting) |
void |
setId(String id) |
void |
setMask(int mask) |
void |
setOrder(int order) |
void |
setSid(String sid) |
void |
setSidPrincipal(boolean sidPrincipal) |
String |
toString() |
public AclEntry()
AclEntry.public AclEntry(org.springframework.security.acls.model.AccessControlEntry ace)
AclEntry out of the provided AccessControlEntry.ace - the AccessControlEntry to use for parameter population.public String getId()
AclEntry.
The identifier follows the pattern 'objectClass:objectId:sid:order'.public void setId(String id)
id - the identifier for this AclEntry.public boolean isSidPrincipal()
AclEntry is of type PrincipalSid
of false if it is of type GrantedAuthoritySid.public void setSidPrincipal(boolean sidPrincipal)
sidPrincipal - whether the Sid for this AclEntry is of type PrincipalSid.public String getSid()
AclEntry.public org.springframework.security.acls.model.Sid getSidObject()
Sid object for this AclEntry.public void setSid(String sid)
sid - the identifier of the Sid for this AclEntry.public int getOrder()
AclEntry in the list of Acl entries for the
related domain object.public void setOrder(int order)
order - the order of this AclEntry in the list of Acl entries for the
related domain object.public int getMask()
public void setMask(int mask)
mask - the bits that represent the permission.public boolean isGranting()
public void setGranting(boolean granting)
granting - true if permission is being granted, false if is being revoked/blocked.public boolean isAuditSuccess()
public void setAuditSuccess(boolean auditSuccess)
auditSuccess - true if auditing is enabled for success, false otherwise.public boolean isAuditFailure()
public void setAuditFailure(boolean auditFailure)
auditFailure - true if auditing is enabled for failure, false otherwise.Copyright © 2013–2019 Europeana Cloud Development Team. All rights reserved.