public class ValidateActionHandler
extends org.opensaml.messaging.handler.AbstractMessageHandler
If the header is present, the value is first checked against the value obtained from subcontext data
WSAddressingContext.getActionURI(). If that was not supplied, then the locally-configured value
from getExpectedActionURI() is used. If neither expected value is available, the check is skipped.
| Modifier and Type | Field and Description |
|---|---|
private String |
expectedActionURI
The expected Action URI value.
|
private Logger |
log
Logger.
|
| Constructor and Description |
|---|
ValidateActionHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doInvoke(org.opensaml.messaging.context.MessageContext messageContext) |
protected boolean |
doPreInvoke(org.opensaml.messaging.context.MessageContext messageContext) |
protected Action |
getAction(org.opensaml.messaging.context.MessageContext messageContext)
Get message Action header.
|
String |
getExpectedActionURI()
Get the expected Action URI.
|
void |
setExpectedActionURI(String uri)
Set the expected Action URI value.
|
doPostInvoke, doPostInvoke, getActivationCondition, getLogPrefix, invoke, setActivationConditiondestroy, doDestroy, doInitialize, initialize, isDestroyed, isInitializedprivate Logger log
private String expectedActionURI
@Nullable public String getExpectedActionURI()
public void setExpectedActionURI(@Nullable String uri)
uri - the new URI valueprotected boolean doPreInvoke(@Nonnull org.opensaml.messaging.context.MessageContext messageContext) throws org.opensaml.messaging.handler.MessageHandlerException
doPreInvoke in class org.opensaml.messaging.handler.AbstractMessageHandlerorg.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.