PHP 클래스 LdapTools\Security\SddlParser

저자: Chad Sikorra ([email protected])
파일 보기 프로젝트 열기: ldaptools/ldaptools

보호된 프로퍼티들

프로퍼티 타입 설명
$connection LdapTools\Connection\LdapConnectionInterface | null
$domainSid This is the domain SID that can be used to form other well known SIDs.
$rootDomainSid This is the root domain SID that can be used to form other well known SIDs in the root domain.

공개 메소드들

메소드 설명
__construct ( LdapTools\Connection\LdapConnectionInterface $connection = null )
parse ( string $sddl ) : SecurityDescriptor Given a full SDDL string, parse it and return the SecurityDescriptor object that it represents.

보호된 메소드들

메소드 설명
getDomainSid ( boolean $isRoot ) : SID
getSddlFlagValue ( string $sddl, array $possibleFlags, string $name ) : integer
getSid ( string $sid, string $type ) : SID
getWellKnownDomainSid ( string $sid, boolean $isRoot ) : SID
parseAce ( string $sddl ) : Ace
parseAcl ( string $aclType, string $aclString, SecurityDescriptor $sd )
parseControlFlags ( string $ctrlFlags, string $aclType, SecurityDescriptor $sd )

메소드 상세

__construct() 공개 메소드

public __construct ( LdapTools\Connection\LdapConnectionInterface $connection = null )
$connection LdapTools\Connection\LdapConnectionInterface

getDomainSid() 보호된 메소드

protected getDomainSid ( boolean $isRoot ) : SID
$isRoot boolean
리턴 SID

getSddlFlagValue() 보호된 메소드

protected getSddlFlagValue ( string $sddl, array $possibleFlags, string $name ) : integer
$sddl string
$possibleFlags array
$name string
리턴 integer

getSid() 보호된 메소드

protected getSid ( string $sid, string $type ) : SID
$sid string
$type string
리턴 SID

getWellKnownDomainSid() 보호된 메소드

protected getWellKnownDomainSid ( string $sid, boolean $isRoot ) : SID
$sid string
$isRoot boolean
리턴 SID

parse() 공개 메소드

Given a full SDDL string, parse it and return the SecurityDescriptor object that it represents.
public parse ( string $sddl ) : SecurityDescriptor
$sddl string
리턴 SecurityDescriptor

parseAce() 보호된 메소드

protected parseAce ( string $sddl ) : Ace
$sddl string
리턴 LdapTools\Security\Ace\Ace

parseAcl() 보호된 메소드

protected parseAcl ( string $aclType, string $aclString, SecurityDescriptor $sd )
$aclType string
$aclString string
$sd SecurityDescriptor

parseControlFlags() 보호된 메소드

protected parseControlFlags ( string $ctrlFlags, string $aclType, SecurityDescriptor $sd )
$ctrlFlags string
$aclType string
$sd SecurityDescriptor

프로퍼티 상세

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

protected LdapConnectionInterface,LdapTools\Connection|null $connection
리턴 LdapTools\Connection\LdapConnectionInterface | null

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

This is the domain SID that can be used to form other well known SIDs.
protected $domainSid

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

This is the root domain SID that can be used to form other well known SIDs in the root domain.
protected $rootDomainSid