Shibboleth idp 3 StoredPersistentId Issue
Juan Quintanilla
jquin014 at fiu.edu
Mon Nov 23 11:39:21 EST 2015
Correct I plan to get it to 3.2.0 I just want to get everything cleaned up before I add another upgrade to the mix. So after I've made that change I received the following error:
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shibboleth.StoredPersistentIdGenerator' defined in file [/opt/shibboleth-idp/system/conf/saml-nameid-system.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanExpressionException: Expression parsing failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'MyPersistentIdStore' defined in file [/opt/shibboleth-idp/conf/saml-nameid.xml]: Cannot create inner bean 'org.apache.commons.dbcp2.BasicDataSource#44a03c6' of type [org.apache.commons.dbcp2.BasicDataSource] while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.apache.commons.dbcp2.BasicDataSource] for bean with name 'org.apache.commons.dbcp2.BasicDataSource#44a03c6' defined in file [/opt/shibboleth-idp/conf/saml-nameid.xml]; nested exception is java.lang.ClassNotFoundException: org.apache.commons.dbcp2.BasicDataSource
I assume this will require me to add the commons-dbcp2-2.1.1.jar to the lib folder on Shibboleth and run the build command.
Thanks!
___________________
Juan Quintanilla
UTS - Enterprise Group
305-348-6573
jquin014 at fiu.edu
________________________________________
From: users <users-bounces at shibboleth.net> on behalf of Cantor, Scott <cantor.2 at osu.edu>
Sent: Monday, November 23, 2015 10:59 AM
To: Shib Users
Subject: Re: Shibboleth idp 3 StoredPersistentId Issue
On 11/23/15, 10:19 AM, "users on behalf of Juan Quintanilla" <users-bounces at shibboleth.net on behalf of jquin014 at fiu.edu> wrote:
>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.
You need to get to 3.2.0 to use that feature safely.
>I have defined the bean within the <util:list id="shibboleth.SAML2NameIDGenerators"> of the saml-nameid.xml file
It has to be declared outside that list. It isn't a generator.
-- Scott
--
To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net
More information about the users
mailing list