test-authority-procs.tcl

Provide a simply authority named "acs_testing" for creating test users during runs of the regression test. This is needed, when a site/sub-site runs a registry which does e.g. a synchronized registry, where no additional accounts can be created.

Location:
packages/acs-authentication/tcl/test-authority-procs.tcl
Created:
2018-10-04
Author:
Gustaf Neumann

Procedures in this file

Detailed information

acs::test::auth::install (private)

 acs::test::auth::install

Register the service contract implementations for the acs_testing authority and update the authority accordingly. Do nothing, when the registry exists already.

Partial Call Graph (max 5 caller/called nodes):
%3 packages/acs-automated-testing/tcl/authority-init.tcl packages/acs-automated-testing/ tcl/authority-init.tcl acs::test::auth::install acs::test::auth::install packages/acs-automated-testing/tcl/authority-init.tcl->acs::test::auth::install acs::test::auth::registration::register_impl acs::test::auth::registration::register_impl (private) acs::test::auth::install->acs::test::auth::registration::register_impl acs_sc::impl::get_id acs_sc::impl::get_id (public) acs::test::auth::install->acs_sc::impl::get_id auth::authority::create auth::authority::create (public) acs::test::auth::install->auth::authority::create auth::authority::get_id auth::authority::get_id (public) acs::test::auth::install->auth::authority::get_id db_transaction db_transaction (public) acs::test::auth::install->db_transaction

Testcases:
No testcase defined.

acs::test::auth::registration::Register (private)

 acs::test::auth::registration::Register parameters username \
    authority_id first_names last_name screen_name email url password \
    secret_question secret_answer

Implements the "Register" operation of the auth_registration service contract for the acs testing authority. This is in essence a simplified version of the "local" authority without the notifications and confirmation options.

Parameters:
parameters
username
authority_id
first_names
last_name
screen_name
email
url
password
secret_question
secret_answer

Partial Call Graph (max 5 caller/called nodes):
%3 test_auth_registration_implementations auth_registration_implementations (test acs-authentication) acs::test::auth::registration::Register acs::test::auth::registration::Register test_auth_registration_implementations->acs::test::auth::registration::Register acs_user::get_by_username acs_user::get_by_username (public) acs::test::auth::registration::Register->acs_user::get_by_username ad_change_password ad_change_password (public) acs::test::auth::registration::Register->ad_change_password AcsSc.auth_registration.register.acs_testing AcsSc.auth_registration.register.acs_testing (private) AcsSc.auth_registration.register.acs_testing->acs::test::auth::registration::Register acs::test::auth::registration::register_impl acs::test::auth::registration::register_impl (private) acs::test::auth::registration::register_impl->acs::test::auth::registration::Register

Testcases:
auth_registration_implementations

acs::test::auth::registration::register_impl (private)

 acs::test::auth::registration::register_impl

Register the 'acs_testing' implementation of the 'auth_registration' service contract. We just implement "Register" new and reuse the implementations for "GetElements" and "GetParameters"

Returns:
impl_id of the newly created implementation.

Partial Call Graph (max 5 caller/called nodes):
%3 acs::test::auth::install acs::test::auth::install (private) acs::test::auth::registration::register_impl acs::test::auth::registration::register_impl acs::test::auth::install->acs::test::auth::registration::register_impl acs::test::auth::registration::Register acs::test::auth::registration::Register (private) acs::test::auth::registration::register_impl->acs::test::auth::registration::Register acs_sc::impl::new_from_spec acs_sc::impl::new_from_spec (public) acs::test::auth::registration::register_impl->acs_sc::impl::new_from_spec

Testcases:
No testcase defined.
[ show source ]