2 Replies Latest reply on Apr 18, 2005 7:19 PM by lhoriman

    Packaging login-config.xml in a SAR?

      Hi. I have a custom login module that authenticates against an EJB. I would like to package my login-config.xml snippet along with my deployed application so that I don't need to modify config files on every jboss instance I deploy to.

      At the end of section 8.4.7.2 "A Custom LoginModule Example" of the JBoss docs, there is this mysterious line:

      "The SAR META-INF/login-config.xml descriptor defines the login module configuration."

      This sounds like I should be able to package my login-config.xml in a SAR. I have a SAR packaged in my EAR but the login-config.xml is not recognized at all.

      How can I make this work? I'm using JBoss 4.0.2rc1

      Thanks,
      Jeff