]>
Commit | Line | Data |
---|---|---|
b31d692d AM |
1 | diff -urNp -x '*.orig' apache-tomcat-7.0.107-src.org/conf/server.xml apache-tomcat-7.0.107-src/conf/server.xml |
2 | --- apache-tomcat-7.0.107-src.org/conf/server.xml 2021-11-24 10:19:04.426573110 +0100 | |
3 | +++ apache-tomcat-7.0.107-src/conf/server.xml 2021-11-24 10:19:04.699920632 +0100 | |
4 | @@ -137,6 +137,46 @@ | |
5 | <!-- | |
6 | <Valve className="org.apache.catalina.authenticator.SingleSignOn" /> | |
20c2b709 JR |
7 | --> |
8 | + <!-- | |
9 | + Automatically map a request URI starting with a tilde | |
10 | + character ("~") and a username to a directory | |
11 | + (commonly named public_html) in that user's home directory | |
12 | + on the server. | |
13 | + --> | |
14 | + <!-- | |
15 | + Use /etc/passwd file to identify valid users | |
16 | + --> | |
17 | + <!-- | |
18 | + <Listener className="org.apache.catalina.startup.UserConfig" | |
19 | + directoryName="public_html" | |
20 | + userClass="org.apache.catalina.startup.PasswdUserDatabase"/> | |
21 | + --> | |
22 | + <!-- | |
23 | + Use all directories found in a specified base directory | |
24 | + to be considered "user home" directories | |
25 | + --> | |
26 | + <!-- | |
27 | + <Listener className="org.apache.catalina.startup.UserConfig" | |
28 | + directoryName="public_html" | |
29 | + homeBase="/home/users" | |
30 | + userClass="org.apache.catalina.startup.HomesUserDatabase"/> | |
31 | + --> | |
32 | + <!-- | |
33 | + Use LDAP search to identify valid users | |
bc0d3b1f | 34 | + You may need to add ldap server's CA cert to global java keystore |
20c2b709 JR |
35 | + --> |
36 | + <!-- | |
37 | + <Listener className="org.apache.catalina.startup.UserConfig" | |
38 | + directoryName="public_html" | |
39 | + connectionURL="ldaps://ldap.example.com/" | |
40 | + connectionName="uid=tomcat,ou=people,dc=example,dc=com" | |
41 | + connectionPassword="secret" | |
42 | + searchBase="ou=People,dc=mim,dc=uw,dc=edu,dc=pl" | |
43 | + searchFilter="(objectClass=posixAccount)" | |
44 | + searchSubtree="false" | |
45 | + pageSize="1000" | |
46 | + userClass="org.apache.catalina.startup.LDAPUserDatabase"/> | |
47 | + --> | |
48 | ||
b31d692d AM |
49 | <!-- Access log processes all example. |
50 | Documentation at: /docs/config/valve.html |