release one attribute value of many or regex
Cantor, Scott
cantor.2 at osu.edu
Thu Oct 1 17:37:40 EDT 2015
On 10/1/15, 5:11 PM, "users on behalf of Olga Terlyga" <users-bounces at shibboleth.net on behalf of terlyga at fnal.gov> wrote:
>In this case, for regular users I get one value for the attribute, and for special principals I get two (second being 'none'). I want to be able to either release only first value for special principals (and regular, since there is only one anyway) OR craft regex that would capture all strings except the ones with ';' in them.
I think that's what the DefaultValue option is for.
<!-- if the name is not in the expected format, just return it as-is -->
<DefaultValue passThru="true" />
See https://wiki.shibboleth.net/confluence/display/SHIB2/ResolverMappedAttributeDefinition
-- Scott
More information about the users
mailing list