public class RelaxedExternalResourceSecurity extends Object implements ExternalResourceSecurity
ExternalResourceSecurity allows any
external references.| Constructor and Description |
|---|
RelaxedExternalResourceSecurity(ParsedURL externalResourceURL,
ParsedURL docURL) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkLoadExternalResource()
Controls whether the externalResource should be loaded or not.
|
public RelaxedExternalResourceSecurity(ParsedURL externalResourceURL, ParsedURL docURL)
externalResourceURL - url for the externalResource, as defined in
the externalResource's xlink:href attribute. If that
attribute was empty, then this parameter should
be nulldocURL - url for the document into which the
externalResource was found.public void checkLoadExternalResource()
checkLoadExternalResource in interface ExternalResourceSecuritySecurityException - if the externalResource should not be loaded.Copyright © 2000–2021 Apache Software Foundation. All rights reserved.