Uses of Class
org.opensaml.messaging.decoder.MessageDecodingException
Packages that use MessageDecodingException
Package
Description
Interfaces and classes for decoding messages.
Interfaces and classes for decoding HTTP messages.
Interfaces and classes for decoding messages that come from an
HttpServletRequest.Classes related to SAML binding operations.
Implementation of SAML binding-level functionality, such as MessageHandlers.
SAML 1.x message decoders.
SAML 2.0 message decoders.
SOAP 1.1 client message decoding support implementations.
Common classes shared across SOAP versions, clients, and transports.
SOAP over HTTP 1.1 message decoder and handlers.
-
Uses of MessageDecodingException in org.opensaml.messaging.decoder
Methods in org.opensaml.messaging.decoder that throw MessageDecodingExceptionModifier and TypeMethodDescriptionvoidAbstractMessageDecoder.decode()Decode message data from the source and store it so that it may be retrieved viaMessageDecoder.getMessageContext().voidMessageDecoder.decode()Decode message data from the source and store it so that it may be retrieved viaMessageDecoder.getMessageContext().protected abstract voidAbstractMessageDecoder.doDecode()Performs the decoding logic. -
Uses of MessageDecodingException in org.opensaml.messaging.decoder.httpclient
Methods in org.opensaml.messaging.decoder.httpclient that throw MessageDecodingExceptionModifier and TypeMethodDescriptionvoidBaseHttpClientResponseXMLMessageDecoder.decode()Decode message data from the source and store it so that it may be retrieved viaMessageDecoder.getMessageContext().protected XMLObjectBaseHttpClientResponseXMLMessageDecoder.unmarshallMessage(InputStream messageStream) Helper method that deserializes and unmarshalls the message from the given stream. -
Uses of MessageDecodingException in org.opensaml.messaging.decoder.servlet
Methods in org.opensaml.messaging.decoder.servlet that throw MessageDecodingExceptionModifier and TypeMethodDescriptionvoidBaseHttpServletRequestXMLMessageDecoder.decode()Decode message data from the source and store it so that it may be retrieved viaMessageDecoder.getMessageContext().protected XMLObjectBaseHttpServletRequestXMLMessageDecoder.unmarshallMessage(InputStream messageStream) Helper method that deserializes and unmarshalls the message from the given stream.protected voidBaseHttpServletRequestXMLMessageDecoder.validateHttpRequest(HttpServletRequest request) Perform optional validation of the inboundHttpServletRequest. -
Uses of MessageDecodingException in org.opensaml.saml.common.binding
Methods in org.opensaml.saml.common.binding that throw MessageDecodingExceptionModifier and TypeMethodDescriptionstatic voidSAMLBindingSupport.checkSAML1MessageType(boolean expectRequest, SAMLObject message) Evaluate a SAML 1 messageSAMLObjectas to whether it is the expected message type (request vs response).static voidSAMLBindingSupport.checkSAML2MessageType(boolean expectRequest, SAMLObject message) Evaluate a SAML 2 messageSAMLObjectas to whether it is the expected message type (request vs response).static voidSAMLBindingSupport.evaluateMessageSizeLimit(boolean enforcementEnabled, Integer messageSizeLimit, Integer messageSize) Evaluate message size limit using the supplied parameters.static voidSAMLBindingSupport.evaluateMessageSizeLimit(boolean enforcementEnabled, Integer messageSizeLimit, Integer messageSize, String description) Evaluate message size limit using the supplied parameters.static IntegerSAMLBindingSupport.getDeflatedSize(String deflatedAndEncoded, boolean estimated, Float inflationFactor) Get the size of deflated and Base64-encoded data if it were decoded then inflated.static voidSAMLBindingSupport.validateMessageTypeValues(HttpServletRequest httpRequest, MessageType messageType) Validate that an HTTP request has a valid number of values for the specified message type. -
Uses of MessageDecodingException in org.opensaml.saml.common.binding.impl
Methods in org.opensaml.saml.common.binding.impl that throw MessageDecodingExceptionModifier and TypeMethodDescriptionprotected voidBaseSAMLHttpServletRequestDecoder.evaluateMessageSizeLimit()Enforce the configured message size limit, if enabled.protected IntegerBaseSAMLHttpServletRequestDecoder.getMessageSize()Get the message size in bytes.protected IntegerBaseSAMLHttpServletRequestDecoder.getMessageSizeLimit()Get the configured message size limit, in bytes.protected MessageTypeBaseSAMLHttpServletRequestDecoder.getMessageType()Get the type of message being processed by the decoder.protected booleanBaseSAMLHttpServletRequestDecoder.isEnforceMessageSizeLimit()Get whether enforcement of message size limit is enabled.protected IntegerBaseSAMLHttpServletRequestDecoder.validateAndGetMessageSize()Validate message parameter values and return the message size in bytes.protected voidBaseSAMLHttpServletRequestDecoder.validateHttpRequest(HttpServletRequest request) Perform optional validation of the inboundHttpServletRequest. -
Uses of MessageDecodingException in org.opensaml.saml.saml1.binding.decoding.impl
Methods in org.opensaml.saml.saml1.binding.decoding.impl that throw MessageDecodingExceptionModifier and TypeMethodDescriptionprotected voidHTTPArtifactDecoder.decodeTarget(MessageContext messageContext, HttpServletRequest request) Decodes the TARGET parameter and adds it to the message context.protected voidHTTPArtifactDecoder.doDecode()Performs the decoding logic.protected voidHttpClientResponseSOAP11Decoder.doDecode()Performs the decoding logic.protected voidHTTPPostDecoder.doDecode()Performs the decoding logic.protected voidHTTPSOAP11Decoder.doDecode()Performs the decoding logic.protected IntegerHTTPPostDecoder.getMessageSize()Get the message size in bytes.protected voidHTTPArtifactDecoder.processArtifacts(MessageContext messageContext, HttpServletRequest request) Process the incoming artifacts by decoding the artifacts, dereferencing them from the artifact source and storing the resulting response (with assertions) in the message context. -
Uses of MessageDecodingException in org.opensaml.saml.saml2.binding.decoding.impl
Methods in org.opensaml.saml.saml2.binding.decoding.impl that throw MessageDecodingExceptionModifier and TypeMethodDescriptionprivate StringHTTPRedirectDeflateDecoder.buildSignedContentString(String queryString, String samlMessageParamName, String samlMessage) Extract the raw request parameters and build a string representation of the content that was signed.protected InputStreamHTTPRedirectDeflateDecoder.decodeMessage(String message) Base64 decodes the SAML message and then decompresses the message.private SAMLObjectHTTPArtifactDecoder.dereferenceArtifact(SAML2Artifact artifact, RoleDescriptor peerRoleDescriptor, String endpoint) De-reference the supplied artifact into the corresponding SAML protocol message.protected voidHTTPArtifactDecoder.doDecode()Performs the decoding logic.protected voidHttpClientResponseSOAP11Decoder.doDecode()Performs the decoding logic.protected voidHTTPPostDecoder.doDecode()Performs the decoding logic.protected voidHTTPPostSimpleSignDecoder.doDecode()Performs the decoding logic.protected voidHTTPRedirectDeflateDecoder.doDecode()Performs the decoding logic.protected voidHTTPSOAP11Decoder.doDecode()Performs the decoding logic.protected voidHTTPPostSimpleSignDecoder.evaluateMessageSizeLimit()Enforce the configured message size limit, if enabled.protected Pair<InputStream,String> HTTPPostDecoder.getBase64DecodedMessage(HttpServletRequest request) Gets the Base64 encoded message from the request and decodes it.protected IntegerHTTPPostDecoder.getMessageSize()Get the message size in bytes.protected IntegerHTTPRedirectDeflateDecoder.getMessageSize()Get the message size in bytes.protected byte[]HTTPPostSimpleSignDecoder.getSignedContent()Get the signed content data.private byte[]HTTPRedirectDeflateDecoder.getSignedContent(String samlMessageParamName, String samlMessage) Get the signed content data.private SAML2ArtifactHTTPArtifactDecoder.parseArtifact(String encodedArtifact) Parse and decode the supplied encoded artifact string into aSAML2Artifactinstance.protected voidHTTPRedirectDeflateDecoder.populateSimpleSignatureContext(MessageContext messageContext, String samlMessageParamName, String samlMessage) Build signed content string and populate theSimpleSignatureContext.private voidHTTPArtifactDecoder.processArtifact(MessageContext messageContext, HttpServletRequest request) Process the incoming artifact by decoding the artifacts, dereferencing it from the artifact issuer and storing the resulting protocol message in the message context.private StringHTTPArtifactDecoder.resolveArtifactEndpoint(SAML2Artifact artifact, RoleDescriptor peerRoleDescriptor) Resolve the artifact resolution endpoint of the peer who issued the artifact.private RoleDescriptorHTTPArtifactDecoder.resolvePeerRoleDescriptor(SAML2Artifact artifact) Resolve the role descriptor of the SAML peer who issued the supplied artifact.private StringHTTPArtifactDecoder.resolveSelfEntityID(RoleDescriptor peerRoleDescriptor) Resolve the self entityID, used as the issuer of the protocol message by this entity.private SAMLObjectHTTPArtifactDecoder.validateAndExtractResponseMessage(ArtifactResponse artifactResponse) Validate and extract the SAML protocol message from the artifact response. -
Uses of MessageDecodingException in org.opensaml.soap.client.soap11.decoder.http.impl
Methods in org.opensaml.soap.client.soap11.decoder.http.impl that return MessageDecodingExceptionModifier and TypeMethodDescriptionprotected MessageDecodingExceptionHttpClientResponseSOAP11Decoder.buildFaultException(org.apache.hc.core5.http.ClassicHttpResponse response) Build an exception by processing a fault response, i.e.Methods in org.opensaml.soap.client.soap11.decoder.http.impl that throw MessageDecodingExceptionModifier and TypeMethodDescriptionprotected MessageDecodingExceptionHttpClientResponseSOAP11Decoder.buildFaultException(org.apache.hc.core5.http.ClassicHttpResponse response) Build an exception by processing a fault response, i.e.protected voidHttpClientResponseSOAP11Decoder.doDecode()Performs the decoding logic.protected voidHttpClientResponseSOAP11Decoder.processSuccessResponse(org.apache.hc.core5.http.ClassicHttpResponse httpResponse, SOAP11Context soapContext) Process a successful response, i.e.protected InputStreamHttpClientResponseSOAP11Decoder.wrapInputStreamForSizeLimitEnforcement(InputStream responseIn) Check whether message size limit enforcement is enabled and wrap the passed input stream appropriately. -
Uses of MessageDecodingException in org.opensaml.soap.common
Subclasses of MessageDecodingException in org.opensaml.soap.commonModifier and TypeClassDescriptionclassSpecialized message decoding exception type for carrying a SOAP 1.1 Fault element. -
Uses of MessageDecodingException in org.opensaml.soap.soap11.decoder.http.impl
Methods in org.opensaml.soap.soap11.decoder.http.impl that throw MessageDecodingExceptionModifier and TypeMethodDescriptionprotected voidHTTPSOAP11Decoder.doDecode()Performs the decoding logic.protected voidHTTPSOAP11Decoder.validateHttpRequest(HttpServletRequest request) Perform optional validation of the inboundHttpServletRequest.