From 08f4747567fe71118bb85e78c6dfaa9394b5dbd8 Mon Sep 17 00:00:00 2001 From: Bradley Nicholes Date: Tue, 24 May 2005 22:29:25 +0000 Subject: [PATCH] Documentation for mod_authn_alias git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@178302 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/mod_authn_alias.xml | 107 +++++++++++++++++++++++ docs/manual/mod/mod_authn_alias.xml.meta | 11 +++ 2 files changed, 118 insertions(+) create mode 100644 docs/manual/mod/mod_authn_alias.xml create mode 100644 docs/manual/mod/mod_authn_alias.xml.meta diff --git a/docs/manual/mod/mod_authn_alias.xml b/docs/manual/mod/mod_authn_alias.xml new file mode 100644 index 0000000000..fe667d7ec9 --- /dev/null +++ b/docs/manual/mod/mod_authn_alias.xml @@ -0,0 +1,107 @@ + + + + + + + + + +mod_authn_alias +Provides the ability to create extended authentication + providers based on actual providers +Extension +mod_authn_alias.c +authn_alias_module +Available in Apache 2.1 and later + + +

This module allows extended authentication providers to be created + within the configuration file and assigned an alias name. The alias + providers can then be referenced through the directives + AuthBasicProvider or + AuthDigestProvider in + the same way as a base authentication provider. Besides the ability + to create and alias an extended provider, it also allows the same + extended authentication provider to be reference by multiple + locations.

+ +
+ +
Example +

The example below creates two different ldap authentication + provider aliases based on the ldap provider. This allows + a single authenticated location can be serviced by multiple + ldap hosts:

+ + Example + LoadModule authn_alias_module modules/mod_authn_alias.so

+ <AuthnProviderAlias ldap ldap-alias1>
+ + AuthLDAPBindDN cn=youruser,o=ctx
+ AuthLDAPBindPassword yourpassword
+ AuthLDAPURL ldap://ldap.host/o=ctx
+
+ </AuthnProviderAlias>

+ <AuthnProviderAlias ldap ldap-other-alias>
+ + AuthLDAPBindDN cn=yourotheruser,o=dev
+ AuthLDAPBindPassword yourotherpassword
+ AuthLDAPURL ldap://other.ldap.host/o=dev?cn
+
+ </AuthnProviderAlias>

+ + Alias /secure /webpages/secure
+ <Directory /webpages/secure>
+ + Order deny,allow
+ Allow from all

+ + AuthBasicProvider ldap-other-alias ldap-alias1

+ + AuthType Basic
+ AuthName LDAP_Protected_Place
+ AuthzLDAPAuthoritative off
+ require valid-user
+
+ </Directory>
+
+
+ + +AuthnProviderAlias +Enclose a group of directives that represent an +extension of a base authentication provider and referenced by +the specified alias +<AuthnProviderAlias baseProvider Alias> +... </AuthnProviderAlias> +server configvirtual host + + + +

AuthnProviderAlias and + </AuthnProviderAlias> are used to enclose a group of + authentication directives that can be referenced by the alias name + using one of the directives + AuthBasicProvider or + AuthDigestProvider.

+ +
+
+ +
diff --git a/docs/manual/mod/mod_authn_alias.xml.meta b/docs/manual/mod/mod_authn_alias.xml.meta new file mode 100644 index 0000000000..3709020aa1 --- /dev/null +++ b/docs/manual/mod/mod_authn_alias.xml.meta @@ -0,0 +1,11 @@ + + + + mod_authn_alias + /mod/ + .. + + + en + + -- 2.40.0