AttributeDefinition: Regex not woking
Losen, Stephen C. (scl)
scl at eservices.virginia.edu
Fri May 27 08:22:55 EDT 2016
Try using this for your regex: "uid=([^,]*),.*"
I think the regex must match the entire input string, at least that has been my experience.
Stephen C. Losen
ITS - Systems and Storage
University of Virginia
scl at virginia.edu 434-924-0640
From: users [mailto:users-bounces at shibboleth.net] On Behalf Of Marcel Kleiber
Sent: Friday, May 27, 2016 8:15 AM
To: Shib Users
Subject: AttributeDefinition: Regex not woking
We have a Regex not working in attrDef type ad:RegexSplit and as well in
the input is "uid=USZ:10001,ou=HcProfessional,o=HPDICW,dc=HPD"
the output shold be "USZ:10001"
the regex is "uid=([^,]*),"
In pure java this works by means of mapper.find(), it does not work by
means of mapper.matches().
I've read somewhere Shib uses mapper.matches() ?
Help is appreachated...
To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net
More information about the users