You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@syncope.apache.org by Bob Lannoy <bo...@gmail.com> on 2012/04/24 11:44:51 UTC

Derived attributes

Hi,

it seems a derived attribute cannot be based on an inherent property
of an object, e.g.  the name of the role in combination with an
attribute.
Is that correct?

cheers

Bob

Re: Derived attributes

Posted by Francesco Chicchiriccò <il...@apache.org>.
On 24/04/2012 14:47, Bob Lannoy wrote:
> Hi,
>
> I think it makes sense that the name could be used in derived attributes.
> Cannot think of a use-case where the id might be handy.
> Could be something for the roadmap.

Added, thanks!
Regards.

> 2012/4/24 Francesco Chicchiriccò<il...@apache.org>:
>> On 24/04/2012 11:44, Bob Lannoy wrote:
>>> Hi,
>>>
>>> it seems a derived attribute cannot be based on an inherent property
>>> of an object, e.g.  the name of the role in combination with an
>>> attribute.
>>> Is that correct?
>>
>> Derived attributes are attributes whose value is obtained by evaluating a
>> JEXL expression combining values of plain attributes (see [1]).
>> This means that user and role own properties (id and name, for example)
>> cannot be used for evaluating derived attributes: matter for roadmap?
>>
>> Regards.
>>
>> [1]
>> https://cwiki.apache.org/confluence/display/SYNCOPE/Schema%2C+attributes+and+mapping#Schema%2Cattributesandmapping-Attribute
-- 
Francesco Chicchiriccò

Apache Cocoon PMC and Apache Syncope PPMC Member
http://people.apache.org/~ilgrosso/


Re: Derived attributes

Posted by Bob Lannoy <bo...@gmail.com>.
Hi,

I think it makes sense that the name could be used in derived attributes.
Cannot think of a use-case where the id might be handy.
Could be something for the roadmap.

cheers

Bob

2012/4/24 Francesco Chicchiriccò <il...@apache.org>:
> On 24/04/2012 11:44, Bob Lannoy wrote:
>>
>> Hi,
>>
>> it seems a derived attribute cannot be based on an inherent property
>> of an object, e.g.  the name of the role in combination with an
>> attribute.
>> Is that correct?
>
>
> Derived attributes are attributes whose value is obtained by evaluating a
> JEXL expression combining values of plain attributes (see [1]).
> This means that user and role own properties (id and name, for example)
> cannot be used for evaluating derived attributes: matter for roadmap?
>
> Regards.
>
> [1]
> https://cwiki.apache.org/confluence/display/SYNCOPE/Schema%2C+attributes+and+mapping#Schema%2Cattributesandmapping-Attribute
>
> --
> Francesco Chicchiriccò
>
> Apache Cocoon PMC and Apache Syncope PPMC Member
> http://people.apache.org/~ilgrosso/
>

Re: Derived attributes

Posted by Francesco Chicchiriccò <il...@apache.org>.
On 24/04/2012 11:44, Bob Lannoy wrote:
> Hi,
>
> it seems a derived attribute cannot be based on an inherent property
> of an object, e.g.  the name of the role in combination with an
> attribute.
> Is that correct?

Derived attributes are attributes whose value is obtained by evaluating 
a JEXL expression combining values of plain attributes (see [1]).
This means that user and role own properties (id and name, for example) 
cannot be used for evaluating derived attributes: matter for roadmap?

Regards.

[1] 
https://cwiki.apache.org/confluence/display/SYNCOPE/Schema%2C+attributes+and+mapping#Schema%2Cattributesandmapping-Attribute

-- 
Francesco Chicchiriccò

Apache Cocoon PMC and Apache Syncope PPMC Member
http://people.apache.org/~ilgrosso/