1 Reply Latest reply on Jun 20, 2015 8:06 AM by Wolfgang Mayer

    Login module issue while migrating from OC4J to JBoss

    Gaurav Dubey Newbie

      I am new to JBoss Application Server, I am trying to deploy EJB application from OC4J to JBoss which is accessed by Swing client. In EJB application, Custom login module is implemented which interacts with database and perform authentication. This confighuration in OC4J is done in file "system-jazn-data.xml" in below manner:

          

      <jazn-loginconfig> <application> <name>MyApp</name> <login-modules> <login-module> <class>com.test.sample.app.SampleLoginModule</class> <control-flag>required</control-flag> </login-module> </login-modules> </application> </jazn-loginconfig>

       

      My question is how can I configure it in JBoss without using my application specific security domain? I have read few tutorials for configuring custom login module in JBoss AS7 but everywhere the suggestion is to Create application security domain,

       

      Thank you in advance