Package | Description |
---|---|
org.opensaml.messaging.encoder |
Interfaces and classes for encoding messages.
|
org.opensaml.messaging.encoder.servlet |
Interfaces and classes for encoding messages to a
HttpServletResponse . |
org.opensaml.saml.saml1.binding.encoding.impl |
SAML 1.x message encoders.
|
org.opensaml.saml.saml2.binding.encoding.impl |
SAML 1.x message encoders.
|
org.opensaml.soap.soap11.encoder.http.impl |
SOAP over HTTP 1.1 message encoder and handlers.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
AbstractMessageEncoder.doEncode()
Performs the encoding logic.
|
void |
MessageEncoder.encode()
Encode the
MessageContext supplied via MessageEncoder.setMessageContext(MessageContext) to the sink. |
void |
AbstractMessageEncoder.encode()
Encode the
MessageContext supplied via MessageEncoder.setMessageContext(MessageContext) to the sink. |
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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
BaseHttpServletResponseXMLMessageEncoder.encode()
Encode the
MessageContext supplied via MessageEncoder.setMessageContext(MessageContext) to the sink. |
protected Element |
BaseHttpServletResponseXMLMessageEncoder.marshallMessage(XMLObject message)
Helper method that marshalls the given message.
|
Modifier and Type | Method and Description |
---|---|
protected void |
HTTPPostEncoder.doEncode()
Performs the encoding logic.
|
protected void |
HTTPArtifactEncoder.doEncode()
Performs the encoding logic.
|
protected URI |
BaseSAML1MessageEncoder.getEndpointURL(MessageContext<SAMLObject> messageContext)
Gets the response URL from the message context.
|
protected void |
HTTPPostEncoder.postEncode(MessageContext<SAMLObject> messageContext,
String endpointURL)
Base64 and POST encodes the outbound message and writes it to the outbound transport.
|
Modifier and Type | Method and Description |
---|---|
protected AbstractSAML2Artifact |
HTTPArtifactEncoder.buildArtifact(MessageContext<SAMLObject> messageContext)
Builds the SAML 2 artifact for the outgoing message.
|
protected String |
HTTPPostSimpleSignEncoder.buildKeyInfo(Credential signingCredential,
KeyInfoGenerator kiGenerator)
Build the
KeyInfo from the signing credential. |
protected String |
HTTPRedirectDeflateEncoder.buildRedirectURL(MessageContext<SAMLObject> 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 |
HTTPRedirectDeflateEncoder.doEncode()
Performs the encoding logic.
|
protected void |
HTTPPostEncoder.doEncode()
Performs the encoding logic.
|
protected void |
HTTPArtifactEncoder.doEncode()
Performs the encoding logic.
|
protected String |
HTTPRedirectDeflateEncoder.generateSignature(Credential signingCredential,
String algorithmURI,
String queryString)
Generates the signature over the query string.
|
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 void |
HTTPArtifactEncoder.getEncode()
Performs HTTP GET based encoding.
|
protected URI |
BaseSAML2MessageEncoder.getEndpointURL(MessageContext<SAMLObject> messageContext)
Gets the response URL from the message context.
|
protected String |
HTTPRedirectDeflateEncoder.getSignatureAlgorithmURI(SignatureSigningParameters signingParameters)
Gets the signature algorithm URI to use.
|
protected String |
HTTPPostSimpleSignEncoder.getSignatureAlgorithmURI(SignatureSigningParameters signingParameters)
Gets the signature algorithm URI to use.
|
protected void |
HTTPPostSimpleSignEncoder.populateVelocityContext(org.apache.velocity.VelocityContext velocityContext,
MessageContext<SAMLObject> messageContext,
String endpointURL)
Populate the Velocity context instance which will be used to render the POST body.
|
protected void |
HTTPPostEncoder.populateVelocityContext(org.apache.velocity.VelocityContext velocityContext,
MessageContext<SAMLObject> 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<SAMLObject> messageContext,
String endpointURL)
Base64 and POST encodes the outbound message and writes it to the outbound transport.
|
Modifier and Type | Method and Description |
---|---|
protected 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's
HttpServletResponse :
Adds the HTTP header: "Cache-control: no-cache, no-store"
Adds the HTTP header: "Pragma: no-cache"
Sets the character encoding to: "UTF-8"
Sets the content type to: "text/xml"
Sets the SOAPAction HTTP header the value returned by HTTPSOAP11Encoder.getSOAPAction() , if
that returns non-null.
|
Copyright © 2018. All rights reserved.