Class EsapiPropertyManager

  • All Implemented Interfaces:
    EsapiPropertyLoader

    public class EsapiPropertyManager
    extends java.lang.Object
    implements EsapiPropertyLoader
    Manager used for loading security configuration properties. Does all the logic to obtain the correct property from correct source. Uses following system properties to find configuration files:
     - org.owasp.esapi.devteam - lower priority dev file path
     - org.owasp.esapi.opsteam - higher priority ops file path
     
    Since:
    2.2
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Boolean getBooleanProp​(java.lang.String propertyName)
      Get any Boolean type property from security configuration.
      byte[] getByteArrayProp​(java.lang.String propertyName)
      Get any byte array type property from security configuration.
      int getIntProp​(java.lang.String propertyName)
      Get any int type property from security configuration.
      java.lang.String getStringProp​(java.lang.String propertyName)
      Get any property from security configuration.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EsapiPropertyManager

        public EsapiPropertyManager()
                             throws java.io.IOException
        Throws:
        java.io.IOException