From d306c2edbbc171d5345b3378bd76ed5b69984316 Mon Sep 17 00:00:00 2001 From: "bugreport%peshkin.net" <> Date: Wed, 11 Aug 2004 20:53:43 +0000 Subject: Bug 241903: Add Environment Variable Authentication for apache auth and SSO patch by erik r=joel a=justdave --- defparams.pl | 39 +++++++++++++++++++++++++++++++++++++-- 1 file changed, 37 insertions(+), 2 deletions(-) (limited to 'defparams.pl') diff --git a/defparams.pl b/defparams.pl index 86cc7f2d5..8260be978 100644 --- a/defparams.pl +++ b/defparams.pl @@ -435,6 +435,36 @@ sub find_languages { default => '', }, + { + name => 'auth_env_id', + desc => 'Environment variable used by external authentication system ' . + 'to store a unique identifier for each user. Leave it blank ' . + 'if there isn\'t one or if this method of authentication ' . + 'is not being used.', + type => 't', + default => '', + }, + + { + name => 'auth_env_email', + desc => 'Environment variable used by external authentication system ' . + 'to store each user\'s email address. This is a required ' . + 'field for environmental authentication. Leave it blank ' . + 'if you are not going to use this feature.', + type => 't', + default => '', + }, + + { + name => 'auth_env_realname', + desc => 'Environment variable used by external authentication system ' . + 'to store the user\'s real name. Leave it blank if there ' . + 'isn\'t one or if this method of authentication is not being ' . + 'used.', + type => 't', + default => '', + }, + # XXX in the future: # # user_verify_class and user_info_class should have choices gathered from @@ -455,9 +485,14 @@ sub find_languages {
Asks for username and password via CGI form interface.
- ', +
Env
+
+ Info for a pre-authenticated user is passed in system + environment variables. +
+ ', type => 's', - choices => [ 'CGI' ], + choices => [ 'CGI', 'Env', 'Env,CGI' ], default => 'CGI', checker => \&check_multi }, -- cgit v1.2.3-24-g4f1b