This describes a method that maintains persistent ids in local, independent, postgres databases. Automatic synchronicity is maintained due to each host updating its own database exactly the same for any combination of user and RP. In addition it allows for editing of persistent ids and the association of a persistent id with all members of an RP 'cluster'.
Database
The database consists of a table for relying parties and a table for the persistent id (tgtids).
...
xxx..xxx == 'salt1'||$1||my_rpno||'salt2'
Maintenance of the rp table
Any relying party that gets a persistent id in any way must be preloaded into the rp table, and that all hosts must have the same rpno/rpid associations. At UW we have a script that parses the attribute filter file whenever it changes. That's as good a place as any to automate the process.
Attribute Resolver Configuration
The data connector for the persistent id is now a simple relational database connector.
...