Uploaded image for project: 'EJB 3.0'
  1. EJB 3.0
  2. EJBTHREE-1756

EJB3: EJBContext getCallerPrincipal does not see the custom principal

    XMLWordPrintable

Details

    • Workaround Exists
    • Hide

      Use the custom principal in the calling client.

      SecurityClient client = SecurityClientFactory.getSecurityClient();
      client.setSimple(new CustomPrincipal("testuser"), "testpwd");
      client.login();

      Show
      Use the custom principal in the calling client. SecurityClient client = SecurityClientFactory.getSecurityClient(); client.setSimple(new CustomPrincipal("testuser"), "testpwd"); client.login();
    • Medium

    Description

      Forum thread reports a case where custom principal in the Login Module is not being propagated to the EJBContext getCallerPrincipal.

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-cdewolf Carlo de Wolf
              anil.saldhana Anil Saldanha (Inactive)
              Votes:
              23 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: