0 Replies Latest reply on May 16, 2006 4:55 PM by Muhammad Umar

    How to use Two custom Login modules

    Muhammad Umar Newbie

      I am new to JBoss, so Please help.....
      Server: JBoss4.0.3SP1
      Client: Java Swing

      Username and password is being passed from client to server. Now Password will be matched to the System's password and roles will be picked up from database. So what is the best way to approach this?

      What I was thinking to write two CustomServerLoginModule,
      One will grab the password from the system extended from AbstractServerLoginModule and Other will grab the roles from database will extend DatabaseServerLoginModule.....

      Is it Possible to do this in JBoss.....any suggestions or sample code will be helpful. And any kind of help will be much appreciated and I will be very thankful to them.......