Class CheckMandatoryIssuer
- java.lang.Object
-
- net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
-
- org.opensaml.messaging.handler.AbstractMessageHandler
-
- org.opensaml.messaging.handler.impl.CheckMandatoryIssuer
-
- All Implemented Interfaces:
net.shibboleth.utilities.java.support.component.Component,net.shibboleth.utilities.java.support.component.DestructableComponent,net.shibboleth.utilities.java.support.component.InitializableComponent,org.opensaml.messaging.handler.MessageHandler
public final class CheckMandatoryIssuer extends org.opensaml.messaging.handler.AbstractMessageHandlerMessage handler that checks that a message context has an issuer.
-
-
Field Summary
Fields Modifier and Type Field Description private Function<org.opensaml.messaging.context.MessageContext,String>issuerLookupStrategyStrategy used to look up the issuer associated with the message context.
-
Constructor Summary
Constructors Constructor Description CheckMandatoryIssuer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoInitialize()protected voiddoInvoke(org.opensaml.messaging.context.MessageContext messageContext)voidsetIssuerLookupStrategy(Function<org.opensaml.messaging.context.MessageContext,String> strategy)Set the strategy used to look up the issuer associated with the message context.-
Methods inherited from class org.opensaml.messaging.handler.AbstractMessageHandler
doPostInvoke, doPostInvoke, doPreInvoke, getActivationCondition, getLogPrefix, invoke, setActivationCondition
-
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
destroy, doDestroy, initialize, isDestroyed, isInitialized
-
-
-
-
Method Detail
-
setIssuerLookupStrategy
public void setIssuerLookupStrategy(@Nonnull Function<org.opensaml.messaging.context.MessageContext,String> strategy)Set the strategy used to look up the issuer associated with the message context.- Parameters:
strategy- lookup strategy
-
doInitialize
protected void doInitialize() throws net.shibboleth.utilities.java.support.component.ComponentInitializationException- Overrides:
doInitializein classnet.shibboleth.utilities.java.support.component.AbstractInitializableComponent- Throws:
net.shibboleth.utilities.java.support.component.ComponentInitializationException
-
doInvoke
protected void doInvoke(@Nonnull org.opensaml.messaging.context.MessageContext messageContext) throws org.opensaml.messaging.handler.MessageHandlerException- Specified by:
doInvokein classorg.opensaml.messaging.handler.AbstractMessageHandler- Throws:
org.opensaml.messaging.handler.MessageHandlerException
-
-