class FieldEntry extends Entry implements FieldEntryInterface
Field-aware ACE implementation which is auditable
Methods
|
__construct(integer $id, AclInterface $acl, string $field, SecurityIdentityInterface $sid, string $strategy, integer $mask, Boolean $granting, Boolean $auditFailure, Boolean $auditSuccess)
Constructor |
||
| AclInterface |
getAcl()
The ACL this ACE is associated with. |
from Entry |
| integer |
getMask()
The permission mask of this ACE |
from Entry |
| integer |
getId()
The primary key of this ACE |
from Entry |
| SecurityIdentityInterface |
getSecurityIdentity()
The security identity associated with this ACE |
from Entry |
| string |
getStrategy()
The strategy for comparing masks |
from Entry |
| Boolean |
isAuditFailure()
Whether auditing for successful grants is turned on |
from Entry |
| Boolean |
isAuditSuccess()
Whether auditing for successful denies is turned on |
from Entry |
| Boolean |
isGranting()
Returns whether this ACE is granting, or denying |
from Entry |
|
setAuditFailure(Boolean $boolean)
Turns on/off auditing on permissions denials. |
from Entry | |
|
setAuditSuccess(Boolean $boolean)
Turns on/off auditing on permission grants. |
from Entry | |
|
setMask(integer $mask)
Sets the permission mask |
from Entry | |
|
setStrategy(string $strategy)
Sets the mask comparison strategy |
from Entry | |
| string |
serialize()
Implementation of \Serializable |
|
|
unserialize(string $serialized)
Implementation of \Serializable |
||
| string |
getField()
Returns the field used for this entry. |
Details
at line 40
public
__construct(integer $id, AclInterface $acl, string $field, SecurityIdentityInterface $sid, string $strategy, integer $mask, Boolean $granting, Boolean $auditFailure, Boolean $auditSuccess)
Constructor
in Entry at line 61
public AclInterface
getAcl()
The ACL this ACE is associated with.
in Entry at line 69
public integer
getMask()
The permission mask of this ACE
in Entry at line 77
public integer
getId()
The primary key of this ACE
in Entry at line 85
public SecurityIdentityInterface
getSecurityIdentity()
The security identity associated with this ACE
in Entry at line 93
public string
getStrategy()
The strategy for comparing masks
in Entry at line 101
public Boolean
isAuditFailure()
Whether auditing for successful grants is turned on
in Entry at line 109
public Boolean
isAuditSuccess()
Whether auditing for successful denies is turned on
in Entry at line 117
public Boolean
isGranting()
Returns whether this ACE is granting, or denying
in Entry at line 130
public
setAuditFailure(Boolean $boolean)
Turns on/off auditing on permissions denials.
Do never call this method directly. Use the respective methods on the
AclInterface instead.
in Entry at line 143
public
setAuditSuccess(Boolean $boolean)
Turns on/off auditing on permission grants.
Do never call this method directly. Use the respective methods on the
AclInterface instead.
in Entry at line 156
public
setMask(integer $mask)
Sets the permission mask
Do never call this method directly. Use the respective methods on the
AclInterface instead.
in Entry at line 169
public
setStrategy(string $strategy)
Sets the mask comparison strategy
Do never call this method directly. Use the respective methods on the
AclInterface instead.
at line 58
public string
serialize()
Implementation of \Serializable
at line 69
public
unserialize(string $serialized)
Implementation of \Serializable
at line 50
public string
getField()
Returns the field used for this entry.