template attribute definition possible bug?
Athanasios Douitsis
aduitsis at gmail.com
Mon Nov 2 15:25:02 EST 2015
Hello again,
It doesn't, unfortunately. If I could use the attributes from the LDAP
directly in the template attribute, it would all be fine.
Unfortunately, the attributes in question may or may not be set for any
account. In case any source attribute is missing, the template as you know
fails because the number of each source attribute values is different. What
I want instead is the missing attribute to assume a default value, which is
a feature the mapped attribute offers nicely.
So basically, the ldap contains e.g. attr1 and attr2 which may be or may
not be there, I am trying to use two mapped attributes to make sure that
there always is a value for each of those attributes, then I want to use
the velocity engine to mix those attributes in a string or something. At
this point I'm unsure this is possible, but based on what you've said, I'm
beginning to suspect it isn't.
Cheers,
Athanasios
On Mon, Nov 2, 2015 at 8:27 PM, Peter Schober <peter.schober at univie.ac.at>
wrote:
> * Athanasios Douitsis <aduitsis at gmail.com> [2015-11-02 18:48]:
> > Both mapped attributes point to the same single LDAP connector. This
> > doesn't make sense, I should get only one value, val1:val2
>
> So does it behave as expected when you only have one dependency and
> that's on the DataConnector providing those two (LDAP) atttibutes?
> -peter
> --
> To unsubscribe from this list send an email to
> users-unsubscribe at shibboleth.net
>
--
Athanasios Douitsis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20151102/4d4bc130/attachment.html>
More information about the users
mailing list