2 Replies Latest reply on Aug 27, 2004 9:59 AM by Jaber C. Mourad

    Create a login context for eache app ?

    Jaber C. Mourad Novice

      Hi,
      I'm looking for a possibility to configure each jboss app with it security context.
      Te reason is that my jboss/tomcat serve several web sites and each one's got it security context into an ldap directory ( common root dse and a subtree for each web site ) I can't make a global model for security and risk of cross authentication issues.
      Is there any ressource to explain a way to do it ?
      Thanks a lot

        • 1. Re: Create a login context for eache app ?
          janprill Novice

          Hi, newbeewan,

          take a look at chapter 8 of the free doco, that you'll find at Services > Documentation. It seems that you want to secure your webapps through JAAS? In short you may define different realms for your apps in $JBOSS_HOME/server/default/conf/login-config.xml and then define these as security domains in your jboss-web.xml-Files.

          Best regards
          Jan Prill

          • 2. Re: Create a login context for eache app ?
            Jaber C. Mourad Novice

            Yes I know, but I want to secure every app with different security ressources...
            For exemple :
            jBoss -> dc=myJBoss,dc=org
            myEAR1 -> dc=myEar1,dc=com
            myEAR2 -> dc=myEar2,dc=com
            ...
            I want that JAAS parameters appeared into each single app ( in application.xml for example ) because there not shared between them.
            Is it possible and where can I find some docos for that ?
            Thanks