Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-6424

Stateless Session Bean getCallerPrincipal().getName() is cached between Remote Calls from Standalone Client with different User's

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • JBossAS-5.0.1.GA
    • JBossAS-5.0.0.GA
    • Security
    • None

    Description

      Calling a Stateless Session Bean with different Users from a standalone Client delivers the same Principal Name.
      The roles of the different Users are correct.
      Only the name of the Principal is always the name from the first invocation.

      The behaivor is testet with the simple Login Module and with JAAS Login.
      For code snippets see also the jboss forum reference.

      Attachments

        Activity

          People

            anil.saldhana Anil Saldanha (Inactive)
            tom.iten Tom Iten (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: