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 ?
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.