version 1.1, 2005/11/29 21:02:50
|
version 1.6, 2006/08/30 21:35:08
|
Line 36 use Apache::lonnet;
|
Line 36 use Apache::lonnet;
|
sub handler { |
sub handler { |
my ($r) = @_; |
my ($r) = @_; |
|
|
|
if ($r->auth_type() eq 'Basic') { |
|
return DECLINED; |
|
} |
my $fail = FORBIDDEN; |
my $fail = FORBIDDEN; |
if ($r->dir_config('lonOtherAuthen') eq 'yes') { |
if ($r->dir_config('lonOtherAuthen') eq 'yes') { |
&Apache::lonnet::logthis("other authen"); |
if (defined($r->dir_config('lonOtherAuthenType'))) { |
|
$r->auth_type($r->dir_config('lonOtherAuthenType')); |
|
} |
|
#&Apache::lonnet::logthis("other authen"); |
$fail = DECLINED; |
$fail = DECLINED; |
} |
} |
|
|
Line 62 sub handler {
|
Line 68 sub handler {
|
return OK; |
return OK; |
} |
} |
} |
} |
|
|
return $fail; |
return $fail; |
} |
} |
|
|