Spring Security SAML

org.opensaml.liberty.binding.encoding
Class HTTPPAOS11Encoder

java.lang.Object
  extended by org.opensaml.ws.message.encoder.BaseMessageEncoder
      extended by org.opensaml.saml2.binding.encoding.BaseSAML2MessageEncoder
          extended by org.opensaml.liberty.binding.encoding.HTTPPAOS11Encoder
All Implemented Interfaces:
org.opensaml.common.binding.encoding.SAMLMessageEncoder, org.opensaml.ws.message.encoder.MessageEncoder

public class HTTPPAOS11Encoder
extends org.opensaml.saml2.binding.encoding.BaseSAML2MessageEncoder


Constructor Summary
HTTPPAOS11Encoder()
           
 
Method Summary
protected  org.opensaml.ws.soap.soap11.Envelope buildPAOSMessage(org.opensaml.common.SAMLObject samlMessage, org.opensaml.xml.XMLObject outboundEnvelope)
           
protected  void doEncode(org.opensaml.ws.message.MessageContext messageContext)
           
 String getBindingURI()
           
protected  org.opensaml.saml2.ecp.RelayState getRelayState(String relayStateValue)
          Method creates a relayState element usable with the ECP profile.
 boolean providesMessageConfidentiality(org.opensaml.ws.message.MessageContext messageContext)
           
 boolean providesMessageIntegrity(org.opensaml.ws.message.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
 

Constructor Detail

HTTPPAOS11Encoder

public HTTPPAOS11Encoder()
Method Detail

doEncode

protected void doEncode(org.opensaml.ws.message.MessageContext messageContext)
                 throws org.opensaml.ws.message.encoder.MessageEncodingException
Specified by:
doEncode in class org.opensaml.ws.message.encoder.BaseMessageEncoder
Throws:
org.opensaml.ws.message.encoder.MessageEncodingException

getRelayState

protected org.opensaml.saml2.ecp.RelayState getRelayState(String relayStateValue)
Method creates a relayState element usable with the ECP profile.

Parameters:
relayStateValue - value to include, mustn't be null
Returns:
relay state object

buildPAOSMessage

protected org.opensaml.ws.soap.soap11.Envelope buildPAOSMessage(org.opensaml.common.SAMLObject samlMessage,
                                                                org.opensaml.xml.XMLObject outboundEnvelope)

getBindingURI

public String getBindingURI()

providesMessageConfidentiality

public boolean providesMessageConfidentiality(org.opensaml.ws.message.MessageContext messageContext)
                                       throws org.opensaml.ws.message.encoder.MessageEncodingException
Throws:
org.opensaml.ws.message.encoder.MessageEncodingException

providesMessageIntegrity

public boolean providesMessageIntegrity(org.opensaml.ws.message.MessageContext messageContext)
                                 throws org.opensaml.ws.message.encoder.MessageEncodingException
Throws:
org.opensaml.ws.message.encoder.MessageEncodingException

Spring Security SAML