Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-668

Unable to determine username from EJB method

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0-M4
    • Fix Version/s: 1.0-M5
    • Component/s: None
    • Labels:
      None

      Description

      When calling EJB method from the Web module some important security context information (username) is lost. It is impossible to determine caller user name from the EJB method. EJBContext.getCallerPrincipal().getName() returns something like this:

      [org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal: manager]

      Note that only group name can be determined from this string or from the EJBMethod.getCallerPrincipal().

        Attachments

          Activity

            People

            • Assignee:
              djencks David Jencks
              Reporter:
              wfrag Ivan Dubrov
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: