Class LocalOnlyResourceEntityResolver
java.lang.Object
org.springframework.beans.factory.xml.DelegatingEntityResolver
org.springframework.beans.factory.xml.ResourceEntityResolver
net.shibboleth.shared.spring.custom.LocalOnlyResourceEntityResolver
- All Implemented Interfaces:
EntityResolver
Modified copy of Spring's existing
ResourceEntityResolver class that
elides the fall-through logic allowing for http(s) resolution of entities.-
Field Summary
FieldsFields inherited from class org.springframework.beans.factory.xml.DelegatingEntityResolver
DTD_SUFFIX, XSD_SUFFIX -
Constructor Summary
ConstructorsConstructorDescriptionCreate a ResourceEntityResolver for the specified ResourceLoader (usually, an ApplicationContext). -
Method Summary
Modifier and TypeMethodDescriptionprotected InputSourceresolveSchemaEntity(String publicId, String systemId) Methods inherited from class org.springframework.beans.factory.xml.ResourceEntityResolver
resolveEntityMethods inherited from class org.springframework.beans.factory.xml.DelegatingEntityResolver
toString
-
Field Details
-
log
@Nonnull private final org.slf4j.Logger logClass logger.
-
-
Constructor Details
-
LocalOnlyResourceEntityResolver
Create a ResourceEntityResolver for the specified ResourceLoader (usually, an ApplicationContext).- Parameters:
loader- the ResourceLoader (or ApplicationContext) to load XML entity includes with
-
-
Method Details
-
resolveSchemaEntity
@Nullable protected InputSource resolveSchemaEntity(@Nullable String publicId, @Nonnull String systemId) - Overrides:
resolveSchemaEntityin classResourceEntityResolver
-