AttributeDefinition: Regex not woking

Marcel Kleiber marcel.kleiber at h-net.ch
Fri May 27 08:14:06 EDT 2016


Hi

We have a Regex not working in attrDef type ad:RegexSplit and as well in 
type ad:Mapped

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...
Marcel


More information about the users mailing list