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

@RunAsPrincipal does not work as expected

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.CR1
    • None
    • None

      • SLSB annotated with @RunAs and @RunAsPrincipal - method getCallerPrincipal returns "anonymous" identity instead of defined in annotation.
      • For not autenticated user there should be thrown EJBAccessException but identity anonymous is returned.

      The test for the funcionality was passed from EJB3 testsuite and it could be found on:
      https://github.com/ochaloup/jboss-as/commit/b1eaf4d435dfd32ced0c8ad070faec2c6978b2cf#diff-0

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

                Created:
                Updated:
                Resolved: