2 Replies Latest reply on Aug 15, 2005 1:54 PM by Radhakrishnan narianagdu

    LoginModule's login method not being called

    Radhakrishnan narianagdu Newbie

      Hi,

      This is the scenario that I'm testing for...

      A User logs in from one browser and I initialize a Context object within a Filter.

      When I attempt to login the same user from another browser the login method of my custom LoginModule is not called. I wish to redirect this browser to a "You're already logged in" page. Since the login method is not called I'm unable to setup parameters that will cause the Filter to forward the user to this message page.

      Can you please let me know how I can always force JBoss to call the login method of the LoginModule. I'm assuming since a security session for the user is already available it skips calling the LoginModule.

      thanks in advance...

      -Rk