Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-2970

Method getCallerPrincipal in @PreDestroy of SFSB returns null

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.1.0.Final
    • 7.1.0.CR1b
    • EJB
    • None

    Description

      Method getCallerPrincipal in @PreDestroy method of SFSB returns null.
      Calling of getCallerPrincipal in @PostConstruct and @PreDestroy method is allowed (EJB3.1 4.6.1).
      And for not authenticated user it should return "anonymous".

      Test: https://github.com/ochaloup/jboss-as/commits/JBQA-5483-test-migration-getcallerprincipal

      Attachments

        Activity

          People

            sdouglas1@redhat.com Stuart Douglas
            ochaloup@redhat.com Ondrej Chaloupka (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: