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

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

XMLWordPrintable

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

      • 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

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

                Created:
                Updated:
                Resolved: