public final class WSSecurityMessagingSupport extends Object
Modifier | Constructor and Description |
---|---|
private |
WSSecurityMessagingSupport()
Private constructor.
|
Modifier and Type | Method and Description |
---|---|
static void |
addSecurityHeaderBlock(MessageContext messageContext,
org.opensaml.core.xml.XMLObject securityHeader,
boolean mustUnderstand)
Add a
Security sub-header block to the SOAP envelope contained within the specified message context's
SOAP subcontext. |
static void |
addSecurityHeaderBlock(MessageContext messageContext,
org.opensaml.core.xml.XMLObject securitySubHeader,
boolean mustUnderstand,
String targetNode,
boolean isFinalDestination)
Add a
Security sub-header block to the SOAP envelope contained within the specified message context's
SOAP subcontext. |
private WSSecurityMessagingSupport()
public static void addSecurityHeaderBlock(@Nonnull MessageContext messageContext, @Nonnull org.opensaml.core.xml.XMLObject securityHeader, boolean mustUnderstand)
Security
sub-header block to the SOAP envelope contained within the specified message context's
SOAP subcontext.messageContext
- the message context to processsecurityHeader
- the security sub-header block to addmustUnderstand
- whether the sub-header should be added to a Security header block indicating
that it must be understoodpublic static void addSecurityHeaderBlock(@Nonnull MessageContext messageContext, @Nonnull org.opensaml.core.xml.XMLObject securitySubHeader, boolean mustUnderstand, @Nullable String targetNode, boolean isFinalDestination)
Security
sub-header block to the SOAP envelope contained within the specified message context's
SOAP subcontext.messageContext
- the message context to processsecuritySubHeader
- the security sub-header block to addmustUnderstand
- whether the sub-header should be added to a Security header block indicating
that it must be understoodtargetNode
- the explicitly-specified SOAP node actor for which the header is desiredisFinalDestination
- true specifies that headers targeted for message final destination should be returned,
false specifies they should not be returnedCopyright © 1999–2020 Shibboleth Consortium. All rights reserved.