Uses of Class
org.opensaml.messaging.encoder.MessageEncodingException
Packages that use MessageEncodingException
Package
Description
Interfaces and classes for encoding messages.
Interfaces and classes for encoding HTTP messages.
Interfaces and classes for encoding messages to a
HttpServletResponse
.SAML 1.x message encoders.
SAML 1.x message encoders.
SOAP 1.1 client message encoding support implementations.
SOAP over HTTP 1.1 message encoder and handlers.
-
Uses of MessageEncodingException in org.opensaml.messaging.encoder
Methods in org.opensaml.messaging.encoder that throw MessageEncodingExceptionModifier and TypeMethodDescriptionprotected abstract void
AbstractMessageEncoder.doEncode()
Performs the encoding logic.void
AbstractMessageEncoder.encode()
Encode theMessageContext
supplied viaMessageEncoder.setMessageContext(MessageContext)
to the sink.void
MessageEncoder.encode()
Encode theMessageContext
supplied viaMessageEncoder.setMessageContext(MessageContext)
to the sink.void
AbstractMessageEncoder.prepareContext()
This method should prepare the message context by creating and populating any binding-specific data structures required in the MessageContext, prior to actually encoding.void
MessageEncoder.prepareContext()
This method should prepare the message context by creating and populating any binding-specific data structures required in the MessageContext, prior to actually encoding. -
Uses of MessageEncodingException in org.opensaml.messaging.encoder.httpclient
Methods in org.opensaml.messaging.encoder.httpclient that throw MessageEncodingExceptionModifier and TypeMethodDescriptionvoid
BaseHttpClientRequestXMLMessageEncoder.encode()
Encode theMessageContext
supplied viaMessageEncoder.setMessageContext(MessageContext)
to the sink.protected Element
BaseHttpClientRequestXMLMessageEncoder.marshallMessage
(XMLObject message) Helper method that marshalls the given message. -
Uses of MessageEncodingException in org.opensaml.messaging.encoder.servlet
Methods in org.opensaml.messaging.encoder.servlet that throw MessageEncodingExceptionModifier and TypeMethodDescriptionvoid
BaseHttpServletResponseXMLMessageEncoder.encode()
Encode theMessageContext
supplied viaMessageEncoder.setMessageContext(MessageContext)
to the sink.protected Element
BaseHttpServletResponseXMLMessageEncoder.marshallMessage
(XMLObject message) Helper method that marshalls the given message. -
Uses of MessageEncodingException in org.opensaml.saml.saml1.binding.encoding.impl
Methods in org.opensaml.saml.saml1.binding.encoding.impl that throw MessageEncodingExceptionModifier and TypeMethodDescriptionprotected void
HTTPArtifactEncoder.doEncode()
Performs the encoding logic.protected void
HTTPPostEncoder.doEncode()
Performs the encoding logic.protected URI
BaseSAML1MessageEncoder.getEndpointURL
(MessageContext messageContext) Gets the response URL from the message context.protected void
HTTPPostEncoder.postEncode
(MessageContext messageContext, String endpointURL) Base64 and POST encodes the outbound message and writes it to the outbound transport. -
Uses of MessageEncodingException in org.opensaml.saml.saml2.binding.encoding.impl
Methods in org.opensaml.saml.saml2.binding.encoding.impl that throw MessageEncodingExceptionModifier and TypeMethodDescriptionprotected SAML2Artifact
HTTPArtifactEncoder.buildArtifact
(MessageContext messageContext) Builds the SAML 2 artifact for the outgoing message.protected String
HTTPPostSimpleSignEncoder.buildFormDataToSign
(org.apache.velocity.VelocityContext velocityContext, MessageContext messageContext, String sigAlgURI) Build the form control data string over which the signature is computed.protected String
HTTPPostSimpleSignEncoder.buildKeyInfo
(Credential signingCredential, KeyInfoGenerator kiGenerator) Build theKeyInfo
from the signing credential.protected String
HTTPRedirectDeflateEncoder.buildRedirectURL
(MessageContext messageContext, String endpoint, String message) Builds the URL to redirect the client to.protected String
HTTPRedirectDeflateEncoder.deflateAndBase64Encode
(SAMLObject message) DEFLATE (RFC1951) compresses the given SAML message.protected void
HTTPArtifactEncoder.doEncode()
Performs the encoding logic.protected void
HTTPPostEncoder.doEncode()
Performs the encoding logic.protected void
HTTPRedirectDeflateEncoder.doEncode()
Performs the encoding logic.protected String
HTTPPostSimpleSignEncoder.generateSignature
(Credential signingCredential, String algorithmURI, String formData) Generates the signature over the string of concatenated form control data as indicated by the SimpleSign spec.protected String
HTTPRedirectDeflateEncoder.generateSignature
(Credential signingCredential, String algorithmURI, String queryString) Generates the signature over the query string.protected void
HTTPArtifactEncoder.getEncode()
Performs HTTP GET based encoding.protected URI
BaseSAML2MessageEncoder.getEndpointURL
(MessageContext messageContext) Gets the response URL from the message context.protected String
HTTPPostSimpleSignEncoder.getSignatureAlgorithmURI
(SignatureSigningParameters signingParameters) Gets the signature algorithm URI to use.protected String
HTTPRedirectDeflateEncoder.getSignatureAlgorithmURI
(SignatureSigningParameters signingParameters) Gets the signature algorithm URI to use.protected void
HTTPPostEncoder.populateVelocityContext
(org.apache.velocity.VelocityContext velocityContext, MessageContext messageContext, String endpointURL) Populate the Velocity context instance which will be used to render the POST body.protected void
HTTPPostSimpleSignEncoder.populateVelocityContext
(org.apache.velocity.VelocityContext velocityContext, MessageContext messageContext, String endpointURL) Populate the Velocity context instance which will be used to render the POST body.protected void
HTTPArtifactEncoder.postEncode()
Performs HTTP POST based encoding.protected void
HTTPPostEncoder.postEncode
(MessageContext messageContext, String endpointURL) Base64 and POST encodes the outbound message and writes it to the outbound transport. -
Uses of MessageEncodingException in org.opensaml.soap.client.soap11.encoder.http.impl
Methods in org.opensaml.soap.client.soap11.encoder.http.impl that throw MessageEncodingExceptionModifier and TypeMethodDescriptionprotected org.apache.http.HttpEntity
HttpClientRequestSOAP11Encoder.createRequestEntity
(Envelope message, Charset charset) Create the request entity that makes up the POST message body.protected void
HttpClientRequestSOAP11Encoder.doEncode()
Performs the encoding logic.void
HttpClientRequestSOAP11Encoder.prepareContext()
This method should prepare the message context by creating and populating any binding-specific data structures required in the MessageContext, prior to actually encoding.protected void
HttpClientRequestSOAP11Encoder.prepareHttpRequest()
This implementation performs the following actions on the context'sHttpRequest
: -
Uses of MessageEncodingException in org.opensaml.soap.soap11.encoder.http.impl
Methods in org.opensaml.soap.soap11.encoder.http.impl that throw MessageEncodingExceptionModifier and TypeMethodDescriptionprotected void
HTTPSOAP11Encoder.doEncode()
Performs the encoding logic.void
HTTPSOAP11Encoder.prepareContext()
This method should prepare the message context by creating and populating any binding-specific data structures required in the MessageContext, prior to actually encoding.protected void
HTTPSOAP11Encoder.prepareHttpServletResponse()
This implementation performs the following actions on the context'sHttpServletResponse
: