public class AddRelatesToHandler extends AbstractHeaderGeneratingMessageHandler
Modifier and Type | Field and Description |
---|---|
private org.slf4j.Logger |
log
Logger.
|
private String |
relatesToURI
The effective RelatesTo URI value to use.
|
private org.opensaml.messaging.context.navigate.ContextDataLookupFunction<org.opensaml.messaging.context.MessageContext,String> |
relatesToURILookup
Optional lookup function for obtaining the RelatesTo URI value.
|
private String |
relationshipType
The effective RelatesTo RelationshipType attribute value to use.
|
Constructor and Description |
---|
AddRelatesToHandler() |
Modifier and Type | Method and Description |
---|---|
protected void |
doInvoke(org.opensaml.messaging.context.MessageContext messageContext) |
protected boolean |
doPreInvoke(org.opensaml.messaging.context.MessageContext messageContext) |
org.opensaml.messaging.context.navigate.ContextDataLookupFunction<org.opensaml.messaging.context.MessageContext,String> |
getRelatesToURILookup()
Get the function for looking up the RelatesTo URI value.
|
String |
getRelationshipType()
Get the RelatesTo RelationshipType attribute value to use.
|
void |
setRelatesToURILookup(org.opensaml.messaging.context.navigate.ContextDataLookupFunction<org.opensaml.messaging.context.MessageContext,String> lookup)
Set the function for looking up the RelatesTo URI value.
|
void |
setRelationshipType(String value)
Set the RelatesTo RelationshipType attribute value to use.
|
decorateGeneratedHeader, getEffectiveTargetNode, isEffectiveMustUnderstand, setMustUnderstand, setMustUnderstandStrategy, setTargetNode, setTargetNodeStrategy
doPostInvoke, doPostInvoke, getActivationCondition, getLogPrefix, invoke, setActivationCondition
destroy, doDestroy, doInitialize, initialize, isDestroyed, isInitialized
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initialize, isInitialized
private org.slf4j.Logger log
private org.opensaml.messaging.context.navigate.ContextDataLookupFunction<org.opensaml.messaging.context.MessageContext,String> relatesToURILookup
private String relatesToURI
private String relationshipType
public org.opensaml.messaging.context.navigate.ContextDataLookupFunction<org.opensaml.messaging.context.MessageContext,String> getRelatesToURILookup()
public void setRelatesToURILookup(org.opensaml.messaging.context.navigate.ContextDataLookupFunction<org.opensaml.messaging.context.MessageContext,String> lookup)
lookup
- the lookup functionpublic String getRelationshipType()
public void setRelationshipType(String value)
value
- the relationship typeprotected boolean doPreInvoke(@Nonnull org.opensaml.messaging.context.MessageContext messageContext) throws org.opensaml.messaging.handler.MessageHandlerException
doPreInvoke
in class AbstractHeaderGeneratingMessageHandler
org.opensaml.messaging.handler.MessageHandlerException
protected void doInvoke(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–2018 Shibboleth Consortium. All rights reserved.