Class PopulateOIDCMetadataContext
java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
org.opensaml.messaging.handler.AbstractMessageHandler
net.shibboleth.idp.plugin.oidc.op.oauth2.messaging.impl.PopulateOIDCMetadataContext
- All Implemented Interfaces:
Component,DestructableComponent,InitializableComponent,MessageHandler
A message handler that attempts to locate OIDC client information from the SAML entity descriptor containing role
descriptor of type
SPSSODescriptor. If it contains OIDCClientInformation in the
object metadata, it is attached inside OIDCMetadataContext as a child of the input MessageContext.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.slf4j.LoggerClass logger.private Function<MessageContext,SAMLMetadataContext> Set the strategy used to look up theSAMLMetadataContextto draw from. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoInvoke(MessageContext messageContext) voidSet the strategy used to look up theSAMLMetadataContextto draw from.Methods inherited from class org.opensaml.messaging.handler.AbstractMessageHandler
doPostInvoke, doPostInvoke, doPreInvoke, getActivationCondition, getLogPrefix, invoke, isPreInvokeCalled, setActivationConditionMethods inherited from class net.shibboleth.shared.component.AbstractInitializableComponent
checkComponentActive, checkSetterPreconditions, destroy, doDestroy, doInitialize, ifDestroyedThrowDestroyedComponentException, ifInitializedThrowUnmodifiabledComponentException, ifNotInitializedThrowUninitializedComponentException, initialize, isDestroyed, isInitializedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.shibboleth.shared.component.InitializableComponent
initialize, isInitialized
-
Field Details
-
log
@Nonnull private final org.slf4j.Logger logClass logger. -
samlMetadataContextLookupStrategy
Set the strategy used to look up theSAMLMetadataContextto draw from.
-
-
Constructor Details
-
PopulateOIDCMetadataContext
public PopulateOIDCMetadataContext()Constructor.
-
-
Method Details
-
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
- Specified by:
doInvokein classAbstractMessageHandler
-