public class ListValueValidator extends Object implements ServiceAttributeValidator
com.sun.identity.agents.config.login.form[0]=
List values should be Strings of the form:
[0] = some value
[1] = some value
[some sequential index] = some value
etc
l.h.s is index value surrounded by brackets
separator is mandatory "=" equals sign
r.h.s is some string value, anything since this is not so fined
grained to test values of any one specific property's value set.
index value should be an integer >= 0
index values can not be duplicates
index values collectively can contain missing mubers
white space is allowed everywhere (except between digits of index value)
blank or empty values are allowed as some props dont have any value
to be specified
Some examples that would be acceptable values:
blank or empty set
[0] = (note no value on r.h.s)Constructor and Description |
---|
ListValueValidator() |
Modifier and Type | Method and Description |
---|---|
boolean |
validate(Set<String> values)
Returns
true if values are of list typed. |
public boolean validate(Set<String> values)
true
if values are of list typed.validate
in interface ServiceAttributeValidator
values
- the set of values to be validatedtrue
if values are of list format type.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.