public class EsapiPropertyManager extends Object implements EsapiPropertyLoader
Modifier and Type | Field and Description |
---|---|
protected TreeSet<AbstractPrioritizedPropertyLoader> |
loaders |
Constructor and Description |
---|
EsapiPropertyManager() |
Modifier and Type | Method and Description |
---|---|
Boolean |
getBooleanProp(String propertyName)
Get any Boolean type property from security configuration.
|
byte[] |
getByteArrayProp(String propertyName)
Get any byte array type property from security configuration.
|
int |
getIntProp(String propertyName)
Get any int type property from security configuration.
|
String |
getStringProp(String propertyName)
Get any property from security configuration.
|
protected TreeSet<AbstractPrioritizedPropertyLoader> loaders
public int getIntProp(String propertyName) throws ConfigurationException
getIntProp
in interface EsapiPropertyLoader
ConfigurationException
- when property does not exist in configuration or has incorrect type.public byte[] getByteArrayProp(String propertyName) throws ConfigurationException
getByteArrayProp
in interface EsapiPropertyLoader
ConfigurationException
- when property does not exist in configuration or has incorrect type.public Boolean getBooleanProp(String propertyName) throws ConfigurationException
getBooleanProp
in interface EsapiPropertyLoader
ConfigurationException
- when property does not exist in configuration or has incorrect type.public String getStringProp(String propertyName) throws ConfigurationException
getStringProp
in interface EsapiPropertyLoader
ConfigurationException
- when property does not exist in configuration.Copyright © 2016 The Open Web Application Security Project (OWASP). All rights reserved.