No bean named 'shibboleth.BasicX509CredentialFactoryBean' available in v4.3.1

Pascal Panneels pascal.panneels at
Fri Jun 16 11:51:49 UTC 2023


While trying to update a Shibboleth IdP (from version 4.1.0) to latest 
4.3.1, I was receiving these kind of errors in idp-warn/idp-process log 
files :

2023-06-16 13:29:12,697 -  - ERROR 
- Service 'shibboleth.RelyingPartyResolverService': Reload for 
shibboleth.RelyingPartyResolverService failed 
org.springframework.beans.factory.BeanDefinitionStoreException: Invalid 
bean definition with name 'shibboleth.DefaultSigningCredential' defined 
in file [/opt/shibboleth-idp/conf/credentials.xml]: Could not resolve 
parent bean definition 'shibboleth.BasicX509CredentialFactoryBean'; 
nested exception is 
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean 
named 'shibboleth.BasicX509CredentialFactoryBean' available

I've also tried to reinstall from scratch (thus doing a fresh clean 
install), but still the same problem.

It seems that the shibboleth.BasicX509CredentialFactoryBean is nowhere 
to be found from what the message is saying...

If I'm correct, it should reside somewhere in the jar file 
idp-profile-spring-4.3.1.jar, right ?

root at idp-staff-duo:/opt/shibboleth-idp/dist/webapp/WEB-INF/lib# jar -tf 
idp-profile-spring-4.3.1.jar | grep BasicX509CredentialFactoryBean

The file is well in the idp.war :

root at idp-staff-duo:/opt/shibboleth-idp/war# jar -tf idp.war | grep 

(maybe my debugging method is not correct but I'm at level 0.00001 in 
Java ;) )

Any idea what is causing the problem ?



*Pascal Panneels*
System Architect
Belnet - Services
Simon Bolivarlaan 30 Boulevard Simon Bolivar
Brussel 1000 Bruxelles
België - Belgique
T: +32 2 790 33 33
* <>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4846 bytes
Desc: Signature cryptographique S/MIME
URL: <>

More information about the users mailing list