Details
-
Improvement
-
Resolution: Fixed
-
Minor
-
None
-
None
-
None
Description
olivier salaun
We use group attribute validator to contrain the group names format as follows :
group.attribute.validator.attributeName.0=extension
group.attribute.validator.regex.0=^[a-zA-Z0-9-_.@]+$
{{group.attribute.validator.vetoMessage.0=Le format du nom de groupe ne respecte pas les contraintes ; les espaces sont interdits}}But his applies to group names only, not stems.We also need to restrict format of stem names.
I tries this:
group.attribute.validator.attributeName.1=name
group.attribute.validator.regex.1=^[a-zA-Z0-9-_.@](:[a-zA-Z0-9-_.@])*$}}It does forbid group creation if the parent stems don't comply to our rules, but still does not restrict stem name format at stem creation time.I did not find mention of{{stem.attribute.validator in the default grouper.base.properties.
Is there a way to perform that check? (edited)