Skip to content
This repository has been archived by the owner on Jun 10, 2019. It is now read-only.

Catch child classes of IdentityType #494

Closed
wants to merge 1 commit into from

Conversation

mattalxndr
Copy link
Contributor

When persisting any relationship to the relationship manager, I was getting this error:

org.picketlink.idm.config.OperationNotSupportedException: PLIDM000604: No identity store configuration found for requested type operation [class path.to.MyRelationshipEntity.create].

I found that while the relationship object's user and group properties were being queried for their partition, no matching users or groups were found because the search criteria was not allowing child classes of IdentityType. This solves the problem.

A workaround is to add configurationBuilder.supportGlobalRelationship(org.picketlink.idm.model.Relationship.class); or configurationBuilder.supportAllFeatures(); to your configuration.

When querying a relationship object for identity type objects, we need to be able to catch child classes of IdentityType.
@cloudbees-pull-request-builder

picketlink #408 FAILURE
Looks like there's a problem with this pull request

@pedroigor
Copy link
Member

Thanks, already merged.

@pedroigor pedroigor closed this Jul 11, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants