class Entry implements AuditableEntryInterface
Auditable ACE implementation
Methods
|
__construct(integer $id, AclInterface $acl, SecurityIdentityInterface $sid, string $strategy, integer $mask, Boolean $granting, Boolean $auditFailure, Boolean $auditSuccess)
Constructor |
||
| AclInterface |
getAcl()
The ACL this ACE is associated with. |
|
| integer |
getMask()
The permission mask of this ACE |
|
| integer |
getId()
The primary key of this ACE |
|
| SecurityIdentityInterface |
getSecurityIdentity()
The security identity associated with this ACE |
|
| string |
getStrategy()
The strategy for comparing masks |
|
| Boolean |
isAuditFailure()
Whether auditing for successful grants is turned on |
|
| Boolean |
isAuditSuccess()
Whether auditing for successful denies is turned on |
|
| Boolean |
isGranting()
Returns whether this ACE is granting, or denying |
|
|
setAuditFailure(Boolean $boolean)
Turns on/off auditing on permissions denials. |
||
|
setAuditSuccess(Boolean $boolean)
Turns on/off auditing on permission grants. |
||
|
setMask(integer $mask)
Sets the permission mask |
||
|
setStrategy(string $strategy)
Sets the mask comparison strategy |
||
| string |
serialize()
Implementation of \Serializable |
|
|
unserialize(string $serialized)
Implementation of \Serializable |
Details
at line 46
public
__construct(integer $id, AclInterface $acl, SecurityIdentityInterface $sid, string $strategy, integer $mask, Boolean $granting, Boolean $auditFailure, Boolean $auditSuccess)
Constructor
at line 61
public AclInterface
getAcl()
The ACL this ACE is associated with.
at line 69
public integer
getMask()
The permission mask of this ACE
at line 77
public integer
getId()
The primary key of this ACE
at line 85
public SecurityIdentityInterface
getSecurityIdentity()
The security identity associated with this ACE
at line 93
public string
getStrategy()
The strategy for comparing masks
at line 101
public Boolean
isAuditFailure()
Whether auditing for successful grants is turned on
at line 109
public Boolean
isAuditSuccess()
Whether auditing for successful denies is turned on
at line 117
public Boolean
isGranting()
Returns whether this ACE is granting, or denying
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.
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.
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.
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 179
public string
serialize()
Implementation of \Serializable
at line 197
public
unserialize(string $serialized)
Implementation of \Serializable