Custom persistence using existing storage service?

Cantor, Scott cantor.2 at osu.edu
Thu Jun 21 16:32:00 EDT 2018


On 6/21/18, 4:28 PM, "dev on behalf of O'Dowd, Josh" <dev-bounces at shibboleth.net on behalf of Josh.O'Dowd at mso.umt.edu> wrote:

> Our IdP implements memcached storage.  I need a persistence mechanism for storing a "trusted device ID" (or a
> collection of them) for a given principal name.  In browsing the "Persistence" page of the IdP Developer wiki, it would
> appear that it is permissible for me to leverage the existing memcached storage service, by creating a unique context
> namespace and then key on the principal name.  Just checking in to see if I can proceed with that, or should I be going a
> different route?

It's certainly permissible, the storage API is part of the public interface, just use a context like a Java package name and you won't have any risk of breakage.

-- Scott




More information about the dev mailing list