org.owasp.esapi.configuration.consts.EsapiConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of esapi Show documentation
Show all versions of esapi Show documentation
The Enterprise Security API (ESAPI) project is an OWASP project
to create simple strong security controls for every web platform.
Security controls are not simple to build. You can read about the
hundreds of pitfalls for unwary developers on the OWASP website. By
providing developers with a set of strong controls, we aim to
eliminate some of the complexity of creating secure web applications.
This can result in significant cost savings across the SDLC.
package org.owasp.esapi.configuration.consts;
/**
* Enum used for initialization of esapi configuration files.
*
* @since 2.2
*/
public enum EsapiConfiguration {
OPSTEAM_ESAPI_CFG("org.owasp.esapi.opsteam", 1),
DEVTEAM_ESAPI_CFG("org.owasp.esapi.devteam", 2);
/**
* Key of system property pointing to path esapi to configuration file.
*/
String configName;
/**
* Priority of configuration (higher numer - higher priority).
*/
int priority;
EsapiConfiguration(String configName, int priority) {
this.configName = configName;
this.priority = priority;
}
public String getConfigName() {
return configName;
}
public int getPriority() {
return priority;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy