]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/tests/datasets/sql/remoteauth.sql
LP#1887196: RemoteAuth PatronAPI authentication
[Evergreen.git] / Open-ILS / tests / datasets / sql / remoteauth.sql
1 INSERT INTO config.usr_activity_type (id, ewho, ewhat, ehow, egroup, label) VALUES
2  ( 1001, 'basicauth', 'login', 'apache', 'authen',
3     oils_i18n_gettext(1001, 'RemoteAuth Login: HTTP Basic Authentication', 'cuat', 'label'));
4
5 -- config for Basic HTTP Authentication (SYS1)
6 INSERT INTO config.remoteauth_profile
7     (name, description, context_org, enabled, perm,
8         restrict_to_org, allow_inactive, allow_expired, block_list, usr_activity_type)
9     VALUES ('Basic', 'Basic HTTP Authentication for SYS1', 2, TRUE, 1,
10         TRUE, FALSE, FALSE, NULL, 1001);
11
12 INSERT INTO config.usr_activity_type (id, ewho, ewhat, ehow, egroup, label) VALUES
13  ( 1002, 'ezproxy', 'login', 'apache', 'authen',
14     oils_i18n_gettext(1002, 'RemoteAuth Login: EZProxy CGI Authentication', 'cuat', 'label'));
15
16 -- config for EZProxy CGI Authentication (SYS2)
17 INSERT INTO config.remoteauth_profile
18     (name, description, context_org, enabled, perm,
19         restrict_to_org, allow_inactive, allow_expired, block_list, usr_activity_type)
20     VALUES ('EZProxyCGI', 'EZProxy CGI Authentication for SYS2', 3, TRUE, 1,
21         TRUE, FALSE, FALSE, NULL, 1002);
22
23 INSERT INTO config.usr_activity_type (id, ewho, ewhat, ehow, egroup, label) VALUES
24  ( 1003, 'patronapi', 'login', 'apache', 'authen',
25     oils_i18n_gettext(1003, 'RemoteAuth Login: PatronAPI Authentication', 'cuat', 'label'));
26
27 -- config for PatronAPI Authentication (SYS1)
28 INSERT INTO config.remoteauth_profile
29     (name, description, context_org, enabled, perm,
30         restrict_to_org, allow_inactive, allow_expired, block_list, usr_activity_type)
31     VALUES ('PatronAPI', 'PatronAPI Authentication for SYS1', 2, TRUE, 1,
32         TRUE, FALSE, FALSE, NULL, 1003);
33