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

        Hide
        Tom Mueller added a comment -

        Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.

        Show
        Tom Mueller added a comment - Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.
        Hide
        kumara added a comment -

        Changing version from 9.1.1 to v2.1 to reflect new name/version.

        Show
        kumara added a comment - Changing version from 9.1.1 to v2.1 to reflect new name/version.
        Hide
        sanandal added a comment -

        "Reclassifying as P4 because this issue is not deemed "must fix" for this v2.1
        release whose primary release driver is SailFin.
        This issue will be scrubbed after this release and will be given the right
        priority for the next release."

        Show
        sanandal added a comment - "Reclassifying as P4 because this issue is not deemed "must fix" for this v2.1 release whose primary release driver is SailFin. This issue will be scrubbed after this release and will be given the right priority for the next release."
        Hide
        kumarjayanti added a comment -

        Moving target to V3. Could not be fixed for UR1 due to other high priority tasks.

        Show
        kumarjayanti added a comment - Moving target to V3. Could not be fixed for UR1 due to other high priority tasks.
        Hide
        gfbugbridge added a comment -

        <BT6617794>

        Show
        gfbugbridge added a comment - <BT6617794>

          People

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

            Dates

            • Created:
              Updated: