I am using Spring security SAML 1.0.3 Release version. I figured out a problem that if we upload a certificate for the IDP it does not get reflected in the Spring SAML. The problem seems to be with MetadataCredentialResolver where there is a cache Map
Map<MetadataCacheKey, SoftReference<Collection<Credential>>> cache;
It is picking the certificate from the cache and hence the newer uploaded cert is ignored. Is there a way I can reset the cache?