RegexSplit resolver returning no values

Morris, Andi amorris at cardiffmet.ac.uk
Fri Jan 29 07:03:27 EST 2016


Hi Rod,
Yes I've tried with and without the extra backslash.

I've wittled this down to something in the regex as when I put an even simpler expression in I get a value match. It's the incorrect one for what I want stripped out, but it's a value all the same. It then doesn't get encoded, so I'll probably also need some advice on the syntax to encode this attribute if necessary.

I changed it to regex="(.* ) (.*)" and I get:

11:46:24.402 - DEBUG [edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.ShibbolethAttributeResolver:314] - Resolving attribute PersonalRef for principal <redactedusername>
11:46:24.403 - DEBUG [edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.ShibbolethAttributeResolver:336] - Resolved attribute PersonalRef containing 1 values
11:46:24.441 - DEBUG [edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.ShibbolethAttributeResolver:473] - Attribute PersonalRef has 1 values after post-processing
11:46:24.443 - DEBUG [edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.ShibbolethAttributeResolver:137] - shibboleth.AttributeResolver resolved, for principal <redactedusername>, the attributes: [<....>, PersonalRef, <....>]
11:46:24.447 - DEBUG [edu.internet2.middleware.shibboleth.common.attribute.filtering.provider.ShibbolethAttributeFilteringEngine:163] - Processing permit value rule for attribute PersonalRef for principal <redactedusername>
11:46:24.449 - DEBUG [edu.internet2.middleware.shibboleth.common.attribute.filtering.provider.ShibbolethAttributeFilteringEngine:109] - Attribute PersonalRef has 1 values after filtering
11:46:24.451 - DEBUG [edu.internet2.middleware.shibboleth.common.attribute.filtering.provider.ShibbolethAttributeFilteringEngine:114] - Filtered attributes for principal <redactedusername>.  The following attributes remain: [<....> PersonalRef, <....>]
11:46:24.455 - DEBUG [edu.internet2.middleware.shibboleth.common.attribute.provider.ShibbolethSAML2AttributeAuthority:263] - Attribute PersonalRef was not encoded (filtered by query, or no SAML2AttributeEncoder attached).
11:46:24.463 - DEBUG [edu.internet2.middleware.shibboleth.idp.profile.AbstractSAMLProfileHandler:546] - Removing attribute PersonalRef, it can not be encoded via edu.internet2.middleware.shibboleth.common.attribute.encoding.SAML2NameIDEncoder

Cheers,
Andi

-----Original Message-----
From: users [mailto:users-bounces at shibboleth.net] On Behalf Of Rod Widdowson
Sent: 29 January 2016 11:44
To: 'Shib Users' <users at shibboleth.net>
Subject: RE: RegexSplit resolver returning no values

... and you've tried the extra (regex="(\\d{5})").

Apart from that, pass, someone the other side of the pond should be able to help.

I detest regexps and always have.....

/R

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

[Cardiff Metropolitan University - 150 years of nurturing talent]<http://www.cardiffmet.ac.uk/cardiffmet150>


More information about the users mailing list