Interface EsapiPropertyLoader

    • Method Summary

      All Methods Instance Methods Abstract 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.
    • Method Detail

      • getIntProp

        int getIntProp​(java.lang.String propertyName)
                throws ConfigurationException
        Get any int type property from security configuration.
        Returns:
        property value.
        Throws:
        ConfigurationException - when property does not exist in configuration or has incorrect type.
      • getByteArrayProp

        byte[] getByteArrayProp​(java.lang.String propertyName)
                         throws ConfigurationException
        Get any byte array type property from security configuration.
        Returns:
        property value.
        Throws:
        ConfigurationException - when property does not exist in configuration or has incorrect type.
      • getBooleanProp

        java.lang.Boolean getBooleanProp​(java.lang.String propertyName)
                                  throws ConfigurationException
        Get any Boolean type property from security configuration.
        Returns:
        property value.
        Throws:
        ConfigurationException - when property does not exist in configuration or has incorrect type.
      • getStringProp

        java.lang.String getStringProp​(java.lang.String propertyName)
                                throws ConfigurationException
        Get any property from security configuration. As every property can be returned as string, this method throws exception only when property does not exist.
        Returns:
        property value.
        Throws:
        ConfigurationException - when property does not exist in configuration.