Uploaded image for project: 'PicketLink'
  1. PicketLink
  2. PLINK-87

Typo in RoleHandler.validate and missing checks for duplications in LDAPIdentityStore

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • PLINK_2.5.0.Final
    • PLINK_2.5.0.Final
    • IDM
    • None

    Description

      • There is typo in method RoleHandler.validate where it's asking for existing group instead of role. This causes that it's possible to create duplicated role with already existing name in JPAIdentityStore
      • There are missing checks for duplication when adding new object into LDAPIdentityStore. So if I am trying to add user, who already exists, it should be checked and throw IdentityManagementException similarly like for other IdentityStores. Current behaviour doesn't check it and it will try to add new record to LDAP, which is failing with LDAP specific NameAlreadyBoundException

      Attachments

        Activity

          People

            anil.saldhana Anil Saldanha (Inactive)
            mposolda@redhat.com Marek Posolda
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: