PHP Class LdapTools\Security\Acl\Dacl

Author: Chad Sikorra ([email protected])
Inheritance: extends Acl
Show file Open project: ldaptools/ldaptools Class Usage Examples

Public Methods

Method Description
canonicalize ( ) Forces the ACEs into canonical form. You can check if it is not in canonical form with the isCanonical method.
getSddlIdentifier ( )
isCanonical ( ) : boolean Check if the ACL is in canonical form.
toBinary ( boolean $canonicalize = true ) : string Get the binary string representation of the ACL.
toSddl ( boolean $canonicalize = true ) : string Get the SDDL string representation of the ACL.

Protected Methods

Method Description
getAllowedAceType ( )
orderAcesCanonically ( ) : Ace[] Returns all ACEs in canonical order as expected by AD.

Method Details

canonicalize() public method

Forces the ACEs into canonical form. You can check if it is not in canonical form with the isCanonical method.
public canonicalize ( )

getAllowedAceType() protected method

protected getAllowedAceType ( )

getSddlIdentifier() public method

public getSddlIdentifier ( )

isCanonical() public method

Check if the ACL is in canonical form.
public isCanonical ( ) : boolean
return boolean

orderAcesCanonically() protected method

Returns all ACEs in canonical order as expected by AD.
protected orderAcesCanonically ( ) : Ace[]
return LdapTools\Security\Ace\Ace[]

toBinary() public method

Get the binary string representation of the ACL.
public toBinary ( boolean $canonicalize = true ) : string
$canonicalize boolean
return string

toSddl() public method

Get the SDDL string representation of the ACL.
public toSddl ( boolean $canonicalize = true ) : string
$canonicalize boolean Whether or not to re-order the ACEs to be canonical before the operation.
return string