Class RelyingPartyContextLookupById
- java.lang.Object
-
- net.shibboleth.idp.profile.context.navigate.RelyingPartyContextLookupById
-
- All Implemented Interfaces:
Function<net.shibboleth.utilities.java.support.collection.Pair<MultiRelyingPartyContext,String>,RelyingPartyContext>
public class RelyingPartyContextLookupById extends Object implements Function<net.shibboleth.utilities.java.support.collection.Pair<MultiRelyingPartyContext,String>,RelyingPartyContext>
A function that returns aRelyingPartyContextbased on ID.If a label is provided, the context will be auto-created if it doesn't already exist.
-
-
Constructor Summary
Constructors Constructor Description RelyingPartyContextLookupById()Constructor.RelyingPartyContextLookupById(String theLabel)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RelyingPartyContextapply(net.shibboleth.utilities.java.support.collection.Pair<MultiRelyingPartyContext,String> input)
-
-
-
Field Detail
-
label
@Nullable private final String label
Label to use for auto-creation.
-
-
Constructor Detail
-
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 Detail
-
apply
@Nullable public RelyingPartyContext apply(@Nullable net.shibboleth.utilities.java.support.collection.Pair<MultiRelyingPartyContext,String> input)
- Specified by:
applyin interfaceFunction<net.shibboleth.utilities.java.support.collection.Pair<MultiRelyingPartyContext,String>,RelyingPartyContext>
-
-