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, invoke
destroy, 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.AbstractInitializableComponent
net.shibboleth.utilities.java.support.component.ComponentInitializationException
protected 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 © 1999–2015 JBoss by Red Hat. All rights reserved.