Regarding ClasspathResource
Rod Widdowson
rdw at steadingsoftware.com
Fri Jul 15 09:33:20 EDT 2016
> How to use the ClasspathResource here.
You need to explain more about which sort of Resources you need. OpenSAML only knows about n.s.u.j.s.resource.Resource, the IdP tends to think in terms of Spring Resources. So when you say ClasspathResource do you mean the Spring one?
In either case you should look at the spring-extensions projects in general, the package net.shibboleth.ext.spring.resource in particular and
net.shibboleth.ext.spring.resource.ResourceHelper#of(org.springframework.core.io.Resource)
for what you probably need.
/Rod
More information about the dev
mailing list