PHP Class LdapTools\Security\SddlParser

Author: Chad Sikorra ([email protected])
Afficher le fichier Open project: ldaptools/ldaptools

Protected Properties

Свойство Type Description
$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.

Méthodes publiques

Méthode Description
__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.

Méthodes protégées

Méthode Description
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 )

Method Details

__construct() public méthode

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

getDomainSid() protected méthode

protected getDomainSid ( boolean $isRoot ) : SID
$isRoot boolean
Résultat SID

getSddlFlagValue() protected méthode

protected getSddlFlagValue ( string $sddl, array $possibleFlags, string $name ) : integer
$sddl string
$possibleFlags array
$name string
Résultat integer

getSid() protected méthode

protected getSid ( string $sid, string $type ) : SID
$sid string
$type string
Résultat SID

getWellKnownDomainSid() protected méthode

protected getWellKnownDomainSid ( string $sid, boolean $isRoot ) : SID
$sid string
$isRoot boolean
Résultat SID

parse() public méthode

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

parseAce() protected méthode

protected parseAce ( string $sddl ) : Ace
$sddl string
Résultat LdapTools\Security\Ace\Ace

parseAcl() protected méthode

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

parseControlFlags() protected méthode

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

Property Details

$connection protected_oe property

protected LdapConnectionInterface,LdapTools\Connection|null $connection
Résultat LdapTools\Connection\LdapConnectionInterface | null

$domainSid protected_oe property

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

$rootDomainSid protected_oe property

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