パッケージ | 説明 |
---|---|
org.opensaml.saml1.binding.encoding |
Classes used to encode SAML messages.
|
org.opensaml.saml2.binding.encoding |
Classes used to encode SAML 2 messages.
|
org.opensaml.ws.message.encoder |
Messages encoders are responsible for encoding an outgoing web serivce message onto the outbound transport.
|
org.opensaml.ws.message.handler | |
org.opensaml.ws.soap.soap11.encoder | |
org.opensaml.ws.soap.soap11.encoder.http |
修飾子とタイプ | メソッドと説明 |
---|---|
protected void |
HTTPSOAP11Encoder.doEncode(MessageContext messageContext)
Encodes the outbound message onto the outbound transport.
|
protected void |
HTTPPostEncoder.doEncode(MessageContext messageContext)
Encodes the outbound message onto the outbound transport.
|
protected void |
HTTPArtifactEncoder.doEncode(MessageContext messageContext)
Encodes the outbound message onto the outbound transport.
|
protected URLBuilder |
BaseSAML1MessageEncoder.getEndpointURL(SAMLMessageContext messageContext)
Gets the response URL from the relying party endpoint.
|
protected void |
HTTPPostEncoder.postEncode(SAMLMessageContext messageContext,
String endpointURL)
Base64 and POST encodes the outbound message and writes it to the outbound transport.
|
boolean |
HTTPSOAP11Encoder.providesMessageConfidentiality(MessageContext messageContext)
Indicates whether this encoder, given the current message context, provides end-to-end message confidentiality.
|
boolean |
HTTPPostEncoder.providesMessageConfidentiality(MessageContext messageContext)
Indicates whether this encoder, given the current message context, provides end-to-end message confidentiality.
|
boolean |
HTTPArtifactEncoder.providesMessageConfidentiality(MessageContext messageContext)
Indicates whether this encoder, given the current message context, provides end-to-end message confidentiality.
|
boolean |
HTTPSOAP11Encoder.providesMessageIntegrity(MessageContext messageContext)
Indicates whether this encoder, given the current message context, provides end-to-end message integrity.
|
boolean |
HTTPPostEncoder.providesMessageIntegrity(MessageContext messageContext)
Indicates whether this encoder, given the current message context, provides end-to-end message integrity.
|
boolean |
HTTPArtifactEncoder.providesMessageIntegrity(MessageContext messageContext)
Indicates whether this encoder, given the current message context, provides end-to-end message integrity.
|
protected void |
BaseSAML1MessageEncoder.signMessage(SAMLMessageContext messageContext)
Signs the given SAML message if it a
SignableSAMLObject and this encoder has signing credentials. |
protected void |
HTTPSOAP11Encoder.validateMessageContent(MessageContext messageContext)
Validates that the message context is a
SAMLMessageContext and that its outbound transport is HTTP. |
修飾子とタイプ | メソッドと説明 |
---|---|
protected AbstractSAML2Artifact |
HTTPArtifactEncoder.buildArtifact(SAMLMessageContext artifactContext)
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(SAMLMessageContext messagesContext,
String endpointURL,
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 |
HTTPSOAP11Encoder.doEncode(MessageContext messageContext)
Encodes the outbound message onto the outbound transport.
|
protected void |
HTTPRedirectDeflateEncoder.doEncode(MessageContext messageContext)
Encodes the outbound message onto the outbound transport.
|
protected void |
HTTPPostEncoder.doEncode(MessageContext messageContext)
Encodes the outbound message onto the outbound transport.
|
protected void |
HTTPArtifactEncoder.doEncode(MessageContext messageContext)
Encodes the outbound message onto the outbound transport.
|
protected void |
HandlerChainAwareHTTPSOAP11Encoder.doEncode(MessageContext messageContext)
Encodes the outbound message onto the outbound transport.
|
protected void |
HandlerChainAwareHTTPSOAP11Encoder.encodeToTransport(MessageContext messageContext)
Encode the message context to the transport.
|
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(SAMLMessageContext artifactContext,
HTTPOutTransport outTransport)
Performs HTTP GET based encoding.
|
protected URLBuilder |
BaseSAML2MessageEncoder.getEndpointURL(SAMLMessageContext messageContext)
Gets the response URL from the relying party endpoint.
|
protected String |
HTTPRedirectDeflateEncoder.getSignatureAlgorithmURI(Credential credential,
SecurityConfiguration config)
Gets the signature algorithm URI to use with the given signing credential.
|
protected String |
HTTPPostSimpleSignEncoder.getSignatureAlgorithmURI(Credential credential,
SecurityConfiguration config)
Gets the signature algorithm URI to use with the given signing credential.
|
protected void |
HTTPPostEncoder.populateVelocityContext(org.apache.velocity.VelocityContext velocityContext,
SAMLMessageContext 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,
SAMLMessageContext messageContext,
String endpointURL)
Populate the Velocity context instance which will be used to render the POST body.
|
protected void |
HTTPArtifactEncoder.postEncode(SAMLMessageContext artifactContext,
HTTPOutTransport outTransport)
Performs HTTP POST based encoding.
|
protected void |
HTTPPostEncoder.postEncode(SAMLMessageContext messageContext,
String endpointURL)
Base64 and POST encodes the outbound message and writes it to the outbound transport.
|
protected void |
HandlerChainAwareHTTPSOAP11Encoder.prepareMessageContext(MessageContext messageContext)
Perform final binding-specific processing of message context and prepare it for encoding
to the transport.
|
protected void |
HandlerChainAwareHTTPSOAP11Encoder.preprocessTransport(MessageContext messageContext)
This implementation performs the following actions on the context's
HTTPOutTransport :
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
|
protected void |
HandlerChainAwareHTTPSOAP11Encoder.processOutboundHandlerChain(MessageContext messageContext)
Process the outbound
HandlerChain for the message context, if any. |
boolean |
HTTPSOAP11Encoder.providesMessageConfidentiality(MessageContext messageContext)
Indicates whether this encoder, given the current message context, provides end-to-end message confidentiality.
|
boolean |
HTTPRedirectDeflateEncoder.providesMessageConfidentiality(MessageContext messageContext)
Indicates whether this encoder, given the current message context, provides end-to-end message confidentiality.
|
boolean |
HTTPPostEncoder.providesMessageConfidentiality(MessageContext messageContext)
Indicates whether this encoder, given the current message context, provides end-to-end message confidentiality.
|
boolean |
HTTPArtifactEncoder.providesMessageConfidentiality(MessageContext messageContext)
Indicates whether this encoder, given the current message context, provides end-to-end message confidentiality.
|
boolean |
HandlerChainAwareHTTPSOAP11Encoder.providesMessageConfidentiality(MessageContext messageContext)
Indicates whether this encoder, given the current message context, provides end-to-end message confidentiality.
|
boolean |
HTTPSOAP11Encoder.providesMessageIntegrity(MessageContext messageContext)
Indicates whether this encoder, given the current message context, provides end-to-end message integrity.
|
boolean |
HTTPRedirectDeflateEncoder.providesMessageIntegrity(MessageContext messageContext)
Indicates whether this encoder, given the current message context, provides end-to-end message integrity.
|
boolean |
HTTPPostEncoder.providesMessageIntegrity(MessageContext messageContext)
Indicates whether this encoder, given the current message context, provides end-to-end message integrity.
|
boolean |
HTTPArtifactEncoder.providesMessageIntegrity(MessageContext messageContext)
Indicates whether this encoder, given the current message context, provides end-to-end message integrity.
|
boolean |
HandlerChainAwareHTTPSOAP11Encoder.providesMessageIntegrity(MessageContext messageContext)
Indicates whether this encoder, given the current message context, provides end-to-end message integrity.
|
protected void |
HTTPPostSimpleSignEncoder.signMessage(SAMLMessageContext messageContext)
Signs the given SAML message if it a
SignableSAMLObject and this encoder has signing credentials. |
protected void |
BaseSAML2MessageEncoder.signMessage(SAMLMessageContext messageContext)
Signs the given SAML message if it a
SignableSAMLObject and this encoder has signing credentials. |
修飾子とタイプ | メソッドと説明 |
---|---|
protected abstract void |
BaseMessageEncoder.doEncode(MessageContext messageContext)
Encodes the outbound message onto the outbound transport.
|
void |
MessageEncoder.encode(MessageContext messageContext)
Encodes the message in the binding specific manner.
|
void |
BaseMessageEncoder.encode(MessageContext messageContext)
Encodes the message in the binding specific manner.
|
protected Element |
BaseMessageEncoder.marshallMessage(XMLObject message)
Helper method that marshalls the given message.
|
boolean |
MessageEncoder.providesMessageConfidentiality(MessageContext messageContext)
Indicates whether this encoder, given the current message context, provides end-to-end message confidentiality.
|
boolean |
MessageEncoder.providesMessageIntegrity(MessageContext messageContext)
Indicates whether this encoder, given the current message context, provides end-to-end message integrity.
|
修飾子とタイプ | メソッドと説明 |
---|---|
protected void |
BaseHandlerChainAwareMessageEncoder.doEncode(MessageContext messageContext)
Encodes the outbound message onto the outbound transport.
|
protected abstract void |
BaseHandlerChainAwareMessageEncoder.encodeToTransport(MessageContext messageContext)
Encode the message context to the transport.
|
protected abstract void |
BaseHandlerChainAwareMessageEncoder.prepareMessageContext(MessageContext messageContext)
Perform final binding-specific processing of message context and prepare it for encoding
to the transport.
|
protected void |
BaseHandlerChainAwareMessageEncoder.processOutboundHandlerChain(MessageContext messageContext)
Process the outbound
HandlerChain for the message context, if any. |
修飾子とタイプ | メソッドと説明 |
---|---|
protected void |
SOAP11Encoder.encodeToTransport(MessageContext messageContext)
Encode the message context to the transport.
|
protected void |
SOAP11Encoder.prepareMessageContext(MessageContext messageContext)
Perform final binding-specific processing of message context and prepare it for encoding
to the transport.
|
protected void |
SOAP11Encoder.preprocessTransport(MessageContext messageContext)
Perform any processing or fixup on the message context's outbound transport, prior to encoding the actual
message.
|
boolean |
SOAP11Encoder.providesMessageConfidentiality(MessageContext messageContext)
Indicates whether this encoder, given the current message context, provides end-to-end message confidentiality.
|
boolean |
SOAP11Encoder.providesMessageIntegrity(MessageContext messageContext)
Indicates whether this encoder, given the current message context, provides end-to-end message integrity.
|
修飾子とタイプ | メソッドと説明 |
---|---|
protected void |
HTTPSOAP11Encoder.doEncode(MessageContext messageContext)
Encodes the outbound message onto the outbound transport.
|
protected void |
HTTPSOAP11Encoder.preprocessTransport(MessageContext messageContext)
This implementation performs the following actions on the context's
HTTPOutTransport :
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(MessageContext) , if
that returns non-null. |
Copyright © 2012. All Rights Reserved.