PHP 클래스 spec\LdapTools\AttributeConverter\ConvertGroupMembershipSpec

상속: extends PhpSpec\ObjectBehavior
파일 보기 프로젝트 열기: ldaptools/ldaptools

보호된 프로퍼티들

프로퍼티 타입 설명
$entry
$entryGuid
$entrySid
$expectedResult

공개 메소드들

메소드 설명
it_is_initializable ( )
it_should_act_as_a_multivalued_converter ( )
it_should_allow_an_or_filter_for_an_attribute ( $connection )
it_should_convert_a_GUID_back_to_a_dn ( $connection )
it_should_convert_a_LdapObject_back_to_a_dn ( LdapTools\Connection\LdapConnectionInterface $connection )
it_should_convert_a_SID_back_to_a_dn ( $connection )
it_should_convert_a_dn_back_to_a_dn ( $connection )
it_should_convert_a_dn_into_its_common_name ( )
it_should_convert_a_dn_to_a_normal_name ( )
it_should_display_the_dn_from_ldap_if_specified ( )
it_should_error_if_a_LdapObject_is_missing_a_DN ( $connection )
it_should_generate_add_and_remove_operations_on_a_modify_operation ( $connection, BatchModifyOperation $operation ) This is quite the mess. Not sure how to better spec this.
it_should_generate_add_operations_based_off_a_name_guid_sid_and_LdapObject_on_a_create_operation ( $connection, AddOperation $operation )
it_should_generate_operations_to_remove_all_current_groups_and_add_new_ones_on_a_modify_set_operation ( $connection, LdapTools\Operation\LdapOperationInterface $operation )
it_should_generate_operations_to_remove_all_current_groups_on_a_modify_reset_operation ( $connection, LdapTools\Operation\LdapOperationInterface $operation )
it_should_implement_AttributeConverterInterface ( )
it_should_implement_operation_generator_interface ( )
it_should_only_specify_the_original_attribute_to_be_removed_on_modification_or_creation ( )
it_should_throw_an_error_if_no_options_exist_for_the_current_attribute ( $connection )
let ( LdapTools\Connection\LdapConnectionInterface $connection )

메소드 상세

it_is_initializable() 공개 메소드

public it_is_initializable ( )

it_should_act_as_a_multivalued_converter() 공개 메소드

it_should_allow_an_or_filter_for_an_attribute() 공개 메소드

it_should_convert_a_GUID_back_to_a_dn() 공개 메소드

public it_should_convert_a_GUID_back_to_a_dn ( $connection )

it_should_convert_a_LdapObject_back_to_a_dn() 공개 메소드

public it_should_convert_a_LdapObject_back_to_a_dn ( LdapTools\Connection\LdapConnectionInterface $connection )
$connection LdapTools\Connection\LdapConnectionInterface

it_should_convert_a_SID_back_to_a_dn() 공개 메소드

public it_should_convert_a_SID_back_to_a_dn ( $connection )

it_should_convert_a_dn_back_to_a_dn() 공개 메소드

public it_should_convert_a_dn_back_to_a_dn ( $connection )

it_should_convert_a_dn_into_its_common_name() 공개 메소드

it_should_convert_a_dn_to_a_normal_name() 공개 메소드

it_should_display_the_dn_from_ldap_if_specified() 공개 메소드

it_should_error_if_a_LdapObject_is_missing_a_DN() 공개 메소드

it_should_generate_add_and_remove_operations_on_a_modify_operation() 공개 메소드

This is quite the mess. Not sure how to better spec this.
public it_should_generate_add_and_remove_operations_on_a_modify_operation ( $connection, BatchModifyOperation $operation )
$operation LdapTools\Operation\BatchModifyOperation

it_should_generate_add_operations_based_off_a_name_guid_sid_and_LdapObject_on_a_create_operation() 공개 메소드

public it_should_generate_add_operations_based_off_a_name_guid_sid_and_LdapObject_on_a_create_operation ( $connection, AddOperation $operation )
$operation LdapTools\Operation\AddOperation

it_should_generate_operations_to_remove_all_current_groups_and_add_new_ones_on_a_modify_set_operation() 공개 메소드

public it_should_generate_operations_to_remove_all_current_groups_and_add_new_ones_on_a_modify_set_operation ( $connection, LdapTools\Operation\LdapOperationInterface $operation )
$operation LdapTools\Operation\LdapOperationInterface

it_should_generate_operations_to_remove_all_current_groups_on_a_modify_reset_operation() 공개 메소드

public it_should_generate_operations_to_remove_all_current_groups_on_a_modify_reset_operation ( $connection, LdapTools\Operation\LdapOperationInterface $operation )
$operation LdapTools\Operation\LdapOperationInterface

it_should_implement_AttributeConverterInterface() 공개 메소드

it_should_implement_operation_generator_interface() 공개 메소드

it_should_only_specify_the_original_attribute_to_be_removed_on_modification_or_creation() 공개 메소드

it_should_throw_an_error_if_no_options_exist_for_the_current_attribute() 공개 메소드

let() 공개 메소드

public let ( LdapTools\Connection\LdapConnectionInterface $connection )
$connection LdapTools\Connection\LdapConnectionInterface

프로퍼티 상세

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

protected $entry

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

protected $entryGuid

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

protected $entrySid

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

protected $expectedResult