public class ServerPropertyValidator extends Object implements ServiceAttributeValidator
Constructor and Description |
---|
ServerPropertyValidator() |
Modifier and Type | Method and Description |
---|---|
static String |
getFalseValue(String propertyKey)
Returns the false value of a property.
|
static String |
getTrueValue(String propertyKey)
Returns the true value of a property.
|
static void |
validate(Map<String,String> properties)
Validates a set of server configuration properties.
|
boolean |
validate(Set<String> properties)
Validates a set of server configuration properties.
|
static void |
validateProperty(Set<String> properties)
Validates a set of server configuration properties.
|
public boolean validate(Set<String> properties)
validate
in interface ServiceAttributeValidator
properties
- Set of String of this format name=value.public static void validateProperty(Set<String> properties) throws UnknownPropertyNameException, ConfigurationException
properties
- Set of String of this format name=value.UnknownPropertyNameException
- if property name is not valid.ConfigurationException
- if properties is not in proper format.public static void validate(Map<String,String> properties) throws UnknownPropertyNameException, ConfigurationException
properties
- Map of property name to value.UnknownPropertyNameException
- if property name is not valid.ConfigurationException
- if property name and value are not in
proper format.public static String getTrueValue(String propertyKey)
propertyKey
- Key of property.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.