Creating a multivalued attribute from RegexSplit type of AttributeDefinition

Martin B. Smith smithmb at
Thu Sep 1 20:59:50 BST 2011

Hello all,

I'm about to define some new attributes in our IdP (2.1.x, with 2.3.x in 
the near term), and I'm hoping to take an existing String I have, and 
split it into a multivalued attribute. The string looks like: 
"foo at$bar at$....$"

I went and browsed the wiki, and figured I'd try to use the RegexSplit 
resolver as documented at ResolverRegexSplitAttributeDefinition.

But, now that I'm doing it, I'm noticing the documentation says that it 
will only produce the _first_ matching group. Can someone confirm with 
me that this resolver in fact isn't going to be useful for my use case? 
It seems that this resolver doesn't actually split anything so much as 
match a single value and extract it.

Would you agree I'm probably going to have to write a script using the 
Script attribute resolver for this one? The irony here for me is I'm 
going to use String#split() in Java for this (vs. the split-ing resolver 

Thanks in advance,
Martin B. Smith
smithmb at - (352) 273-1374
CNS/Open Systems Group
University of Florida

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5129 bytes
Desc: S/MIME Cryptographic Signature
Url : 

More information about the users mailing list