Class XmlEsapiPropertyLoader

    • Constructor Detail

      • XmlEsapiPropertyLoader

        public XmlEsapiPropertyLoader​(java.lang.String filename,
                                      int priority)
                               throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • getIntProp

        public 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

        public 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

        public 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

        public 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.