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

An MDB ejbCreate() method is not called in the security context of the run-as principal

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Obsolete
    • Icon: Optional Optional
    • No Release
    • JBossAS-4.0.2RC1
    • EJB2
    • None

      While playing around with MDB's and its 'run-as' configuration we found out that the public void ejbCreate() method is not called in the security context of a configured run-as principal. It would be nice when in the ejbCreate method references to other beans (e.g stateless session beans) could be initialized which are running in a security domain (=they need at least a known principal).

      I couldn't find something about this topic in the EJB 2.1 specification (section 15.4.5), but I think this is a useful usecase and it would be a nice feature in JBoss.

              Unassigned Unassigned
              wv-javacoder Roland Räz (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: