AttributeDefinition - with 2 Dependency
Nate Klingenstein
ndk at sudonym.me
Fri Sep 21 21:44:23 EDT 2018
Joshua,
You can have as many dependencies as you want within a definition and it
will coalesce all values that it receives from all sources by default.
First, you'll need individual two AttributeDefinitions, one for each
sourceAttribute.
Then to assemble them using logic(i.e. the if/then part) rather than just
coalescing all values, you will have to write a Scripted
AttributeDefinition:
https://wiki.shibboleth.net/confluence/display/IDP30/ScriptedAttributeDefinition
There's an example on that page that uses two attributes and probably will
give you a great starting point for your stated aims.
Have a good weekend,
Nate.
On Fri, Sep 21, 2018 at 6:54 PM Joshua Brodie <josbrodie at gmail.com> wrote:
> Hello...
>
> The task I am trying to solve is for a particular 'AttributeDefinition
> id' :
>
> -- if Dependency1 (i.e. with sourceAttribute1) is no value
> -- then use Dependency2 (i.e. with sourceAttribute2).
>
> Is it possible in AttributeDefinition to have 2 Dependency (each with it's
> own sourceAttribute)?
>
> Or am I blowing smoke and should explore for other solution paths?
>
> Thanks.
> --
> For Consortium Member technical support, see
> https://wiki.shibboleth.net/confluence/x/coFAAg
> To unsubscribe from this list send an email to
> users-unsubscribe at shibboleth.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20180921/a1f98f35/attachment.html>
More information about the users
mailing list