Class DefaultOIDCMetadataContextLookupFunction
java.lang.Object
net.shibboleth.idp.plugin.oidc.op.profile.context.navigate.DefaultOIDCMetadataContextLookupFunction
- All Implemented Interfaces:
Function<ProfileRequestContext,,OIDCMetadataContext> ContextDataLookupFunction<ProfileRequestContext,OIDCMetadataContext>
public class DefaultOIDCMetadataContextLookupFunction
extends Object
implements ContextDataLookupFunction<ProfileRequestContext,OIDCMetadataContext>
A function that returns
OIDCMetadataContext.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(ProfileRequestContext input) voidsetInbound(boolean flag) Sets whether to pull the subcontext from the inbound message context.
-
Field Details
-
inbound
private boolean inboundUse the inbound message context.
-
-
Constructor Details
-
DefaultOIDCMetadataContextLookupFunction
public DefaultOIDCMetadataContextLookupFunction()Constructor.
-
-
Method Details
-
setInbound
public void setInbound(boolean flag) Sets whether to pull the subcontext from the inbound message context.Default is true. False means to use the outbound context.
- Parameters:
flag- What to set.
-
apply
- Specified by:
applyin interfaceFunction<ProfileRequestContext,OIDCMetadataContext>
-