6 Replies Latest reply on Sep 13, 2004 11:14 AM by Scott Stark

    CustomLoginModule does not work because of cache?

    Srinivasu Newbie

      Hi,

      I have written a CustomLoginModule extending from DatabaseServerLoginModule. This custom login module overirdes login and logout methods. In these methods it first calls the super class methods to finish of first level authentication. On the top of that, if super class calls go through fine, the custom login module performs some other authentication.
      Everything works fine. But the custom login module is executed only once for every user name. If I open another browser and try to login with the same name i used before and giving correct password, the custom login module is not even invoked.

      I was wondering if anyone could explain why this is happening.My guess is that JBoss maintains cache of the username/password.

      Can anyone suggest how to overcome this?

      Thank you,
      Sony