Blame modules/aaa/config.m4

Packit 90a5c9
dnl modules enabled in this directory by default
Packit 90a5c9
Packit 90a5c9
dnl Authentication (authn), Access, and Authorization (authz)
Packit 90a5c9
Packit 90a5c9
dnl APACHE_MODULE(name, helptext[, objects[, structname[, default[, config]]]])
Packit 90a5c9
Packit 90a5c9
APACHE_MODPATH_INIT(aaa)
Packit 90a5c9
Packit 90a5c9
dnl Authentication modules; modules checking a username and password against a
Packit 90a5c9
dnl file, database, or other similar magic.
Packit 90a5c9
dnl
Packit 90a5c9
APACHE_MODULE(authn_file, file-based authentication control, , , yes)
Packit 90a5c9
APACHE_MODULE(authn_dbm, DBM-based authentication control, , , most)
Packit 90a5c9
APACHE_MODULE(authn_anon, anonymous user authentication control, , , most)
Packit 90a5c9
APACHE_MODULE(authn_dbd, SQL-based authentication control, , , most)
Packit 90a5c9
APACHE_MODULE(authn_socache, Cached authentication control, , , most)
Packit 90a5c9
Packit 90a5c9
dnl General Authentication modules; module which implements the 
Packit 90a5c9
dnl non-authn module specific directives.
Packit 90a5c9
dnl
Packit 90a5c9
APACHE_MODULE(authn_core, core authentication module, , , yes)
Packit 90a5c9
Packit 90a5c9
dnl Authorization modules: modules which verify a certain property such as
Packit 90a5c9
dnl membership of a group, value of the IP address against a list of pre
Packit 90a5c9
dnl configured directives (e.g. require, allow) or against an external file
Packit 90a5c9
dnl or database.
Packit 90a5c9
dnl
Packit 90a5c9
APACHE_MODULE(authz_host, host-based authorization control, , , yes)
Packit 90a5c9
APACHE_MODULE(authz_groupfile, 'require group' authorization control, , , yes)
Packit 90a5c9
APACHE_MODULE(authz_user, 'require user' authorization control, , , yes)
Packit 90a5c9
APACHE_MODULE(authz_dbm, DBM-based authorization control, , , most)
Packit 90a5c9
APACHE_MODULE(authz_owner, 'require file-owner' authorization control, , , most)
Packit 90a5c9
APACHE_MODULE(authz_dbd, SQL based authorization and Login/Session support, , , most)
Packit 90a5c9
Packit 90a5c9
dnl General Authorization modules; provider module which implements the 
Packit 90a5c9
dnl non-authz module specific directives.
Packit 90a5c9
dnl
Packit 90a5c9
APACHE_MODULE(authz_core, core authorization provider vector module, , , yes)
Packit 90a5c9
Packit 90a5c9
dnl LDAP authentication module. This module has both the authn and authz
Packit 90a5c9
dnl modules in one, so as to share the LDAP server config directives.
Packit 90a5c9
APACHE_MODULE(authnz_ldap, LDAP based authentication, , , most, [
Packit 90a5c9
  APACHE_CHECK_APR_HAS_LDAP
Packit 90a5c9
  if test "$ac_cv_APR_HAS_LDAP" = "yes" ; then
Packit 90a5c9
    if test -z "$apu_config" ; then
Packit 90a5c9
      LDAP_LIBS="`$apr_config --ldap-libs`"
Packit 90a5c9
    else
Packit 90a5c9
      LDAP_LIBS="`$apu_config --ldap-libs`"
Packit 90a5c9
    fi
Packit 90a5c9
    APR_ADDTO(MOD_AUTHNZ_LDAP_LDADD, [$LDAP_LIBS])
Packit 90a5c9
    AC_SUBST(MOD_AUTHNZ_LDAP_LDADD)
Packit 90a5c9
  else
Packit 90a5c9
    AC_MSG_WARN([apr/apr-util is compiled without ldap support])
Packit 90a5c9
    enable_authnz_ldap=no
Packit 90a5c9
  fi
Packit 90a5c9
])
Packit 90a5c9
Packit 90a5c9
dnl FastCGI authorizer interface, supporting authn and authz.
Packit 90a5c9
APACHE_MODULE(authnz_fcgi,
Packit 90a5c9
              FastCGI authorizer-based authentication and authorization, , , no)
Packit 90a5c9
Packit 90a5c9
dnl - host access control compatibility modules. Implements Order, Allow,
Packit 90a5c9
dnl Deny, Satisfy for backward compatibility.  These directives have been
Packit 90a5c9
dnl deprecated in 2.4.
Packit 90a5c9
APACHE_MODULE(access_compat, mod_access compatibility, , , yes)
Packit 90a5c9
Packit 90a5c9
dnl these are the front-end authentication modules
Packit 90a5c9
Packit 90a5c9
APACHE_MODULE(auth_basic, basic authentication, , , yes)
Packit 90a5c9
APACHE_MODULE(auth_form, form authentication, , , most)
Packit 90a5c9
APACHE_MODULE(auth_digest, RFC2617 Digest authentication, , , most, [
Packit 90a5c9
  APR_CHECK_APR_DEFINE(APR_HAS_RANDOM)
Packit 90a5c9
  if test $ac_cv_define_APR_HAS_RANDOM = "no"; then
Packit 90a5c9
    echo "You need APR random support to use mod_auth_digest."
Packit 90a5c9
    echo "Look at APR configure options --with-egd and --with-devrandom."
Packit 90a5c9
    enable_auth_digest="no"
Packit 90a5c9
  fi
Packit 90a5c9
])
Packit 90a5c9
Packit 90a5c9
APACHE_MODULE(allowmethods, restrict allowed HTTP methods, , , most)
Packit 90a5c9
Packit 90a5c9
APR_ADDTO(INCLUDES, [-I\$(top_srcdir)/$modpath_current])
Packit 90a5c9
Packit 90a5c9
APACHE_MODPATH_FINISH