NativeSP 2.5.5 Attribute Transforming

O'Dowd, Josh Josh.O'Dowd at mso.umt.edu
Fri Oct 23 17:11:19 EDT 2015


Sorry, just an additional follow-up...

I am seeing the following DEBUG entry in the shibd log:
...applying transform from source attribute (uid) to dest attribute (differentName)

.. this from a config as follows
<AttributeResolver type="Transform" source="uid">
	<Regex match="^(.{8})" dest="differentName">$1</Regex>
</AttributeResolver>

I am just not seeing "differentName" in the request.

-Josh

-----Original Message-----
From: users [mailto:users-bounces at shibboleth.net] On Behalf Of Cantor, Scott
Sent: Friday, October 23, 2015 2:22 PM
To: Shib Users <users at shibboleth.net>
Subject: Re: NativeSP 2.5.5 Attribute Transforming

On 10/23/15, 4:04 PM, "users on behalf of O'Dowd, Josh" <users-bounces at shibboleth.net on behalf of Josh.O'Dowd at mso.umt.edu> wrote:

>While I have confirmed the regex is grouping a proper 8 character match, the ‘uid’ attribute value is not being transformed and is arriving at the application with its original value.

I don't recall whether it has defined behavior to use the same source and dest, but the intended way to signal you want replacement is to omit dest from the matching rule.

What I would expect it might do is create an additional uid attribute with the new value and the header would contain both, but it may well just not work.

-- Scott

-- 
To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net


More information about the users mailing list