regexsplit not returning attribute

Lipscomb, Gary glipscomb at csu.edu.au
Tue Nov 29 19:01:41 EST 2016


Hi all,

I can't seem to get the RegexSplit to work. When I run the regex through an online tester it produces the expected result 123456

Idp3.3.0 on RHEL 7

Also tried regex="[^:]*$" with the same result

  <!-- Created for sites that use the old definition of EPPN -->
  <AttributeDefinition id="EPPN-CSU" xsi:type="RegexSplit"
      sourceAttributeID="schacPersonalUniqueID"
      regex="^:]+[^:]*$">
    <Dependency ref="ldap" />
    <DisplayName xml:lang="en">Global Username (EPPN)</DisplayName>
    <AttributeEncoder xsi:type="SAML1String" name="urn:mace:dir:attribute-def:eduPersonPrincipalName" />
    <AttributeEncoder xsi:type="SAML2String" name="urn:oid:1.3.6.1.4.1.5923.1.1.1.6" friendlyName="eduPersonPrincipalName" />
  </AttributeDefinition>



2016-11-30 10:52:02,021 - DEBUG [net.shibboleth.idp.attribute.resolver.impl.AttributeResolverImpl:411] - Attribute Resolver 'ShibbolethAttributeResolv
er': Resolving dependencies for 'EPPN-CSU'
2016-11-30 10:52:02,021 - DEBUG [net.shibboleth.idp.attribute.resolver.impl.AttributeResolverImpl:427] - Attribute Resolver 'ShibbolethAttributeResolv
er': Finished resolving dependencies for 'EPPN-CSU'
2016-11-30 10:52:02,022 - DEBUG [net.shibboleth.idp.attribute.resolver.ad.impl.RegexSplitAttributeDefinition:115] - Attribute Definition 'EPPN-CSU': A
pplying regexp '^:]+[^:]*$' to input value 'urn:mace:terena.org:schac:personalUniqueID:au:csuid:123456'
2016-11-30 10:52:02,022 - DEBUG [net.shibboleth.idp.attribute.resolver.ad.impl.RegexSplitAttributeDefinition:122] - Attribute Definition 'EPPN-CSU': R
egexp '^:]+[^:]*$' did not match anything in input value 'urn:mace:terena.org:schac:personalUniqueID:au:csuid:123456'
2016-11-30 10:52:02,022 - DEBUG [net.shibboleth.idp.attribute.resolver.AbstractAttributeDefinition:245] - Attribute Definition 'EPPN-CSU': produced an
 attribute with no values
2016-11-30 10:52:02,022 - DEBUG [net.shibboleth.idp.attribute.resolver.impl.AttributeResolverImpl:308] - Attribute Resolver 'ShibbolethAttributeResolv
er': Attribute definition 'EPPN-CSU' produced an attribute with 0 values


regards

Gary

|   ALBURY-WODONGA   |   BATHURST   |   CANBERRA   |   DUBBO   |   GOULBURN   |   MELBOURNE   |   ONTARIO   |   ORANGE   |   PORT MACQUARIE   |   SYDNEY   |   WAGGA WAGGA   |

LEGAL NOTICE
This email (and any attachment) is confidential and is intended for the use of the addressee(s) only. If you are not the intended recipient of this email, you must not copy, distribute, take any action in reliance on it or disclose it to anyone. Any confidentiality is not waived or lost by reason of mistaken delivery. Email should be checked for viruses and defects before opening. Charles Sturt University (CSU) does not accept liability for viruses or any consequence which arise as a result of this email transmission. Email communications with CSU may be subject to automated email filtering, which could result in the delay or deletion of a legitimate email before it is read at CSU. The views expressed in this email are not necessarily those of CSU.
Charles Sturt University in Australia The Grange Chancellery, Panorama Avenue, Bathurst NSW Australia 2795 (ABN: 83 878 708 551; CRICOS Provider Number: 00005F (National)). TEQSA Provider Number: PV12018
Charles Sturt University in Ontario 860 Harrington Court, Burlington Ontario Canada L7N 3N4 Registration: peqab.ca.
Consider the environment before printing this email.


More information about the users mailing list