From b3ebbc674540f557c78820fcaa1210e9056aa52e Mon Sep 17 00:00:00 2001
From: ndk Insert features here. Before starting, please sign up for all applicable
mailing
@@ -634,7 +636,7 @@ and JSP specification 1.2. Other versions of the JRE are not supported and are known to
@@ -679,7 +681,7 @@ and JSP specification 1.2.
This version of the deploy guide is for Shibboleth v1.2. For documentation
related to prior versions of Shibboleth, please consult the appropriate branch
in the Shibboleth CVS.
-The default configuration of Shibboleth is not secure and should not
-be used for protection of production content. The example private key bundled
-with the distribution is publically available, widely circulated, and
-well-known; also, the default federation and trust metadata is for testing
-purposes only. For information about securing a Shibboleth deployment, please
-refer to the production guide. Shibboleth should only be used to protect
-sensitive content when deployed carefully in conjunction with proper trust
-settings and policies.
-
-The default configuration of Shibboleth is not secure and should not
+ be used for protection of production content. The example private key bundled
+ with the distribution is publically available, widely circulated, and well-known;
+ also, the default federation and trust metadata is for testing purposes only.
+ For information about securing a Shibboleth deployment, please refer to the
+ production guide. Shibboleth should only be used to protect sensitive content
+ when deployed carefully in conjunction with proper trust settings and policies.
@@ -694,13 +696,22 @@ and JSP specification 1.2.Restart Tomcat, which will automatically detect that there has been a new .war file added. This file will by default be expanded into /usr/local/tomcat/webapps/shibboleth. -Apache must be told to map the URL's for the Shibboleth HS and AA to - Tomcat. Two popular ways of doing this are to include the following text - directly in httpd.conf, or to place - Include conf/mod_jk.conf in - httpd.conf, and place the following - lines in /etc/httpd/conf/mod_jk.conf: --- This will result in a HS URL of http://hostname/shibboleth/HS/. ---------- begin ---------
+Apache must be told to map the URL's for the Shibboleth HS + and AA to Tomcat. This is done differently depending on whether + Coyote/JK2 or AJP13/JK is used as the connector between Apache + and Tomcat. Generally, Tomcat 4.1.x should use AJP13/JK, and Tomcat 5 can use Coyote/JK2.
+ +mod_jk:
+ +The following configuration directs Apache to use mod_jk to redirect + queries for Shibboleth components to Tomcat. Two popular ways of doing + this are to include the following text directly in httpd.conf, or to make a separate file and Include it in httpd.conf.
+ ++ --------- begin ---------
<IfModule !mod_jk.c>
LoadModule jk_module libexec/mod_jk.so
</IfModule>
@@ -712,15 +723,14 @@ and JSP specification 1.2.
JkMount /shibboleth/* ajp13
- --------- end --------- + --------- end ---------Tomcat's /conf/server.xml ships by - default with the Coyote/JK2 connector enabled, which fails with - Shibboleth due to the lack of support for - REMOTE_USER. This connector must be commented out. Then, - uncomment and modify the traditional AJP 1.3 connector as follows: -+ +
Tomcat 4.1.x defaults to having the Coyote connector enabled in /conf/server.xml. This fails with mod_jk and must be commented out. Then, uncomment + and modify the traditional AJP 1.3 connector as follows:
+
- Add address="127.0.0.1" inside the <Ajp13Connector> configuration element to prevent off-host access.
@@ -728,8 +738,37 @@ and JSP specification 1.2. to the <Ajp13Connector> configuration element to ensure that the user's identity is passed from Apache to the servlet environment.The AJP13Connector for tomcat is not compatible with the new JMX support. To remove some warnings that will appear in the tomcat log every time tomcat is restarted, comment out all of the JMX stuff (anything that says "mbeans") from server.xml. +The AJP13Connector for tomcat is not compatible with the new JMX support. To remove some warnings that will appear in the Tomcat log every time Tomcat is restarted, comment out all of the JMX stuff (anything that says "mbeans") from server.xml. + +mod_jk2:
+ +The following lines must be added to or placed in a separate + configuration file pointed to by httpd.conf:
+ ++ --------- begin ---------+ +
+
+ LoadModule jk2_module libexec/mod_jk2.so
+
+ --------- end --------- +By default, the Coyote/JK2 connector will not permit the REMOTE_USER value set by Apache to pass into Tomcat, and thus into Shibboleth. If user authentication will be handled in this fashion(as is true of most deployments), then the /conf/jk2.properties file must include the following line:
+ +request.tomcatAuthentication=false+ +mod_jk2 must also be told separately to map URL's to the servlets in Tomcat using /conf/workers2.properties file in the Apache tree by adding these lines. It may also be necessary to modify the references in the file to the socket port and make sure it matches the port set in the Coyote connector.
+ ++ --------- begin ---------+ +
+ [uri:/shibboleth/*]
+ group=lb
+ --------- end --------- +Both the mod_jk and mod_jk2 configurations as given will result in a HS URL of http://hostname/shibboleth/HS/ and an AA URL of http://hostname/shibboleth/AA/.