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.
| Modifier and Type | Field and Description |
|---|---|
private Logger |
log
Logger.
|
private RoleDescriptorResolver |
metadataResolver
Resolver used to look up SAML metadata.
|
| Constructor and Description |
|---|
SAMLMetadataLookupHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doInitialize() |
protected void |
doInvoke(org.opensaml.messaging.context.MessageContext messageContext) |
void |
setRoleDescriptorResolver(RoleDescriptorResolver resolver)
Set the
RoleDescriptorResolver to use. |
doPostInvoke, doPostInvoke, doPreInvoke, getLogPrefix, invokedestroy, doDestroy, initialize, isDestroyed, isInitialized@NonnullAfterInit private RoleDescriptorResolver metadataResolver
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.AbstractInitializableComponentnet.shibboleth.utilities.java.support.component.ComponentInitializationExceptionprotected void doInvoke(@Nonnull org.opensaml.messaging.context.MessageContext messageContext) throws org.opensaml.messaging.handler.MessageHandlerException
doInvoke in class org.opensaml.messaging.handler.AbstractMessageHandlerorg.opensaml.messaging.handler.MessageHandlerExceptionCopyright © 1999–2015. All rights reserved.