PHP 클래스 LdapTools\Security\Acl\Acl

저자: Chad Sikorra ([email protected])
상속: use trait LdapTools\Utilities\NumberUtilitiesTrait
파일 보기 프로젝트 열기: ldaptools/ldaptools 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$aces LdapTools\Security\Ace\Ace[]
$revision The revision value of the ACL.
$sbz1 The Sbz1 reserved value of the ACL.
$sbz2 The Sbz2 reserved value of the ACL.

공개 메소드들

메소드 설명
__construct ( string | null $acl = null )
__toString ( ) : string
addAce ( variadic $aces ) Add one or more ACEs to the ACL.
getAces ( ) : Ace[] Get the ACEs for this ACL.
getRevision ( ) : integer Get the revision of the ACL.
getSbz1 ( ) : integer Get the Sbz1 value for the ACL.
getSbz2 ( ) : integer Get the Sbz2 value for the ACL.
getSddlIdentifier ( ) : string Get the character that represents the ACL type in the SDDL string.
hasAce ( variadic $aces ) : boolean Check if an ACE, or multiple ACEs, exist within this ACL.
removeAce ( variadic $aces ) Remove one or more ACEs from the ACL.
setAces ( variadic $aces ) Set the ACEs for the ACL.
setRevision ( integer $revision ) Set the revision of the ACL.
setSbz1 ( integer $sbz1 ) Set the Sbz1 value for the ACL.
setSbz2 ( integer $sbz2 ) Set the Sbz2 value for the ACL.
toBinary ( ) : string Get the binary string representation of the ACL.
toSddl ( ) : string Get the SDDL string representation of the ACL.

보호된 메소드들

메소드 설명
decodeBinary ( string $acl )
getAllowedAceType ( ) : string Get the ACE type that is allowed (by the the string key constant it starts with).
validateAce ( Ace $ace )

메소드 상세

__construct() 공개 메소드

public __construct ( string | null $acl = null )
$acl string | null

__toString() 공개 메소드

public __toString ( ) : string
리턴 string

addAce() 공개 메소드

Add one or more ACEs to the ACL.
public addAce ( variadic $aces )
$aces variadic

decodeBinary() 보호된 메소드

protected decodeBinary ( string $acl )
$acl string

getAces() 공개 메소드

Get the ACEs for this ACL.
public getAces ( ) : Ace[]
리턴 LdapTools\Security\Ace\Ace[]

getAllowedAceType() 추상적인 보호된 메소드

Get the ACE type that is allowed (by the the string key constant it starts with).
abstract protected getAllowedAceType ( ) : string
리턴 string

getRevision() 공개 메소드

Get the revision of the ACL.
public getRevision ( ) : integer
리턴 integer

getSbz1() 공개 메소드

Get the Sbz1 value for the ACL.
public getSbz1 ( ) : integer
리턴 integer

getSbz2() 공개 메소드

Get the Sbz2 value for the ACL.
public getSbz2 ( ) : integer
리턴 integer

getSddlIdentifier() 추상적인 공개 메소드

Get the character that represents the ACL type in the SDDL string.
abstract public getSddlIdentifier ( ) : string
리턴 string

hasAce() 공개 메소드

Check if an ACE, or multiple ACEs, exist within this ACL.
public hasAce ( variadic $aces ) : boolean
$aces variadic
리턴 boolean

removeAce() 공개 메소드

Remove one or more ACEs from the ACL.
public removeAce ( variadic $aces )
$aces variadic

setAces() 공개 메소드

Set the ACEs for the ACL.
public setAces ( variadic $aces )
$aces variadic

setRevision() 공개 메소드

Set the revision of the ACL.
public setRevision ( integer $revision )
$revision integer

setSbz1() 공개 메소드

Set the Sbz1 value for the ACL.
public setSbz1 ( integer $sbz1 )
$sbz1 integer

setSbz2() 공개 메소드

Set the Sbz2 value for the ACL.
public setSbz2 ( integer $sbz2 )
$sbz2 integer

toBinary() 공개 메소드

Get the binary string representation of the ACL.
public toBinary ( ) : string
리턴 string

toSddl() 공개 메소드

Get the SDDL string representation of the ACL.
public toSddl ( ) : string
리턴 string

validateAce() 보호된 메소드

protected validateAce ( Ace $ace )
$ace LdapTools\Security\Ace\Ace

프로퍼티 상세

$aces 보호되어 있는 프로퍼티

protected Ace[],LdapTools\Security\Ace $aces
리턴 LdapTools\Security\Ace\Ace[]

$revision 보호되어 있는 프로퍼티

The revision value of the ACL.
protected $revision

$sbz1 보호되어 있는 프로퍼티

The Sbz1 reserved value of the ACL.
protected $sbz1

$sbz2 보호되어 있는 프로퍼티

The Sbz2 reserved value of the ACL.
protected $sbz2