delegateTo

open override fun delegateTo(other: JwtProcessorRegistry)(source)

Sets other as the delegate registry for this registry.

After this call, any key look-up that finds no local match will be forwarded to other (and transitively to its own delegate, if any). The entire delegation chain is checked for cycles before the delegate is assigned.

Parameters

other

the registry to delegate to

Throws

if adding other as a delegate would create a cycle