public class SAMLMetadataLookupHandler extends AbstractMessageHandler
SAMLMetadataContext as a child of the
pre-existing SAMLPeerEntityContext.
The handler will no-op in the absence of a populated SAMLPeerEntityContext for
the message with an entityID and role to look up. A protocol from a SAMLProtocolContext
will be added to the lookup, if available.
| Constructor and Description |
|---|
SAMLMetadataLookupHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doInitialize() |
protected void |
doInvoke(MessageContext messageContext)
Performs the handler logic.
|
void |
setRoleDescriptorResolver(RoleDescriptorResolver resolver)
Set the
RoleDescriptorResolver to use. |
doPostInvoke, doPostInvoke, doPreInvoke, getLogPrefix, invokedestroy, doDestroy, initialize, isDestroyed, isInitializedpublic void setRoleDescriptorResolver(@Nonnull RoleDescriptorResolver resolver)
RoleDescriptorResolver to use.resolver - the resolver to useprotected void doInitialize()
throws net.shibboleth.utilities.java.support.component.ComponentInitializationException
doInitialize in class net.shibboleth.utilities.java.support.component.AbstractInitializableComponentnet.shibboleth.utilities.java.support.component.ComponentInitializationExceptionprotected void doInvoke(@Nonnull MessageContext messageContext) throws MessageHandlerException
doInvoke in class AbstractMessageHandlermessageContext - the message context on which to invoke the handlerMessageHandlerException - if there is an error invoking the handler on the message contextCopyright © 2021. All rights reserved.