StioredTransientIdGenerator

Nanda Kumar NKK at FISCHERINTERNATIONAL.COM
Mon Dec 19 10:06:37 EST 2016


Hi,
  I edited saml-nameid.properties file like so

 idp.transientId.generator = shibboleth.StoredTransientIdGenerator

and added the following line to saml-nameid.xml

<util:list id=\"shibboleth.SAML2NameIDGenerators\">
<ref bean="shibboleth.StoredTransientIdGenerator"/>
</util:list>

On starting IdP the following error is seen in the logs:

2016-12-14 15:49:47,197 - WARN [net.shibboleth.ext.spring.context.FilesystemGenericApplicationContext:545] - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'net.shibboleth.idp.saml.nameid.impl.NameIdentifierGenerationServiceImpl#0' defined in file [/home/rhenninger/IdP/system/conf/saml-nameid-system.xml]: Cannot create inner bean 'org.opensaml.saml.saml2.profile.impl.ChainingSAML2NameIDGenerator#61e4438c' of type [org.opensaml.saml.saml2.profile.impl.ChainingSAML2NameIDGenerator] while setting bean property 'SAML2NameIDGenerator'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.opensaml.saml.saml2.profile.impl.ChainingSAML2NameIDGenerator#61e4438c' defined in file [/home/rhenninger/IdP/system/conf/saml-nameid-system.xml]: Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'java.util.ArrayList' to required type 'java.util.List' for property 'generators'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [net.shibboleth.idp.saml.nameid.impl.StoredTransientIdGenerationStrategy] to required type [org.opensaml.saml.common.profile.NameIdentifierGenerator] for property 'generators[0]': no matching editors or conversion strategy found
2016-12-14 15:49:47,207 - ERROR [net.shibboleth.utilities.java.support.service.AbstractReloadableService:181] - Service 'shibboleth.NameIdentifierGenerationService': Initial load failed
net.shibboleth.utilities.java.support.service.ServiceException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'net.shibboleth.idp.saml.nameid.impl.NameIdentifierGenerationServiceImpl#0' defined in file [/home/rhenninger/IdP/system/conf/saml-nameid-system.xml]: Cannot create inner bean 'org.opensaml.saml.saml2.profile.impl.ChainingSAML2NameIDGenerator#61e4438c' of type [org.opensaml.saml.saml2.profile.impl.ChainingSAML2NameIDGenerator] while setting bean property 'SAML2NameIDGenerator'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.opensaml.saml.saml2.profile.impl.ChainingSAML2NameIDGenerator#61e4438c' defined in file [/home/rhenninger/IdP/system/conf/saml-nameid-system.xml]: Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'java.util.ArrayList' to required type 'java.util.List' for property 'generators'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [net.shibboleth.idp.saml.nameid.impl.StoredTransientIdGenerationStrategy] to required type [org.opensaml.saml.common.profile.NameIdentifierGenerator] for property 'generators[0]': no matching editors or conversion strategy found

What could be wrong?

Nanda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20161219/e6627043/attachment.html>


More information about the users mailing list