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

Pascal Panneels pascal.panneels at belnet.be
Fri Jun 16 13:28:54 UTC 2023


Le 16/06/2023 à 14:00, Rod Widdowson a écrit :
>
> > 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 ?
>
> No, it’s defined in an xml file (security-system.xml) inside 
> idp-conf-impl.jar
>
> Given  that no one else is having this issue I’d look for a _file) 
> called security-system.xml lurking around somewhere either in your 
> classpath (edit-webapp) or in your conf folder.  ‘system’ should be empty.
>
>
well, I don't have any such file (security-system.xml) anywhere; as I 
said, I've started a fresh clean install to be sure to avoid problem 
with old/corrupted files.

these are the 2 consecutive messages (1 WARN and 1 ERR) I see in the logs :

-8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<--

2023-06-16 15:01:59,961 -  - WARN 
[net.shibboleth.ext.spring.context.FilesystemGenericApplicationContext:591] 
- Exception encountered during context initialization - cancelling 
refresh attempt: 
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

2023-06-16 15:01:59,965 -  - ERROR 
[net.shibboleth.utilities.java.support.service.AbstractReloadableService:182] 
- Service 'shibboleth.RelyingPartyResolverService': Initial load 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
    at 
net.shibboleth.ext.spring.service.ReloadableSpringService.doReload(ReloadableSpringService.java:377)
Caused by: 
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
    at 
org.springframework.beans.factory.support.AbstractBeanFactory.getMergedBeanDefinition(AbstractBeanFactory.java:1431)
Caused by: 
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean 
named 'shibboleth.BasicX509CredentialFactoryBean' available
    at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:874)

-8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<--

I've let the file credentials.xml untouched since it was created by the 
installer script.

My customizations were minimal (I've added the sources of metadata to 
download from which works fine + related used certificates).

I really just wanted to have a clean working installed idp, with 
currently, no customization at all, to enhance it step by step.


-- 
*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/b1c0d4d8/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/b1c0d4d8/attachment.p7s>


More information about the users mailing list