1 Reply Latest reply on Jun 13, 2006 3:07 PM by ppradhan

    custom login module & webservice

    ppradhan

      Hi,

      I am trying to use a custom logInmodule extending usernamePasswordLoginModule which works fine when I validate the password locally. What I would like to do is use a webservice to validate the username,password pair. It seems the code hangs creating the stub. Does this mean it is not a good idea to use a webservice from the login module else what do I need to do more ?

      Thanks

        • 1. Re: custom login module & webservice
          ppradhan

          Well, we figured it out ourselves. It seems my webservice was looking for classes in java.sun.* packages which were missing in the jboss lib directory. Once I copied the reqd sun jars to lib everything works fine. I wish Jboss would throw a classNotFound exception when it does not find a superclass, which would save us a lot of time.