public class SAMLOutboundProtocolMessageSigningHandler
extends org.opensaml.messaging.handler.AbstractMessageHandler
SignatureSigningParameters
as determined by
SAMLMessageSecuritySupport.getContextSigningParameters(MessageContext)
.Modifier and Type | Field and Description |
---|---|
private org.slf4j.Logger |
log
Logger.
|
private boolean |
signErrorResponses
Whether to sign responses containing errors.
|
Constructor and Description |
---|
SAMLOutboundProtocolMessageSigningHandler()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
doInvoke(org.opensaml.messaging.context.MessageContext messageContext) |
private boolean |
isErrorResponse(Object message)
Get whether the message is a SAML response containing an error status.
|
void |
setSignErrorResponses(boolean flag)
Set whether to sign response messages that contain errors (defaults to true).
|
doPostInvoke, doPostInvoke, doPreInvoke, getActivationCondition, getLogPrefix, invoke, setActivationCondition
destroy, doDestroy, doInitialize, initialize, isDestroyed, isInitialized
@Nonnull private final org.slf4j.Logger log
private boolean signErrorResponses
public SAMLOutboundProtocolMessageSigningHandler()
public void setSignErrorResponses(boolean flag)
flag
- flag to setprotected 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–2020 Shibboleth Consortium. All rights reserved.