Class UntrustedSchemaSourceException

  • All Implemented Interfaces:
    Serializable

    public class UntrustedSchemaSourceException
    extends EntityJsonException
    The instance cannot be validated because it refers to a schema from an untrusted source. The EntityJSON validator can operate in an unconstrained mode where it will download referenced schemas from any http or https URL, or a safe mode where it will only download from known hosts. This is because a malicious user could use the schema download as an attack vector. This exception indicates that a reference exists, either in the instance document itself or in a schema referenced from it directly or indirectly, to a URL from a host which is not one of the official registries of EntityJSON schemas.
    Author:
    Bruce Skingle
    See Also:
    Serialized Form