Metadata secondary indexes

Cantor, Scott cantor.2 at osu.edu
Sun Oct 4 09:19:51 EDT 2015


On 10/2/15, 9:12 PM, "dev on behalf of Brent Putman" <dev-bounces at shibboleth.net on behalf of putmanb at georgetown.edu> wrote:



>That impl would be very useful if we can do scripted impls of those 2 functions.  I don't know how hard that is, but if it's easy, it would mean deployers could theoretically configue adhoc indexes right in config without having to write any Java, esp if the indexed info can be flattened out to a simple String, for which there is a common API SimpleStringMetadataIndexKey impl.

Missed your question...yes, it's pretty easy to do Scripted wrappers for any Function, you just have to decide what the scripting context needs to have in it.

One existing Function implementation with scripting is net.shibboleth.idp.profile.context.navigate.ScriptedContextLookupFunction, which I think Rod did, I don't think I've looked at it before. Fairly sophisticated example actually.

-- Scott



More information about the dev mailing list