PHP Class spec\LdapTools\Security\Ace\AceSpec

Inheritance: extends PhpSpec\ObjectBehavior
Datei anzeigen Open project: ldaptools/ldaptools

Public Methods

Method Description
it_is_initializable ( )
it_should_allow_being_constructed_with_a_ACE_type_short_name ( )
it_should_allow_setting_object_types_by_a_string_guid ( )
it_should_allow_setting_the_trustee_by_a_string_sid ( )
it_should_be_able_to_set_the_AceFlags ( AceFlags $flags )
it_should_be_able_to_set_the_AceRights ( AceRights $aceRights )
it_should_be_able_to_set_the_trustee ( SID $sid )
it_should_check_if_this_is_an_object_based_ace ( )
it_should_check_whether_the_ace_allows_access ( )
it_should_check_whether_the_ace_denies_access ( )
it_should_get_the_SDDL_string_format_of_the_ACE_when_caling_toSddl ( )
it_should_get_the_binary_representation_of_the_ACE ( )
it_should_have_a_string_representation_of_the_SDDL ( )
it_should_parse_and_contain_the_inherited_object_type_GUID ( )
it_should_parse_and_contain_the_object_type_GUID ( )
it_should_parse_the_flags_and_contain_an_AceFlags_object ( )
it_should_parse_the_object_type_flags_and_contain_an_object_flags_object ( )
it_should_parse_the_rights_and_contain_an_AceRights_object ( )
it_should_parse_the_trustee_and_contain_a_sid_object ( )
it_should_parse_the_type_and_contain_an_AceType_object ( )
it_should_set_the_AceType ( AceType $aceType )
it_should_set_the_inherited_object_type_GUID ( GUID $guid )
it_should_set_the_object_flags ( AceObjectFlags $objectFlags )
it_should_set_the_object_type_GUID ( GUID $guid )
it_should_throw_an_exception_if_converting_to_SDDL_and_the_SID_or_type_is_not_set ( )
it_should_toggle_the_object_type_flags_automatically ( )
let ( )

Method Details

it_is_initializable() public method

public it_is_initializable ( )

it_should_allow_being_constructed_with_a_ACE_type_short_name() public method

it_should_allow_setting_object_types_by_a_string_guid() public method

it_should_allow_setting_the_trustee_by_a_string_sid() public method

it_should_be_able_to_set_the_AceFlags() public method

public it_should_be_able_to_set_the_AceFlags ( AceFlags $flags )
$flags LdapTools\Security\Ace\AceFlags

it_should_be_able_to_set_the_AceRights() public method

public it_should_be_able_to_set_the_AceRights ( AceRights $aceRights )
$aceRights LdapTools\Security\Ace\AceRights

it_should_be_able_to_set_the_trustee() public method

public it_should_be_able_to_set_the_trustee ( SID $sid )
$sid LdapTools\Security\SID

it_should_check_if_this_is_an_object_based_ace() public method

it_should_check_whether_the_ace_allows_access() public method

it_should_check_whether_the_ace_denies_access() public method

it_should_get_the_SDDL_string_format_of_the_ACE_when_caling_toSddl() public method

it_should_get_the_binary_representation_of_the_ACE() public method

it_should_have_a_string_representation_of_the_SDDL() public method

it_should_parse_and_contain_the_inherited_object_type_GUID() public method

it_should_parse_and_contain_the_object_type_GUID() public method

it_should_parse_the_flags_and_contain_an_AceFlags_object() public method

it_should_parse_the_object_type_flags_and_contain_an_object_flags_object() public method

it_should_parse_the_rights_and_contain_an_AceRights_object() public method

it_should_parse_the_trustee_and_contain_a_sid_object() public method

it_should_parse_the_type_and_contain_an_AceType_object() public method

it_should_set_the_AceType() public method

public it_should_set_the_AceType ( AceType $aceType )
$aceType LdapTools\Security\Ace\AceType

it_should_set_the_inherited_object_type_GUID() public method

public it_should_set_the_inherited_object_type_GUID ( GUID $guid )
$guid LdapTools\Security\GUID

it_should_set_the_object_flags() public method

public it_should_set_the_object_flags ( AceObjectFlags $objectFlags )
$objectFlags LdapTools\Security\Ace\AceObjectFlags

it_should_set_the_object_type_GUID() public method

public it_should_set_the_object_type_GUID ( GUID $guid )
$guid LdapTools\Security\GUID

it_should_throw_an_exception_if_converting_to_SDDL_and_the_SID_or_type_is_not_set() public method

it_should_toggle_the_object_type_flags_automatically() public method

let() public method

public let ( )