2 Replies Latest reply on Feb 23, 2011 4:18 AM by javatar

    How to change/update login-config.xml without a need to restart jboss server

    javatar

      Hi Friends,

      I have a jee application running on jboss 4.2.3GA. Login-config.xml is including the following piece of code;

      <authentication>
              ..
             
      <module-option name="principalsQuery">
                  SELECT PASSWORD FROM users WHERE USER_ID=?
             
      </module-option>
         
      </login-module>
      </authentication>

      However, I want to update this SQL with this one "select password from users where User_Id=? and Status=1" and make it enable WITHOUT restarting JBoss!

      I could not achieve by without restart..

      I would be glad to hear the solutions.

      Thanks.