public class Pac4jHTTPPostDecoder
extends org.opensaml.messaging.decoder.AbstractMessageDecoder<org.opensaml.saml.common.SAMLObject>
AbstractMessageDecoder
as intermediate classes use the J2E HTTP request.
It's mostly a copy/paste of the source code of these intermediate opensaml classes.Constructor and Description |
---|
Pac4jHTTPPostDecoder(WebContext context) |
Modifier and Type | Method and Description |
---|---|
protected void |
doDecode() |
protected void |
doDestroy() |
protected void |
doInitialize() |
protected InputStream |
getBase64DecodedMessage() |
String |
getBindingURI() |
net.shibboleth.utilities.java.support.xml.ParserPool |
getParserPool()
Gets the parser pool used to deserialize incoming messages.
|
protected void |
populateBindingContext(org.opensaml.messaging.context.MessageContext<org.opensaml.saml.common.SAMLObject> messageContext)
Populate the context which carries information specific to this binding.
|
void |
setParserPool(net.shibboleth.utilities.java.support.xml.ParserPool pool)
Sets the parser pool used to deserialize incoming messages.
|
protected org.opensaml.core.xml.XMLObject |
unmarshallMessage(InputStream messageStream)
Helper method that deserializes and unmarshalls the message from the given stream.
|
decode, getMessageContext, setMessageContext
destroy, initialize, isDestroyed, isInitialized
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public Pac4jHTTPPostDecoder(WebContext context)
protected void doDecode() throws org.opensaml.messaging.decoder.MessageDecodingException
doDecode
in class org.opensaml.messaging.decoder.AbstractMessageDecoder<org.opensaml.saml.common.SAMLObject>
org.opensaml.messaging.decoder.MessageDecodingException
protected InputStream getBase64DecodedMessage() throws org.opensaml.messaging.decoder.MessageDecodingException
org.opensaml.messaging.decoder.MessageDecodingException
protected void doDestroy()
doDestroy
in class org.opensaml.messaging.decoder.AbstractMessageDecoder<org.opensaml.saml.common.SAMLObject>
protected void doInitialize() throws net.shibboleth.utilities.java.support.component.ComponentInitializationException
doInitialize
in class net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
net.shibboleth.utilities.java.support.component.ComponentInitializationException
protected void populateBindingContext(org.opensaml.messaging.context.MessageContext<org.opensaml.saml.common.SAMLObject> messageContext)
messageContext
- the current message contextpublic String getBindingURI()
protected org.opensaml.core.xml.XMLObject unmarshallMessage(InputStream messageStream) throws org.opensaml.messaging.decoder.MessageDecodingException
messageStream
- input stream containing the messageorg.opensaml.messaging.decoder.MessageDecodingException
- thrown if there is a problem deserializing and unmarshalling the message@Nonnull public net.shibboleth.utilities.java.support.xml.ParserPool getParserPool()
public void setParserPool(@Nonnull net.shibboleth.utilities.java.support.xml.ParserPool pool)
pool
- parser pool used to deserialize incoming messagesCopyright © 2017. All Rights Reserved.