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, invoke
destroy, doDestroy, initialize, isDestroyed, isInitialized
public 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.AbstractInitializableComponent
net.shibboleth.utilities.java.support.component.ComponentInitializationException
protected void doInvoke(@Nonnull MessageContext messageContext) throws MessageHandlerException
doInvoke
in class AbstractMessageHandler
messageContext
- the message context on which to invoke the handlerMessageHandlerException
- if there is an error invoking the handler on the message contextCopyright © 2017. All rights reserved.