FileCachingHttpClientFactory and IdP v4

Marco Malavolti marco.malavolti at garr.it
Tue Apr 28 12:00:51 EDT 2020


Thank you Scott!

Can you also update the documentation:
https://wiki.shibboleth.net/confluence/display/IDP4/HTTPResource

or, if you agree with me, I can update it with the following lines of
the example codes:

<bean id="MyHTTPClient" class="shibboleth.HttpClientFactory"

<bean id="MyHTTPClient" class="shibboleth.FileCachingHttpClientFactory"

into

<bean id="MyHTTPClient" parent="shibboleth.HttpClientFactory"

<bean id="MyHTTPClient" parent="shibboleth.FileCachingHttpClientFactory"


Now the code... works!

Best Regards,

-- 
Marco Malavolti
Consortium GARR - Servizio IDEM GARR AAI
Via dei Tizii, 6 - I-00185 (ROMA)
CF: 97284570583 - PI:07577141000
Mobile: +39 331 608 3639
Skype: marco.mala
PGP KEY: https://keys.openpgp.org/search?q=marco.malavolti@garr.it

Il 28/04/20 15:58, Cantor, Scott ha scritto:
> On 4/28/20, 9:56 AM, "users on behalf of Marco Malavolti" <users-bounces at shibboleth.net on behalf of marco.malavolti at garr.it> wrote:
>
>> The problem "java.lang.ClassNotFoundException:
>> shibboleth.FileCachingHttpClientFactory" is still present.
> That's not a class, that's a bean name. Use parent= to inherit from a bean, class= is used to directly create an instance of a Java class. Or <ref bean="name"/> to just reference a bean outright.
>
> -- Scott
>
>


More information about the users mailing list