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

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


hi,

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 
[net.shibboleth.utilities.java.support.service.AbstractReloadableService:232] 
- Service 'shibboleth.RelyingPartyResolverService': Reload for 
shibboleth.RelyingPartyResolverService failed
net.shibboleth.utilities.java.support.service.ServiceException: 
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
net/shibboleth/idp/profile/spring/factory/BasicX509CredentialFactoryBean.class

The file is well in the idp.war :

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

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

Any idea what is causing the problem ?

Tnx,

PP

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


More information about the users mailing list