Class RelyingPartyContextLookupById

java.lang.Object
net.shibboleth.idp.profile.context.navigate.RelyingPartyContextLookupById
All Implemented Interfaces:
BiFunction<MultiRelyingPartyContext,String,net.shibboleth.profile.context.RelyingPartyContext>

public class RelyingPartyContextLookupById extends Object implements BiFunction<MultiRelyingPartyContext,String,net.shibboleth.profile.context.RelyingPartyContext>
A BiFunction that returns a RelyingPartyContext based on ID.

If a label is provided, the context will be auto-created if it doesn't already exist.

  • Field Details

    • label

      @Nullable private final String label
      Label to use for auto-creation.
  • Constructor Details

    • RelyingPartyContextLookupById

      public RelyingPartyContextLookupById()
      Constructor.
    • RelyingPartyContextLookupById

      public RelyingPartyContextLookupById(@Nonnull @NotEmpty @ParameterName(name="theLabel") String theLabel)
      Constructor.
      Parameters:
      theLabel - indicates context should be created if not present, using this label
  • Method Details