1 Reply Latest reply on Nov 18, 2011 5:46 PM by Michael Harper

    JBoss 7 blazeds database authentication module

    Michael Harper Newbie

      Hi

       

      I'm looking for advice on the appropriate way to configure the above. In the past I used the tomcat valve with a little configuration. JBoss 7 is so different I don't really know where start.

       

      Any advice/direction would be appreciated.

       

      Thanks

        • 1. Re: JBoss 7 blazeds database authentication module
          Michael Harper Newbie

          I found the answer for this;

           

          The trouble I was having was setting the tomcat valve in JBoss 7. Previously this was done in tomcat configuration files and is documented in BlazeDS docs.

           

          Now the configuration is achieved by;

           

          1) putting flex-tomcat-common.jar and flex-tomcat-server.jar in the WEB-INF/lib folder of your blazeds war and in the same war

          2) in your jboss-web.xml under WEB-INF the following content

           

          <jboss-web>

            <security-domain>yourSecurityDomain</security-domain>

            <valve>

                  <class-name>flex.messaging.security.TomcatValve</class-name>

              </valve>

          </jboss-web>

           

          The blazeds configuration remains the same.

           

          It's an obvious improvement, I guess it's to do with OSGI ?