PHP Класс LdapTools\Security\SddlParser

Автор: Chad Sikorra ([email protected])
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$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