org.opensaml.saml1.binding.encoding
public class HTTPSOAP11Encoder extends BaseSAML1MessageEncoder
Modifier and Type | Field and Description |
---|---|
private org.slf4j.Logger |
log
Class logger.
|
Constructor and Description |
---|
HTTPSOAP11Encoder()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected Envelope |
buildSOAPMessage(SAMLObject samlMessage)
Builds the SOAP message to be encoded.
|
protected void |
doEncode(MessageContext messageContext) |
String |
getBindingURI()
Gets the SAML binding URI supported by this encoder.
|
boolean |
providesMessageConfidentiality(MessageContext messageContext) |
boolean |
providesMessageIntegrity(MessageContext messageContext) |
protected void |
validateMessageContent(MessageContext messageContext)
Validates that the message context is a
SAMLMessageContext and that its outbound transport is HTTP. |
getAllowedURLSchemes, getEndpointURL, setAllowedURLSchemes, signMessage
encode, logEncodedMessage, marshallMessage
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
encode
public String getBindingURI()
public boolean providesMessageConfidentiality(MessageContext messageContext) throws MessageEncodingException
MessageEncodingException
public boolean providesMessageIntegrity(MessageContext messageContext) throws MessageEncodingException
MessageEncodingException
protected void doEncode(MessageContext messageContext) throws MessageEncodingException
doEncode
in class BaseMessageEncoder
MessageEncodingException
protected Envelope buildSOAPMessage(SAMLObject samlMessage)
samlMessage
- body of the SOAP messageprotected void validateMessageContent(MessageContext messageContext) throws MessageEncodingException
SAMLMessageContext
and that its outbound transport is HTTP.messageContext
- current message contextMessageEncodingException
- thrown if the message context conditions are not metCopyright © 1999-2013 JBoss by Red Hat. All Rights Reserved.