Apache-AuthenNIS
view release on metacpan or search on metacpan
AuthenNIS.pm view on Meta::CPAN
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::AuthenNIS with the B<require user> and B<require valid-user>
directives. In the NIS 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::AuthzNIS>.
I welcome any feedback on this module, esp. code improvements, given
that it was written hastily, to say the least.
= head3 Parameters
=over 4
=item PerlSetVar AllowAlternateAuth
This attribute allows you to set an alternative method of authentication
(Basically, this allows you to mix authentication methods, if you don't have
all users in the NIS database). It does this by returning a DECLINE and checking
of a user and password combination, not group membership.
This means that you can use Apache::AuthenNIS with the
require user and require valid-user directives. In the NIS
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 can be handled by Apache::AuthzNIS.
I welcome any feedback on this module, esp. code
improvements, given that it was written hastily, to say the
least.
Parameters
PerlSetVar AllowAlternateAuth
This attribute allows you to set an alternative method of authentication
(Basically, this allows you to mix authentication methods, if you don't have
all users in the NIS database). It does this by returning a DECLINE and checking
for the next handler, which could be another authentication, such as
( run in 1.514 second using v1.01-cache-2.11-cpan-d7a12ab2c7f )