The Spring Resource framework is an abstraction for obtaining an InputStream, regardless of where the bytes come from. Implementations of a Spring Resource include: FileResource, JarResource, ClassPathResource, ServletContextResource, etc.
AuthenticatedResource is a PASS-specific Resource implementation extending the Spring UrlResource. AuthenticatedResource preemptively supplies Basic authentication credentials when performing HTTP GET.
This PR updates the underlying URLConnection of the AuthenticatedResource to follow HTTP redirects.
The Spring Resource framework is an abstraction for obtaining an
InputStream
, regardless of where the bytes come from. Implementations of a SpringResource
include:FileResource
,JarResource
,ClassPathResource
,ServletContextResource
, etc.AuthenticatedResource
is a PASS-specificResource
implementation extending the SpringUrlResource
.AuthenticatedResource
preemptively supplies Basic authentication credentials when performing HTTP GET.This PR updates the underlying
URLConnection
of theAuthenticatedResource
to follow HTTP redirects.