- All Implemented Interfaces:
ServiceAttributeValidator
public class GlobalMapValueValidator
extends Object
implements ServiceAttributeValidator
Validates Global Map property value in Agent Properties.
These "Global" Map properties are just like Map properties,
except they ALSO allow you to specify one global value as the default for
the property, so when a key is not specified so mapping exists, then
this global value is used.
e.g.
com.sun.identity.agents.config.someglobalmapprop=somevalue
Note, can have only *one* global value:
-where value has no brackets or context root key and is just a value
-also allow a global value format: "=SomeValue" etc, which
includes an equal sign since in property file style an entry like
com.sun.someprop=ALL would have a value "=SomeValue"
-can not have a blank r.h.s like "= "
-can not have space inside characters of r.h.s, like "= some space"
This validator accepts all the values accepted by MapValueValidator and
additionally accepts global format style values.
See the MapValueValidator.java class for non global map
regular expressions and examples of acceptable values.