Apache-MultiAuth

 view release on metacpan or  search on metacpan

MultiAuth.pm  view on Meta::CPAN


__END__

=head1 NAME

Apache::MultiAuth - Choose from a number of authentication modules at runtime

=head1 SYNOPSIS

Put lines like this in your httpd.conf. In this example authorization is requested
for accessing the directory /test. First the credentials (username, password) are 
checked against the module Apache::AuthSybase and then against the module 
Apache::AuthenSmb. If any of them succeeds, access to /test is granted. 

  # in httpd.conf
  # Important : if not set apachectl configtest will complain about syntax errors
 
  PerlModule  Apache::MultiAuth

  <Location /test>
    AuthName Test 

MultiAuth.pm  view on Meta::CPAN

    PerlAuthenHandler Apache::MultiAuth
    require valid-user
  </Location>

=head1 DESCRIPTION

Apache::MultiAuth allows you to specify multiple authentication
modules, to be tried in order.  If any module in the list returns OK,
then the user is considered authenticated; if none return OK, then the
MultiAuth module returns AUTH_REQUIRED and the user is reprompted for 
credentials. This, depending on the browser, results in a 401 authorization
required message.

This is useful for cases where, for example, you have several
authentication schemes:  for example, NIS, SMB, and htpasswd, and some
of your users are only registered in some of the auth databases.
Using Apache::MultiAuth, they can be queried in order until the right
one is found.

In the event that one of these modules returns OK, a note named
"AuthenticatedBy" will be set, which contains the name of the module

README  view on Meta::CPAN

NAME
    Apache::MultiAuth - Choose from a number of authentication
    modules at runtime

SYNOPSIS
    Put lines like this in your httpd.conf. In this example
    authorization is requested for accessing the directory /test.
    First the credentials (username, password) are checked against
    the module Apache::AuthSybase and then against the module
    Apache::AuthenSmb. If any of them succeeds, access to /test is
    granted.

      # in httpd.conf
      # Important : if not set apachectl configtest will complain about syntax errors
     
      PerlModule  Apache::MultiAuth

      <Location /test>

README  view on Meta::CPAN


        PerlAuthenHandler Apache::MultiAuth
        require valid-user
      </Location>

DESCRIPTION
    Apache::MultiAuth allows you to specify multiple authentication
    modules, to be tried in order. If any module in the list returns
    OK, then the user is considered authenticated; if none return
    OK, then the MultiAuth module returns AUTH_REQUIRED and the user
    is reprompted for credentials. This, depending on the browser,
    results in a 401 authorization required message.

    This is useful for cases where, for example, you have several
    authentication schemes: for example, NIS, SMB, and htpasswd, and
    some of your users are only registered in some of the auth
    databases. Using Apache::MultiAuth, they can be queried in order
    until the right one is found.

    In the event that one of these modules returns OK, a note named
    "AuthenticatedBy" will be set, which contains the name of the



( run in 0.241 second using v1.01-cache-2.11-cpan-a5abf4f5562 )