|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opensaml.ws.message.encoder.BaseMessageEncoder org.opensaml.saml2.binding.encoding.BaseSAML2MessageEncoder org.opensaml.saml2.binding.encoding.HTTPSOAP11Encoder
public class HTTPSOAP11Encoder
SAML 2.0 SOAP 1.1 over HTTP binding encoder.
Field Summary | |
---|---|
private org.slf4j.Logger |
log
Class logger. |
Constructor Summary | |
---|---|
HTTPSOAP11Encoder()
Constructor. |
Method Summary | |
---|---|
protected Envelope |
buildSOAPMessage(SAMLMessageContext samlMsgCtx,
SAMLObject samlMessage)
Builds the SOAP message to be encoded. |
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)
|
Methods inherited from class org.opensaml.saml2.binding.encoding.BaseSAML2MessageEncoder |
---|
checkRelayState, getAllowedURLSchemes, getEndpointURL, setAllowedURLSchemes, setResponseDestination, signMessage |
Methods inherited from class org.opensaml.ws.message.encoder.BaseMessageEncoder |
---|
encode, logEncodedMessage, marshallMessage |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.opensaml.ws.message.encoder.MessageEncoder |
---|
encode |
Field Detail |
---|
private final org.slf4j.Logger log
Constructor Detail |
---|
public HTTPSOAP11Encoder()
Method Detail |
---|
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(SAMLMessageContext samlMsgCtx, SAMLObject samlMessage)
If MessageContext.getOutboundMessage()
contains
a pre-existing SOAP envelope, it will be used. Any existing body content will be removed
before the SAML protocol message is added.
Otherwise, a new Envelope will be constructed.
samlMsgCtx
- the SAML message contextsamlMessage
- body of the SOAP message
protected Envelope buildSOAPMessage(SAMLObject samlMessage)
samlMessage
- body of the SOAP message
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |