AW: PersistentId / principalName
Ortner Nikolaus
N.Ortner at fh-kaernten.at
Fri Jul 6 02:50:54 EDT 2012
> There's a method StoredIDDataConnector.getStoredId(String principalName,
> String localEntityId, String peerEntityId, String localId) and it could do some
> kind of:
> PersistentIdEntry idEntry
> =pidStore.getActivePersistentIdEntry(localEntityId, peerEntityId, localId);
> If(idEntry!= null && !principalName.equals(idEntry. getPrincipalName()) {
> throw new AttributeResolutionException("blah blah");
> }
Sorry, please forget it - this won't work if a user can use two user-accounts.
It's vital that I keep the database table holding the persistentId up-to-date and consistent.
Regards,
Nikolaus Ortner
More information about the users
mailing list