public class AddRelatesToHandler extends AbstractHeaderGeneratingMessageHandler
| Modifier and Type | Field and Description |
|---|---|
private 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, setTargetNodeStrategydoPostInvoke, doPostInvoke, getActivationCondition, getLogPrefix, invoke, setActivationConditiondestroy, doDestroy, doInitialize, initialize, isDestroyed, isInitializedprivate 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 AbstractHeaderGeneratingMessageHandlerorg.opensaml.messaging.handler.MessageHandlerExceptionprotected void doInvoke(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–2016 Shibboleth Consortium. All rights reserved.