public class NoLoadExternalResourceSecurity extends Object implements ExternalResourceSecurity
Modifier and Type | Field and Description |
---|---|
static String |
ERROR_NO_EXTERNAL_RESOURCE_ALLOWED
Message when trying to load an external resource
|
protected SecurityException |
se
The exception is built in the constructor and thrown if
not null and the checkLoadExternalResource method is called.
|
Constructor and Description |
---|
NoLoadExternalResourceSecurity() |
public static final String ERROR_NO_EXTERNAL_RESOURCE_ALLOWED
protected SecurityException se
public void checkLoadExternalResource()
checkLoadExternalResource
in interface ExternalResourceSecurity
SecurityException
- if the externalResource should not be loaded.Copyright ? 2009 Apache Software Foundation. All Rights Reserved.