[security-dev] relationship query not working

Bill Burke bburke at redhat.com
Thu Aug 1 17:31:28 EDT 2013


So @AttributeProperty has to go on the field?  Not the getter method?

On 8/1/2013 5:20 PM, Pedro Igor Silva wrote:
> That is a mapping issue, I think.
>
> Can you take a look at following test case / mapping ?
>
>      https://github.com/picketlink/picketlink/blob/master/modules/idm/tests/src/test/java/org/picketlink/test/idm/relationship/CustomRelationshipTestCase.java
>
> ----- Original Message -----
> From: "Bill Burke" <bburke at redhat.com>
> To: "Pedro Igor Silva" <psilva at redhat.com>
> Cc: security-dev at lists.jboss.org
> Sent: Thursday, August 1, 2013 5:00:59 PM
> Subject: Re: [security-dev] relationship query not working
>
> Its not only the query, but no @AttributeProperty is loaded.  You have
> to do all ad-hoc attributes for Relationships.
>
> On 8/1/2013 11:44 AM, Pedro Igor Silva wrote:
>> JIRA updated. It will be fixed for Beta7.
>>
>> If you like you can use ad-hoc attributes for now. They are queriable.
>>
>> ----- Original Message -----
>> From: "Bill Burke" <bburke at redhat.com>
>> To: security-dev at lists.jboss.org
>> Sent: Thursday, August 1, 2013 10:34:19 AM
>> Subject: [security-dev] relationship query not working
>>
>> I have a custom relationship that only has @AttributeProperty values.  I
>> am querying based on an AttributeParameter and not getting any results
>> back.  I don't know if this is a bug or something I'm doing wrong.
>>
>> testCreate2() is the test
>>
>> https://github.com/patriot1burke/picketlink/blob/master/modules/idm/tests/src/test/java/org/picketlink/test/idm/relationship/CustomRelationshipTestCase.java
>>
>> https://github.com/patriot1burke/picketlink/blob/master/modules/idm/tests/src/test/java/org/picketlink/test/idm/relationship/RequiredCredentialRelationship.java
>>
>> JIRA:
>>
>> https://issues.jboss.org/browse/PLINK-223
>>
>>
>>
>

-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com


More information about the security-dev mailing list