com.atlassian.jira.util.xml
Class SecureXmlEntityResolver
java.lang.Object
com.atlassian.jira.util.xml.SecureXmlEntityResolver
- All Implemented Interfaces:
- EntityResolver
public final class SecureXmlEntityResolver
- extends Object
- implements EntityResolver
An EntityResolver that refuses to resolve references to external xml entities by unconditionally returning an
InputSource wrapping an empty InputStream.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecureXmlEntityResolver
public SecureXmlEntityResolver()
resolveEntity
public InputSource resolveEntity(String publicId,
String systemId)
- Specified by:
resolveEntity
in interface EntityResolver
Copyright © 2002-2012 Atlassian. All Rights Reserved.