shibboleth.StoredPersistentIdGenerator and shibboleth.JPAStorageService ?

Paul Engle pengle at rice.edu
Mon Jul 6 14:02:15 EDT 2015


On 7/2/2015 1:58 PM, Liam Hoekenga wrote:
> Is it possible to share a database connection pool between the
> StoredPersistentIdGenerator and the the JPAStorageService I'm using to
> store release consent?
> 
> Liam
> 
> 

Yep, that's what I've done with ours. I just put both tables in the same
database instance, followed the excellent JPAStorageService
documentation and set up the persistentId thusly:

In saml-nameid.xml:

    <!-- Store for persistent IDs -->
    <bean id="RicePersistentStore"
class="net.shibboleth.idp.saml.nameid.impl.JDBCPersistentIdStore">
        <property name="dataSource"
ref="shibboleth.JPAStorageService.DataSource" />
    </bean>

and then in saml-nameid.properties:

idp.persistentId.store = RicePersistentStore



  -paul


-- 
Paul D. Engle              |  Rice University
Systems Administrator III  |  Information Technology - MS119
(713)348-4702              |  PO Box 1892
pengle at rice.edu            |  Houston, TX 77252-1892


More information about the users mailing list