Class HTTPECPDecoder
java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
org.opensaml.messaging.decoder.AbstractMessageDecoder
org.opensaml.messaging.decoder.servlet.AbstractHttpServletRequestMessageDecoder
org.opensaml.messaging.decoder.servlet.BaseHttpServletRequestXMLMessageDecoder
org.opensaml.soap.soap11.decoder.http.impl.HTTPSOAP11Decoder
net.shibboleth.sp.saml.saml2.binding.decoding.impl.HTTPECPDecoder
- All Implemented Interfaces:
Component,DestructableComponent,InitializableComponent,UnmodifiableComponent,MessageDecoder,HttpServletRequestMessageDecoder,SAMLMessageDecoder
SAML 2.0 ECP/PAOS Decoder.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate BindingDescriptorOptionalBindingDescriptorto inject intoSAMLBindingContextcreated.private final org.slf4j.LoggerClass logger.Fields inherited from class org.opensaml.messaging.decoder.AbstractMessageDecoder
BASE_PROTOCOL_MESSAGE_LOGGER_CATEGORY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoDecode()protected voidGet an optionalBindingDescriptorto inject intoSAMLBindingContextcreated.protected voidpopulateBindingContext(MessageContext messageContext) Populate the context which carries information specific to this binding.protected voidprocessSOAPHeaders(MessageContext messageContext) Process ECP/PAOS headers.voidsetBindingDescriptor(BindingDescriptor descriptor) Set an optionalBindingDescriptorto inject intoSAMLBindingContextcreated.protected voidvalidateHttpRequest(HttpServletRequest request) Methods inherited from class org.opensaml.soap.soap11.decoder.http.impl.HTTPSOAP11Decoder
getBodyHandler, getMessageToLog, setBodyHandlerMethods inherited from class org.opensaml.messaging.decoder.servlet.BaseHttpServletRequestXMLMessageDecoder
decode, getParserPool, serializeMessageForLogging, setParserPool, unmarshallMessageMethods inherited from class org.opensaml.messaging.decoder.servlet.AbstractHttpServletRequestMessageDecoder
getHttpServletRequest, getHttpServletRequestSupplier, isCheckDuringInit, setCheckDuringInit, setHttpServletRequestSupplierMethods inherited from class org.opensaml.messaging.decoder.AbstractMessageDecoder
getMessageContext, getProtocolMessageLogger, getProtocolMessageLoggerSubCategory, logDecodedMessage, setMessageContext, setProtocolMessageLoggerSubCategoryMethods inherited from class net.shibboleth.shared.component.AbstractInitializableComponent
checkComponentActive, checkSetterPreconditions, destroy, doDestroy, ifDestroyedThrowDestroyedComponentException, ifInitializedThrowUnmodifiabledComponentException, ifNotInitializedThrowUninitializedComponentException, initialize, isDestroyed, isInitializedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.shibboleth.shared.component.DestructableComponent
destroy, isDestroyedMethods inherited from interface net.shibboleth.shared.component.InitializableComponent
initialize, isInitializedMethods inherited from interface org.opensaml.messaging.decoder.MessageDecoder
decode, getMessageContext
-
Field Details
-
log
@Nonnull private final org.slf4j.Logger logClass logger. -
bindingDescriptor
OptionalBindingDescriptorto inject intoSAMLBindingContextcreated.
-
-
Constructor Details
-
HTTPECPDecoder
public HTTPECPDecoder()Constructor.
-
-
Method Details
-
getBindingURI
- Specified by:
getBindingURIin interfaceSAMLMessageDecoder
-
getBindingDescriptor
Get an optionalBindingDescriptorto inject intoSAMLBindingContextcreated.- Returns:
- binding descriptor
-
setBindingDescriptor
Set an optionalBindingDescriptorto inject intoSAMLBindingContextcreated.- Parameters:
descriptor- a binding descriptor
-
doInitialize
- Overrides:
doInitializein classHTTPSOAP11Decoder- Throws:
ComponentInitializationException
-
doDecode
- Overrides:
doDecodein classHTTPSOAP11Decoder- Throws:
MessageDecodingException
-
populateBindingContext
Populate the context which carries information specific to this binding.- Parameters:
messageContext- the current message context
-
processSOAPHeaders
Process ECP/PAOS headers.- Parameters:
messageContext- message context
-
validateHttpRequest
protected void validateHttpRequest(@Nonnull HttpServletRequest request) throws MessageDecodingException - Overrides:
validateHttpRequestin classHTTPSOAP11Decoder- Throws:
MessageDecodingException
-