----------------------------------------- Hello.
I have the next doubt integrating apache with tomcat and SiteMinder (SSO) When I logging in my webApp, I' m been redirected to SiteMinder (that part is ok), then SM redirect me to tomcat (it s mean to the root /), appending some special headers, (and that part is ok). like this: header=SM_USER=w024461 header=SM_USERDN=uid=W024461,ou=People,dc=bankone,dc=net Well, everything until here is ok. This is the general configuration: /etc/httpd/conf/httpd.conf ########################## LoadModule jk_module modules/mod_jk-1.2.25-httpd-2.0.59.so JkWorkersFile /etc/httpd/conf/workers.properties JkShmFile /var/log/httpd/mod_jk.shm JkLogFile /var/log/httpd/mod_jk.log JkLogLevel debug JkLogStampFormat "[%a %b %d %H:%M:%S %Y] " JkMount / worker1 /etc/httpd/conf/workers.propertie ########################### workers.tomcat_home=/home/tigger/jakarta-tomcat-5.0.28 worker.list=worker1 worker.worker1.type=ajp13 worker.worker1.host=sscllinuxora03.santiago.cl.jpmorganchase.com worker.worker1.port=8009 /home/tigger/jakarta-tomcat-5.0.28/conf/server.xml ########################### <Service debug="9" name="Catalina"> <Connector port="8082" redirectPort="8444" enableLookups="true" debug="9" connectionTimeout="20000" disableUploadTimeout="true" useBodyEncodingForURI="true" acceptCount="100" allowTrace="true" maxSpareThreads="75" maxThreads="150" minSpareThreads="25"/> <Connector port="8009" redirectPort="8444" enableLookups="true" debug="9" protocol="AJP/1.3"/> <Engine debug="9" defaultHost="localhost" name="Catalina"> <Host appBase="webapps" debug="9" name="localhost"> <Logger className="org.apache.catalina.logger.FileLogger" prefix="localhost_log." suffix=".txt" timestamp="true"/> <Valve className="org.apache.catalina.valves.AccessLogValve" fileDateFormat="yyyy-MM-dd" pattern="common" prefix="localhost_access_log." suffix=".txt"/> </Host> <Logger className="org.apache.catalina.logger.FileLogger" debug="9" prefix="catalina_log." suffix=".txt" timestamp="true" verbosity="4"/> <Realm className="org.apache.catalina.realm.UserDatabaseRealm" debug="9"/> <Valve className="org.apache.catalina.valves.RequestDumperValve"/> </Engine> </Service> I used <Valve className="org.apache.catalina.valves.RequestDumperValve"/> to print all the headers(and the specials headers) that come from SM and I could do it. But now I don't know what configuration i should do it for pass the headers (special headers) to mi wepApp, in this case: /home/tigger/jakarta-tomcat-5.0.28/webapps/RS. The next is the configuration of the web.xml of the webApp: /home/tigger/jakarta-tomcat-5.0.28/webapps/RS/WEB-INF/web.xml ########################### <?xml version="1.0" encoding="UTF-8"?> <web-app> <display-name>WebRS Front End</display-name> <description>WebRS Front End</description> <servlet> <servlet-name>action</servlet-name> <servlet-class>org.apache.struts.action.ActionServlet </servlet-class> <init-param> <param-name>config</param-name> <param-value>/WEB-INF/struts-config.xml</param-value> </init-param> <init-param> <param-name>debug</param-name> <param-value>3</param-value> </init-param> <init-param> <param-name>detail</param-name> <param-value>3</param-value> </init-param> <load-on-startup>0</load-on-startup> </servlet> <servlet-mapping> <servlet-name>action</servlet-name> <url-pattern>*.do</url-pattern> </servlet-mapping> <session-config> <session-timeout>30</session-timeout> </session-config> <welcome-file-list> <welcome-file>index.jsp</welcome-file> </welcome-file-list> </web-app> Please... if I'm contacting with you, don't believe that I've not tried a lot of configurations (without outcomes) that found in internet, but anyone of them help me Thanks and regards !!! ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- JP Morgan Chase Bank. WebRS Team German Luisi M. movil: (56 9) 08 - 769 11 33 fijo: (56 2) 42 55 327 Santiago, Chile. ----------------------------------------- This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily reflect those of JPMorgan Chase & Co., its subsidiaries and affiliates. This transmission may contain information that is privileged, confidential, legally privileged, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. Although this transmission and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by JPMorgan Chase & Co., its subsidiaries and affiliates, as applicable, for any loss or damage arising in any way from its use. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. Please refer to http://www.jpmorgan.com/pages/disclosures for disclosures relating to UK legal entities.