Uploaded image for project: 'OpenEJB'
  1. OpenEJB
  2. OPENEJB-716

Security with LocalInitialContextFactory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0-beta-1
    • 3.0-beta-2
    • security
    • None

    Description

      We ran into two issues with LocalInitialContextFactory:

      1) It does not support security realms like RemotelInitialContextFactory does.

      2) Because LocalInitialContextFactory caches the InitialContext (context obtained from org.apache.openejb.core.ivm.naming.InitContextFactory.getInitialContext()) the security authentication is done only once per JVM instead of per access (or instance of LocalInitialContextFactory). That means, that once a user uses LocalInitialContextFactory to access some EJB without security, all other subsequent users of LocalInitialContextFactory will not be able to access EJBs with security.

      Attachments

        1. OPENEJB-716.patch
          3 kB
          Jarek Gawor

        Activity

          People

            dblevins David Blevins
            gawor@mcs.anl.gov Jarek Gawor
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: