]> granicus.if.org Git - apache/blob - docs/manual/mod/mod_authn_alias.html.en
Adding updated mod_ssl HOWTO to the website
[apache] / docs / manual / mod / mod_authn_alias.html.en
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!--
4         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
5               This file is generated from xml source: DO NOT EDIT
6         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
7       -->
8 <title>mod_authn_alias - Apache HTTP Server</title>
9 <link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
10 <link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
11 <link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
12 <link href="../images/favicon.ico" rel="shortcut icon" /></head>
13 <body>
14 <div id="page-header">
15 <p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p>
16 <p class="apache">Apache HTTP Server Version 2.3</p>
17 <img alt="" src="../images/feather.gif" /></div>
18 <div class="up"><a href="./"><img title="&lt;-" alt="&lt;-" src="../images/left.gif" /></a></div>
19 <div id="path">
20 <a href="http://www.apache.org/">Apache</a> &gt; <a href="http://httpd.apache.org/">HTTP Server</a> &gt; <a href="http://httpd.apache.org/docs/">Documentation</a> &gt; <a href="../">Version 2.3</a> &gt; <a href="./">Modules</a></div>
21 <div id="page-content">
22 <div id="preamble"><h1>Apache Module mod_authn_alias</h1>
23 <div class="toplang">
24 <p><span>Available Languages: </span><a href="../en/mod/mod_authn_alias.html" title="English">&nbsp;en&nbsp;</a></p>
25 </div>
26 <table class="module"><tr><th><a href="module-dict.html#Description">Description:</a></th><td>Provides the ability to create extended authentication 
27     providers based on actual providers</td></tr>
28 <tr><th><a href="module-dict.html#Status">Status:</a></th><td>Extension</td></tr>
29 <tr><th><a href="module-dict.html#ModuleIdentifier">Module Identifier:</a></th><td>authn_alias_module</td></tr>
30 <tr><th><a href="module-dict.html#SourceFile">Source File:</a></th><td>mod_authn_alias.c</td></tr>
31 <tr><th><a href="module-dict.html#Compatibility">Compatibility:</a></th><td>Available in Apache 2.1 and later</td></tr></table>
32 <h3>Summary</h3>
33
34     <p>This module allows extended authentication providers to be created 
35     within the configuration file and assigned an alias name.  The alias 
36     providers can then be referenced through the directives 
37     <code class="directive"><a href="../mod/mod_auth_basic.html#authbasicprovider">AuthBasicProvider</a></code> or 
38     <code class="directive"><a href="../mod/mod_auth_digest.html#authdigestprovider">AuthDigestProvider</a></code> in
39     the same way as a base authentication provider.  Besides the ability
40     to create and alias an extended provider, it also allows the same 
41     extended authentication provider to be reference by multiple 
42     locations.</p>
43
44 </div>
45 <div id="quickview"><h3 class="directives">Directives</h3>
46 <ul id="toc">
47 <li><img alt="" src="../images/down.gif" /> <a href="#authnprovideralias">&lt;AuthnProviderAlias&gt;</a></li>
48 </ul>
49 <h3>Topics</h3>
50 <ul id="topics">
51 <li><img alt="" src="../images/down.gif" /> <a href="#example">Example</a></li>
52 </ul></div>
53 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
54 <div class="section">
55 <h2><a name="example" id="example">Example</a></h2>
56     <p>The example below creates two different ldap authentication 
57     provider aliases based on the ldap provider.  This allows
58     a single authenticated location can be serviced by multiple 
59     ldap hosts:</p>
60
61     <div class="example"><h3>Example</h3><p><code>
62       LoadModule authn_alias_module modules/mod_authn_alias.so<br /><br />
63       &lt;AuthnProviderAlias ldap ldap-alias1&gt;<br />
64       <span class="indent">
65          AuthLDAPBindDN cn=youruser,o=ctx<br />
66          AuthLDAPBindPassword yourpassword<br />
67          AuthLDAPURL ldap://ldap.host/o=ctx<br />
68       </span>
69       &lt;/AuthnProviderAlias&gt;<br /><br />
70       &lt;AuthnProviderAlias ldap ldap-other-alias&gt;<br />
71       <span class="indent">
72          AuthLDAPBindDN cn=yourotheruser,o=dev<br />
73          AuthLDAPBindPassword yourotherpassword<br />
74          AuthLDAPURL ldap://other.ldap.host/o=dev?cn<br />
75       </span>
76       &lt;/AuthnProviderAlias&gt;<br /><br />
77
78       Alias /secure /webpages/secure<br />
79       &lt;Directory /webpages/secure&gt;<br />
80       <span class="indent">
81          Order deny,allow<br />
82          Allow from all<br /><br />
83     
84          AuthBasicProvider ldap-other-alias  ldap-alias1<br /><br />
85     
86          AuthType Basic<br />
87          AuthName LDAP_Protected_Place<br />
88          require valid-user<br />
89       </span>
90       &lt;/Directory&gt;<br />
91     </code></p></div>
92 </div>
93 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
94 <div class="directive-section"><h2><a name="AuthnProviderAlias" id="AuthnProviderAlias">&lt;AuthnProviderAlias&gt;</a> <a name="authnprovideralias" id="authnprovideralias">Directive</a></h2>
95 <table class="directive">
96 <tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Enclose a group of directives that represent an
97 extension of a base authentication provider and referenced by
98 the specified alias</td></tr>
99 <tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>&lt;AuthnProviderAlias <var>baseProvider Alias</var>&gt;
100 ... &lt;/AuthnProviderAlias&gt;</code></td></tr>
101 <tr><th><a href="directive-dict.html#Context">Context:</a></th><td>server config, virtual host</td></tr>
102 <tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Extension</td></tr>
103 <tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_authn_alias</td></tr>
104 </table>
105     <p><code class="directive">&lt;AuthnProviderAlias&gt;</code> and
106     <code>&lt;/AuthnProviderAlias&gt;</code> are used to enclose a group of
107     authentication directives that can be referenced by the alias name 
108     using one of the directives <code class="directive"><a href="../mod/mod_auth_basic.html#&#10;    authbasicprovider">
109     AuthBasicProvider</a></code> or <code class="directive"><a href="../mod/mod_auth_digest.html#&#10;    authdigestprovider">
110     AuthDigestProvider</a></code>.</p>
111
112
113 </div>
114 </div>
115 <div class="bottomlang">
116 <p><span>Available Languages: </span><a href="../en/mod/mod_authn_alias.html" title="English">&nbsp;en&nbsp;</a></p>
117 </div><div id="footer">
118 <p class="apache">Copyright 1995-2006 The Apache Software Foundation or its licensors, as applicable.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
119 <p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p></div>
120 </body></html>