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

Proper exception message when using a wrong attribute mapping for referenced IdentityType

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Minor
    • PLINK_2.6.0.CR3
    • PLINK_2.6.0.Beta2
    • IDM
    • None

    Description

      When using two identity stores, and only one of them supporting attributes (ad-hoc), the following exception is raised when the entity being used to store attributes has a wrong mapping:

      throw new IdentityManagementException("Could not find mapper for attributes for type [" + attributedType + "].");

      This happens because the entity does not provide a String-based field to store the referenced IdentityType. In this case we should use a more specific message.

      Attachments

        Activity

          People

            psilva@redhat.com Pedro Igor Craveiro
            psilva@redhat.com Pedro Igor Craveiro
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: