StoredID/persistentID only when used?

Simon Lundström simlu at su.se
Tue Sep 6 10:20:38 EDT 2016


Hi!

I found this <http://marc.info/?l=shibboleth-users&m=133243900920455&w=2>
mail and the answer was no then but I'll ask again to see if it's
changed.

Is it possible to make {stored,persistent}ID only to be generated, stored and
queried for in the DB when it's configured to be used with the SP that the
user is trying to login to?

Right now we have hundreds of thousands of entries in a MySQL DB which
will never be used.

As a side note, is it known that you get an NullPointerException when
the MySQL is too busy to answer (and I guess it closes the connection?):
ERROR [net.shibboleth.idp.saml.profile:-2] Uncaught runtime exception
#011java.lang.NullPointerException: null
#011at net.shibboleth.idp.saml.nameid.impl.JDBCPersistentIdStoreEx.getBySourceValue(JDBCPersistentIdStoreEx.java:615)
#011at net.shibboleth.idp.saml.nameid.impl.StoredPersistentIdGenerationStrategy.generate(StoredPersistentIdGenerationStrategy.java:160)
#011at net.shibboleth.idp.saml.attribute.resolver.impl.StoredIDDataConnector.doDataConnectorResolve(StoredIDDataConnector.java:230)
[…]
See full stacktrace at http://pastebin.com/S7Mtyfdf

BR,
- Simon

____________________________________

Simon Lundström
Section for Infrastructure

IT Services
Stockholm University
SE-106 91 Stockholm, Sweden

www.su.se/english/staff-info/it


More information about the users mailing list