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.

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 (required)
username (required)
authority_id (required)
first_names (required)
last_name (required)
screen_name (required)
email (required)
url (required)
password (required)
secret_question (required)
secret_answer (required)

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.

Testcases:
No testcase defined.
[ show source ]