Class DefaultOIDCMetadataContextLookupFunction
- java.lang.Object
-
- net.shibboleth.idp.plugin.oidc.op.profile.context.navigate.DefaultOIDCMetadataContextLookupFunction
-
- All Implemented Interfaces:
Function<ProfileRequestContext,net.shibboleth.oidc.metadata.context.OIDCMetadataContext>,ContextDataLookupFunction<ProfileRequestContext,net.shibboleth.oidc.metadata.context.OIDCMetadataContext>
public class DefaultOIDCMetadataContextLookupFunction extends Object implements ContextDataLookupFunction<ProfileRequestContext,net.shibboleth.oidc.metadata.context.OIDCMetadataContext>
A function that returnsOIDCMetadataContext.
-
-
Field Summary
Fields Modifier and Type Field Description private booleaninboundUse the inbound message context.
-
Constructor Summary
Constructors Constructor Description DefaultOIDCMetadataContextLookupFunction()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description net.shibboleth.oidc.metadata.context.OIDCMetadataContextapply(ProfileRequestContext input)voidsetInbound(boolean flag)Sets whether to pull the subcontext from the inbound message context.
-
-
-
Method Detail
-
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
@Nullable public net.shibboleth.oidc.metadata.context.OIDCMetadataContext apply(@Nullable ProfileRequestContext input)- Specified by:
applyin interfaceFunction<ProfileRequestContext,net.shibboleth.oidc.metadata.context.OIDCMetadataContext>
-
-