line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
782
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
21
|
|
2
|
1
|
|
|
1
|
|
3
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
32
|
|
3
|
|
|
|
|
|
|
# ABSTRACT: process web login from HTTP authentication |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
use parent qw(Rubric::WebApp::Login); |
6
|
1
|
|
|
1
|
|
4
|
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
7
|
|
|
|
|
|
|
#pod =head1 DESCRIPTION |
8
|
|
|
|
|
|
|
#pod |
9
|
|
|
|
|
|
|
#pod This module checks for information needed to confirm that a user is logged into |
10
|
|
|
|
|
|
|
#pod the Rubric. |
11
|
|
|
|
|
|
|
#pod |
12
|
|
|
|
|
|
|
#pod =head1 METHODS |
13
|
|
|
|
|
|
|
#pod |
14
|
|
|
|
|
|
|
#pod =head2 get_login_username |
15
|
|
|
|
|
|
|
#pod |
16
|
|
|
|
|
|
|
#pod This method returns the REMOTE_USER environment variable. |
17
|
|
|
|
|
|
|
#pod |
18
|
|
|
|
|
|
|
#pod =cut |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
|
21
|
0
|
|
|
0
|
1
|
|
#pod =head2 authenticate_login |
22
|
|
|
|
|
|
|
#pod |
23
|
|
|
|
|
|
|
#pod This method always returns true. (The assumption, here, is that the HTTP |
24
|
|
|
|
|
|
|
#pod server has already taken care of authentication.) |
25
|
|
|
|
|
|
|
#pod |
26
|
|
|
|
|
|
|
#pod =cut |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
1; |
30
|
0
|
|
|
0
|
1
|
|
|
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=pod |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=encoding UTF-8 |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 NAME |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
Rubric::WebApp::Login::HTTP - process web login from HTTP authentication |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 VERSION |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
version 0.157 |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 DESCRIPTION |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
This module checks for information needed to confirm that a user is logged into |
47
|
|
|
|
|
|
|
the Rubric. |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=head1 PERL VERSION |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
This code is effectively abandonware. Although releases will sometimes be made |
52
|
|
|
|
|
|
|
to update contact info or to fix packaging flaws, bug reports will mostly be |
53
|
|
|
|
|
|
|
ignored. Feature requests are even more likely to be ignored. (If someone |
54
|
|
|
|
|
|
|
takes up maintenance of this code, they will presumably remove this notice.) |
55
|
|
|
|
|
|
|
This means that whatever version of perl is currently required is unlikely to |
56
|
|
|
|
|
|
|
change -- but also that it might change at any new maintainer's whim. |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=head1 METHODS |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=head2 get_login_username |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
This method returns the REMOTE_USER environment variable. |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=head2 authenticate_login |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
This method always returns true. (The assumption, here, is that the HTTP |
67
|
|
|
|
|
|
|
server has already taken care of authentication.) |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=head1 AUTHOR |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
Ricardo SIGNES <rjbs@semiotic.systems> |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
This software is copyright (c) 2004 by Ricardo SIGNES. |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
78
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
=cut |