1 Reply Latest reply on Dec 27, 2002 1:45 PM by andygodwin

    login-config.xml file encryption

    gaudy1

      Does anyone know if it is possible to encrypt the contents of login-config.xml file?

        • 1. Re: login-config.xml file encryption
          andygodwin

          One way to do this is to write your own DocumentBuilder
          and DocumentBuilderFactory implementations ... these
          classes are used by JBoss to read pretty much all XML
          based config files.

          In your builder class you can then perform your own
          decryption steps in the parse() method to retrieve
          the XML before actually parsing it.

          Check the javax.xml.parsers package docs.