Class PopulateOIDCMetadataContext
- java.lang.Object
-
- net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
-
- org.opensaml.messaging.handler.AbstractMessageHandler
-
- net.shibboleth.idp.plugin.oidc.op.oauth2.messaging.impl.PopulateOIDCMetadataContext
-
- All Implemented Interfaces:
Component,DestructableComponent,InitializableComponent,MessageHandler
public class PopulateOIDCMetadataContext extends AbstractMessageHandler
A message handler that attempts to locate OIDC client information from the SAML entity descriptor containing role descriptor of typeSPSSODescriptor. If it containsOIDCClientInformationin the object metadata, it is attached insideOIDCMetadataContextas a child of the inputMessageContext.
-
-
Field Summary
Fields Modifier and Type Field Description private org.slf4j.LoggerlogClass logger.private Function<MessageContext,SAMLMetadataContext>samlMetadataContextLookupStrategySet the strategy used to look up theSAMLMetadataContextto draw from.
-
Constructor Summary
Constructors Constructor Description PopulateOIDCMetadataContext()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoInvoke(MessageContext messageContext)voidsetSAMLMetadataContextLookupStrategy(Function<MessageContext,SAMLMetadataContext> strategy)Set the strategy used to look up theSAMLMetadataContextto draw from.-
Methods inherited from class org.opensaml.messaging.handler.AbstractMessageHandler
doPostInvoke, doPostInvoke, doPreInvoke, getActivationCondition, getLogPrefix, invoke, setActivationCondition
-
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
destroy, doDestroy, doInitialize, initialize, isDestroyed, isInitialized
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.shibboleth.utilities.java.support.component.InitializableComponent
initialize, isInitialized
-
-
-
-
Field Detail
-
log
@Nonnull private final org.slf4j.Logger log
Class logger.
-
samlMetadataContextLookupStrategy
@Nonnull private Function<MessageContext,SAMLMetadataContext> samlMetadataContextLookupStrategy
Set the strategy used to look up theSAMLMetadataContextto draw from.
-
-
Method Detail
-
setSAMLMetadataContextLookupStrategy
public void setSAMLMetadataContextLookupStrategy(@Nonnull Function<MessageContext,SAMLMetadataContext> strategy)Set the strategy used to look up theSAMLMetadataContextto draw from.- Parameters:
strategy- strategy used to look up theSAMLMetadataContext
-
doInvoke
protected void doInvoke(@Nonnull MessageContext messageContext)- Specified by:
doInvokein classAbstractMessageHandler
-
-