1 Reply Latest reply on Aug 5, 2011 10:34 AM by Jean Baldessar

    Jaas authentication with multiple datasources

    Jean Baldessar Newbie



      I have a application where the user can change de datasource used by a session atribute.


      I'm using Jaas DatabaseServerLoginModule for authentication but the datasource used by this configuration is static (writen in login-config.xml if JBoss 6, and standalone.xml in JBoss7)



      Is there a way to change the datasource used dynamically?


      I would have to write a custom login module or there's a way to do this with the existing JBoss modules?