aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbugreport%peshkin.net <>2004-08-11 20:53:43 +0000
committerbugreport%peshkin.net <>2004-08-11 20:53:43 +0000
commitd306c2edbbc171d5345b3378bd76ed5b69984316 (patch)
tree9810bba5d11c730fd4412a962dfd263655793470 /defparams.pl
parentBug 251669: add an option to show users in a drop down menu instead of a text... (diff)
downloadbugzilla-d306c2edbbc171d5345b3378bd76ed5b69984316.tar.gz
bugzilla-d306c2edbbc171d5345b3378bd76ed5b69984316.tar.bz2
bugzilla-d306c2edbbc171d5345b3378bd76ed5b69984316.zip
Bug 241903: Add Environment Variable Authentication for apache auth and SSO
patch by erik r=joel a=justdave
Diffstat (limited to 'defparams.pl')
-rw-r--r--defparams.pl39
1 files changed, 37 insertions, 2 deletions
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 {
<dd>
Asks for username and password via CGI form interface.
</dd>
- </dl>',
+ <dt>Env</dt>
+ <dd>
+ Info for a pre-authenticated user is passed in system
+ environment variables.
+ </dd>
+ </dl>',
type => 's',
- choices => [ 'CGI' ],
+ choices => [ 'CGI', 'Env', 'Env,CGI' ],
default => 'CGI',
checker => \&check_multi
},