|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectsmbdav.BlockedEntityResolver
Entity resolver which prevents external entities from being referenced. This is used to prevent various XML-based attacks.
| Field Summary | |
static BlockedEntityResolver |
INSTANCE
Singleton resolver instance. |
| Method Summary | |
org.xml.sax.InputSource |
resolveEntity(java.lang.String publicId,
java.lang.String systemId)
Returns an empty stream in response to an attempt to resolve an external entity, and logs a warning. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final BlockedEntityResolver INSTANCE
| Method Detail |
public org.xml.sax.InputSource resolveEntity(java.lang.String publicId,
java.lang.String systemId)
resolveEntity in interface org.xml.sax.EntityResolverpublicId - The public identifier of the external entity.systemId - The system identifier of the external entity.
InputSource.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||