glassfish
  1. glassfish
  2. GLASSFISH-3774

Custom principal does not get propagated into EJB tier by using ProgrammaticLogin

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: v2.1
    • Fix Version/s: not determined
    • Component/s: security
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: Linux

    • Issuezilla Id:
      3,774

      Description

      In glassfish V2, custom principal class ( which extends
      com.sun.web.security.WebPrincipal or com.sun.enterprise.deployment.Principal)
      does not get propagated into ejb tier even this custom principal has been added
      into subject in the commit method in the customLoginModule. When it calls
      getCallerPrinpical method in ejb tier, it always return
      com.sun.enterprise.deployment.PrincipalImpl.

      In the src code of glassfish , this com.sun.enterprise.deployment.PrincipalImpl
      has been hard coded in few placed which might stop glassfish return correct
      custom principal.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            raharsha
            Reporter:
            willtao
          • Votes:
            2 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: