0 Replies Latest reply on Nov 26, 2001 5:53 AM by Cor Hofman

    DataSource with dynamic user/password

    Cor Hofman Newbie

      Hi all,

      Flame me if I am asking the "open door type" of question here, but having a look in the jboss.jcml file I see that the username and passwords are fixed for the DataSource. It implies that I can only use a single set of username/password to access the database.
      With multiple groups of users around, this is not a very desirable situation for the application I am creating. Data must only be shared within a user group!

      So, how could I arrange a situation where I can introduce a new DataSource dynamically whenever a first user of a new group registers? After restarting
      JBoss the DataSources should be recreated automatically.


      Cor Hofman