public interface URLAccessRule
LOAD CSV
in Cypher).Modifier and Type | Method and Description |
---|---|
URL |
validate(Configuration configuration,
URL url)
Validate this rule against the specified URL and configuration, and throw a
URLAccessValidationError
if the URL is not permitted for access. |
URL validate(Configuration configuration, URL url) throws URLAccessValidationError
URLAccessValidationError
if the URL is not permitted for access.configuration
- Configuration
to validate the url
against.url
- the URL being validatedURLAccessValidationError
- thrown if the url does not pass the validation ruleCopyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.