Jetspeed 2
  1. Jetspeed 2
  2. JS2-826

Invalid DN values in group/role member attributes result in null pointer dereferences in the BasePrincipalImpl class

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.3, 2.2.0
    • Fix Version/s: 2.1.3, 2.2.0
    • Component/s: Security
    • Labels:
      None

      Description

      If the users belonging to a role are determined by role attributes, so role to user mapping (and not the default, mapping users to roles), then an invalid DN in the role membership attribute will cause a user principal to be created with a NULL name. The reason for that is that the UID attribute (e.g. "CN=") cannot be found in the invalid DN value.

        Activity

        Dennis Dam created issue -
        Dennis Dam made changes -
        Field Original Value New Value
        Attachment LdapMemberShipDaoImpl.patch [ 12371077 ]
        Ate Douma made changes -
        Assignee Ate Douma [ adouma ]
        Ate Douma made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Ate Douma made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Ate Douma
            Reporter:
            Dennis Dam
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development