]>
Commit | Line | Data |
---|---|---|
20c2b709 JR |
1 | --- apache-tomcat-6.0.29-src/conf/server.xml~ 2010-11-17 17:41:58.451654998 +0100 |
2 | +++ apache-tomcat-6.0.29-src/conf/server.xml 2010-11-21 15:05:44.259477500 +0100 | |
bc0d3b1f | 3 | @@ -142,6 +142,46 @@ |
20c2b709 JR |
4 | <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" |
5 | prefix="localhost_access_log." suffix=".txt" pattern="common" resolveHosts="false"/> | |
6 | --> | |
7 | + <!-- | |
8 | + Automatically map a request URI starting with a tilde | |
9 | + character ("~") and a username to a directory | |
10 | + (commonly named public_html) in that user's home directory | |
11 | + on the server. | |
12 | + --> | |
13 | + <!-- | |
14 | + Use /etc/passwd file to identify valid users | |
15 | + --> | |
16 | + <!-- | |
17 | + <Listener className="org.apache.catalina.startup.UserConfig" | |
18 | + directoryName="public_html" | |
19 | + userClass="org.apache.catalina.startup.PasswdUserDatabase"/> | |
20 | + --> | |
21 | + <!-- | |
22 | + Use all directories found in a specified base directory | |
23 | + to be considered "user home" directories | |
24 | + --> | |
25 | + <!-- | |
26 | + <Listener className="org.apache.catalina.startup.UserConfig" | |
27 | + directoryName="public_html" | |
28 | + homeBase="/home/users" | |
29 | + userClass="org.apache.catalina.startup.HomesUserDatabase"/> | |
30 | + --> | |
31 | + <!-- | |
32 | + Use LDAP search to identify valid users | |
bc0d3b1f | 33 | + You may need to add ldap server's CA cert to global java keystore |
20c2b709 JR |
34 | + --> |
35 | + <!-- | |
36 | + <Listener className="org.apache.catalina.startup.UserConfig" | |
37 | + directoryName="public_html" | |
38 | + connectionURL="ldaps://ldap.example.com/" | |
39 | + connectionName="uid=tomcat,ou=people,dc=example,dc=com" | |
40 | + connectionPassword="secret" | |
41 | + searchBase="ou=People,dc=mim,dc=uw,dc=edu,dc=pl" | |
42 | + searchFilter="(objectClass=posixAccount)" | |
43 | + searchSubtree="false" | |
44 | + pageSize="1000" | |
45 | + userClass="org.apache.catalina.startup.LDAPUserDatabase"/> | |
46 | + --> | |
47 | ||
48 | </Host> | |
49 | </Engine> |