2 Replies Latest reply on Sep 9, 2004 11:58 AM by smapjb

    Accessing secured session bean method from MDB (revisited)

    smapjb Newbie

      OK, I have read the paid for docs and forums..

      I am wrapping a call to a secured session bean method with a "client-login" in my MDB's onMessage() as outlined in earlier posts.

      Now I want to remove the jboss security specific stuff from my MDB code and I could use a little help..

      My question is Interceptor OR SecurityProxy.. which should I use?


      Both of these objects return before the bean method is called so where can I call the logout() method of my "client-login" LoginContext.

      What are the consequences of not calling logout()?