0 Replies Latest reply on Aug 12, 2003 4:04 AM by Kristoffer Gronowski

    Getting hold of WEB-INF metadata form inside a servlet

    Kristoffer Gronowski Newbie

      I have a web application that sometimes needs to flush the Authentication Cache.
      It works fine and I'm using the JMX framework to invoke the right function. The problem is that the security domain is hardcoded right now.

      Can I get hold of this information in a easy way?

      The only thing I can think of right now is that i have to load the jboss-web.xml file in my servlet and then maybe to use the WebMetaData helper class to parse the xml file.

      Or are there any easier alternatives?
      Ha sanyone done something similar?

      I don't want to hardcode it since somebody could change the value in the jboss-web.xml file

      //Thanks, Chris!