2 Replies Latest reply on May 6, 2004 1:38 PM by ammulder

    SSL Truststore Configuration - Jboss 3.2.3-tomcat 4.1.29

    tfk257

      I am using JBOSS 3.2.3-tomcat 4.1.29

      I have 2 questions:
      1- How can I configure the app server to use a specific truststore?

      2- How do I get the user credentials in a servlet in my application?

      PLEASE I NEED HELP

        • 1. Re: SSL Truststore Configuration - Jboss 3.2.3-tomcat 4.1.29
          starksm64

          1. Using the javax.net.ssl.trustStore javax.net.ssl.trustStorePassword properties to poing to the keystore to use as the trustStore.

          2. You don't without custom integration with the web container. The user credentials are not part of the servlet api.

          • 2. Re: SSL Truststore Configuration - Jboss 3.2.3-tomcat 4.1.29
            ammulder

            For what it's worth, you could use a custom org.apache.catalina.Valve for Tomcat to grab the user's credentials during the login request and stuff them in the session or something where a servlet could access them later. It wouldn't be as complex as customizing the entire web integration -- just implement a tiny valve and add it to jbossweb-tomcat41.sar/META-INF/jboss-service.xml