PHP 클래스 LdapTools\Security\Ace\Ace

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

보호된 프로퍼티들

프로퍼티 타입 설명
$aceRights AceRights
$applciationData Any application specific data for the ACE (in binary string format).
$flags AceFlags
$inheritedObjectType The inherited object GUID, if present.
$objectFlags When this is an object type ACE, these flags describe what GUID objects are present.
$objectType The object GUID, if present.
$trustee The trustee SID this ACE relates to.
$type AceType

공개 메소드들

메소드 설명
__construct ( null | string | AceType $ace = null )
__toString ( ) : string
getApplicationData ( ) : string Get the binary string form of the application data contained in this ACE.
getFlags ( ) : AceFlags Get the AceFlags object that contains all the flags set for this ACE.
getInheritedObjectType ( ) : GUID | null Get the inherited GUID object type this ACE applies to.
getObjectFlags ( ) : AceObjectFlags Get the object flags that apply to the object type GUIDs.
getObjectType ( ) : GUID | null Get the GUID object type this ACE applies to.
getRights ( ) : AceRights Get the AceRights object that contains all the rights flags set against this ACE.
getTrustee ( ) : SID Get the trustee SID this ACE applies to.
getType ( ) : AceType | null Get the AceType.
isAllowAce ( ) : boolean A convenience method to check whether this is an ace to allow access.
isDenyAce ( ) : boolean A convenience method to check whether this is an ace to deny access.
isObjectAce ( ) : boolean A convenience method to check whether this is an object type ACE.
setApplicationData ( string $appData ) Set the binary string application data for this ACE. You MUST pass the binary form of the data.
setFlags ( AceFlags $aceFlags ) Set the AceFlags object that contains all the flags set for this ACE.
setInheritedObjectType ( GUID | string | null $guid ) Set the inherited GUID object type this ACE applies to.
setObjectFlags ( AceObjectFlags $objectFlags = null ) Set the object flags that apply to the object type GUIDs.
setObjectType ( GUID | string | null $guid ) Set the GUID object type this ACE applies to.
setRights ( AceRights $aceRights ) Set the AceRights for this ACE.
setTrustee ( SID | string $sid ) Set the trustee SID this ACE applies to.
setType ( AceType $type ) Set the AceType.
toBinary ( ) : string Get the binary string representation of this ACE.
toSddl ( ) : string Get the SDDL string format that represents this ACE.

보호된 메소드들

메소드 설명
decodeFromBinary ( string $ace )
endsWith ( string $needle, string $haystack ) : boolean
startsWith ( string $needle, string $haystack ) : boolean
toggleObjectStatus ( GUID | null $object, integer $type )
validateSid ( ) Some quick checks before going to SDDL or binary.

메소드 상세

__construct() 공개 메소드

public __construct ( null | string | AceType $ace = null )
$ace null | string | AceType

__toString() 공개 메소드

public __toString ( ) : string
리턴 string

decodeFromBinary() 보호된 메소드

protected decodeFromBinary ( string $ace )
$ace string

endsWith() 보호된 메소드

protected endsWith ( string $needle, string $haystack ) : boolean
$needle string
$haystack string
리턴 boolean

getApplicationData() 공개 메소드

Get the binary string form of the application data contained in this ACE.
public getApplicationData ( ) : string
리턴 string

getFlags() 공개 메소드

Get the AceFlags object that contains all the flags set for this ACE.
public getFlags ( ) : AceFlags
리턴 AceFlags

getInheritedObjectType() 공개 메소드

Get the inherited GUID object type this ACE applies to.
public getInheritedObjectType ( ) : GUID | null
리턴 LdapTools\Security\GUID | null

getObjectFlags() 공개 메소드

Get the object flags that apply to the object type GUIDs.
public getObjectFlags ( ) : AceObjectFlags
리턴 AceObjectFlags

getObjectType() 공개 메소드

Get the GUID object type this ACE applies to.
public getObjectType ( ) : GUID | null
리턴 LdapTools\Security\GUID | null

getRights() 공개 메소드

Get the AceRights object that contains all the rights flags set against this ACE.
public getRights ( ) : AceRights
리턴 AceRights

getTrustee() 공개 메소드

Get the trustee SID this ACE applies to.
public getTrustee ( ) : SID
리턴 LdapTools\Security\SID

getType() 공개 메소드

Get the AceType.
public getType ( ) : AceType | null
리턴 AceType | null

isAllowAce() 공개 메소드

A convenience method to check whether this is an ace to allow access.
public isAllowAce ( ) : boolean
리턴 boolean

isDenyAce() 공개 메소드

A convenience method to check whether this is an ace to deny access.
public isDenyAce ( ) : boolean
리턴 boolean

isObjectAce() 공개 메소드

A convenience method to check whether this is an object type ACE.
public isObjectAce ( ) : boolean
리턴 boolean

setApplicationData() 공개 메소드

Set the binary string application data for this ACE. You MUST pass the binary form of the data.
public setApplicationData ( string $appData )
$appData string

setFlags() 공개 메소드

Set the AceFlags object that contains all the flags set for this ACE.
public setFlags ( AceFlags $aceFlags )
$aceFlags AceFlags

setInheritedObjectType() 공개 메소드

Set the inherited GUID object type this ACE applies to.
public setInheritedObjectType ( GUID | string | null $guid )
$guid LdapTools\Security\GUID | string | null

setObjectFlags() 공개 메소드

Set the object flags that apply to the object type GUIDs.
public setObjectFlags ( AceObjectFlags $objectFlags = null )
$objectFlags AceObjectFlags

setObjectType() 공개 메소드

Set the GUID object type this ACE applies to.
public setObjectType ( GUID | string | null $guid )
$guid LdapTools\Security\GUID | string | null

setRights() 공개 메소드

Set the AceRights for this ACE.
public setRights ( AceRights $aceRights )
$aceRights AceRights

setTrustee() 공개 메소드

Set the trustee SID this ACE applies to.
public setTrustee ( SID | string $sid )
$sid LdapTools\Security\SID | string

setType() 공개 메소드

Set the AceType.
public setType ( AceType $type )
$type AceType

startsWith() 보호된 메소드

protected startsWith ( string $needle, string $haystack ) : boolean
$needle string
$haystack string
리턴 boolean

toBinary() 공개 메소드

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

toSddl() 공개 메소드

Get the SDDL string format that represents this ACE.
public toSddl ( ) : string
리턴 string

toggleObjectStatus() 보호된 메소드

protected toggleObjectStatus ( GUID | null $object, integer $type )
$object LdapTools\Security\GUID | null
$type integer

validateSid() 보호된 메소드

Some quick checks before going to SDDL or binary.
protected validateSid ( )

프로퍼티 상세

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

protected AceRights,LdapTools\Security\Ace $aceRights
리턴 AceRights

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

Any application specific data for the ACE (in binary string format).
protected $applciationData

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

protected AceFlags,LdapTools\Security\Ace $flags
리턴 AceFlags

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

The inherited object GUID, if present.
protected $inheritedObjectType

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

When this is an object type ACE, these flags describe what GUID objects are present.
protected $objectFlags

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

The object GUID, if present.
protected $objectType

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

The trustee SID this ACE relates to.
protected $trustee

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

protected AceType,LdapTools\Security\Ace $type
리턴 AceType