PHP Класс spec\LdapTools\AttributeConverter\ConvertGroupMembershipSpec

Наследование: extends PhpSpec\ObjectBehavior
Показать файл Открыть проект

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

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