1 Reply Latest reply on Mar 14, 2007 10:59 AM by kbpair

    Local datasource but pull info from external ldap

    kbpair

      Is there any way I can use my global ldap to store connection information for things like datasources, messaging, email but have JBoss create local entries in jndi with this information.

      For example, my dev instance of JBoss would create a local database connection pool on startup or after a 'flush' but get the connection information from an external LDAP.

      Potentially I could just use the external ldap directly for email and even messaging but my main concern is the datasource because I am unsure how connection pooling would work. That is why I would like to set up the local datasource.

      any suggestions are appreciated.

        • 1. Re: Local datasource but pull info from external ldap
          kbpair

          After doing some more reading it appears I want to write my own XSLSubDeployer that will look up the information out of LDAP (will this connection information be available in JNDI - using the ExternalContextMBean?).

          Any suggestions on the best way to implement this is appreciated - maybe this post should be moved to a new topic.

          thanks