public class SAMLMetadataLookupHandler
extends org.opensaml.messaging.handler.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()
Performs the initialization of the component.
|
protected void |
doInvoke(org.opensaml.messaging.context.MessageContext messageContext) |
void |
setRoleDescriptorResolver(RoleDescriptorResolver resolver)
Set the
RoleDescriptorResolver to use. |
doPostInvoke, doPostInvoke, doPreInvoke, getLogPrefix, invoke
destroy, doDestroy, initialize, isDestroyed, isInitialized
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initialize, isInitialized
public void setRoleDescriptorResolver(@Nonnull RoleDescriptorResolver resolver)
RoleDescriptorResolver
to use.resolver
- the resolver to useprotected void doInitialize() throws ComponentInitializationException
doInitialize
in class AbstractInitializableComponent
ComponentInitializationException
- thrown if there is a problem initializing the componentprotected void doInvoke(@Nonnull org.opensaml.messaging.context.MessageContext messageContext) throws org.opensaml.messaging.handler.MessageHandlerException
doInvoke
in class org.opensaml.messaging.handler.AbstractMessageHandler
org.opensaml.messaging.handler.MessageHandlerException
Copyright © 2016 JBoss by Red Hat. All rights reserved.