<p dir="ltr">Thanks Rod.</p>
<p dir="ltr">Classpathresource I am mentioning is not the spring one.</p>
<p dir="ltr">Thanks,<br>
Punit</p>
<div class="gmail_quote">On 15-Jul-2016 7:03 pm, "Rod Widdowson" <<a href="mailto:rdw@steadingsoftware.com">rdw@steadingsoftware.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">> How to use the ClasspathResource here.<br>
<br>
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?<br>
<br>
In either case you should look at the spring-extensions projects in general, the package net.shibboleth.ext.spring.resource in particular and<br>
<br>
net.shibboleth.ext.spring.resource.ResourceHelper#of(org.springframework.core.io.Resource)<br>
<br>
for what you probably need.<br>
<br>
/Rod<br>
<br>
--<br>
To unsubscribe from this list send an email to <a href="mailto:dev-unsubscribe@shibboleth.net">dev-unsubscribe@shibboleth.net</a><br>
</blockquote></div>