Shibboleth idp 3 StoredPersistentId Issue

Juan Quintanilla jquin014 at fiu.edu
Mon Nov 23 10:19:22 EST 2015


Hi,

Recently I've been working on migrating our Shibboleth IDP V2 to IDP 3.1.2 and I was able to get everything working after making some adjustments to the configuration to support authentication.  I then began to clean up the configuration files to bring them up to the new IDP3 style which seem to work with no problem. Once I attempted to work with the StoredPersistentID I began running into issues.

I have followed the wiki on making sure the correct values were defined in the saml-nameid.properties and defining the bean for the idp.persistentId.store in the saml-nameid.xml file but for some reason I continue to get the error below "PersistentIdStore cannot be null" it is most likely an oversight on my part but I would really appreciate any suggestions on the error.

I have defined the bean within the <util:list id="shibboleth.SAML2NameIDGenerators"> of the saml-nameid.xml file and named it according to what is defined in the idp.persistentId.store. I have also created the sourced attribute with no encoders in the attribute-resolver.xml. 


2015-11-23 10:02:23,412 - 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 'shibboleth.SAML2NameIDGenerators': Cannot resolve reference to bean 'shibboleth.SAML2PersistentGenerator' while setting bean property 'sourceList' with key [1]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shibboleth.SAML2PersistentGenerator' defined in file [/opt/shibboleth-idp/system/conf/saml-nameid-system.xml]: Cannot resolve reference to bean 'shibboleth.StoredPersistentIdGenerator' while setting bean property 'persistentIdGenerator'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shibboleth.StoredPersistentIdGenerator' defined in file [/opt/shibboleth-idp/system/conf/saml-nameid-system.xml]: Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'IDStore' threw exception; nested exception is net.shibboleth.utilities.java.support.logic.ConstraintViolationException: PersistentIdStore cannot be null


Thanks!
___________________
Juan Quintanilla
jquin014 at fiu.edu


More information about the users mailing list