0 Replies Latest reply on Aug 29, 2008 7:40 AM by Markus Müller

    User change password - Threads with old credential

    Markus Müller Newbie

      Hi,

      we use jboss-4.2.2.

      What happens:
      A user changes his password. We make a new login on all UserSessions. Everthing works fine.

      What is my problem:
      A jms listener got an event, and the listener thread still has the old credential.

      org.jboss.security.SecurityAssociation.getCredential() == oldCredential
      Thread.currentThread() == MessageListenerThread

      What can i do? Hope my problem is understandable.

      Greetings
      horst