2 Replies Latest reply on Jun 7, 2006 12:27 PM by anil.saldhana

    Two web modules in one ear, with different login policies.

    gugrim

      Hi,

      We have an EAR that contains two web modules and one ejb module. The two web modules need to use different application policies declared in logon-config.xml.

      In an earlier version of out application, one policy was sufficient and it could be specified in jboss-app.xml.

      The first thing I tried was to specify the policies in the two different jboss-web.xml files. This worked for one of them but not the other. I then tried to specify the latter policy in jboss-app.xml also. Now it seems to work but I don't understand why.

      So, what are the rules here? Why do I need to specify the policy in jboss-app.xml for one web module but not the other?

      TIA,
      Gunnar