Apache-AuthzPasswd

 view release on metacpan or  search on metacpan

AuthzPasswd.pm  view on Meta::CPAN

142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
valid-user> directives.
 
= head2 PerlSetVar SetRemoteGroup
 
Set to "yes" to set the CGI env variable REMOTE_GROUP to the group of the
authorized user. Defaults to "no".
 
= head2 Apache::AuthenPasswd vs. Apache::AuthzPasswd
 
I've taken "authentication" to be meaningful only in terms of a user and
password combination, not group membership.  This means that you can use
Apache::AuthenPasswd with the B<require user> and B<require valid-user>
directives.  In the /etc/passwd and /etc/group context I consider B<require
group> to be an "authorization" concern.  I.e., group authorization
consists of establishing whether the already authenticated user is a member
of one of the indicated groups in the B<require group> directive.  This
process may be handled by B<Apache::AuthzPasswd>.  Admittedly, AuthzPasswd
is a misnomer, but I wanted to keep AuthenPasswd and AuthzPasswd related,
if only by name.
 
I welcome any feedback on this module, esp. code improvements, given

README  view on Meta::CPAN

61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
PerlSetVar SetRemoteGroup
 
This allows us to modify the REMOTE_GROUP CGI env variable.
When set to "yes" it sets REMOTE_GROUP to the group of the
authorized user.  Defaults to "no".
 
Apache::AuthenPasswd vs. Apache::AuthzPasswd
 
I've taken "authentication" to be meaningful only in terms
of a user and password combination, not group membership.
This means that you can use Apache::AuthenPasswd with the
require user and require valid-user directives.  In the
/etc/passwd and /etc/group context I consider require group
to be an "authorization" concern.  I.e., group authorization
consists of establishing whether the already authenticated
user is a member of one of the indicated groups in the
require group directive.  This process may be handled by
Apache::AuthzPasswd.  Admittedly, AuthzPasswd is a misnomer,
but I wanted to keep AuthenPasswd and AuthzPasswd related,
if only by name.



( run in 0.460 second using v1.01-cache-2.11-cpan-cba739cd03b )