public class Pac4jHTTPPostSimpleSignEncoder
extends org.opensaml.saml.saml2.binding.encoding.impl.HTTPPostSimpleSignEncoder
HTTPPostSimpleSignEncoder
.Constructor and Description |
---|
Pac4jHTTPPostSimpleSignEncoder(Pac4jSAMLResponse responseAdapter) |
Modifier and Type | Method and Description |
---|---|
protected void |
doInitialize()
Check component attributes.
|
protected URI |
getEndpointURL(org.opensaml.messaging.context.MessageContext<org.opensaml.saml.common.SAMLObject> messageContext)
Gets the response URL from the message context.
|
protected void |
postEncode(org.opensaml.messaging.context.MessageContext<org.opensaml.saml.common.SAMLObject> messageContext,
String endpointURL) |
buildFormDataToSign, buildKeyInfo, generateSignature, getBindingURI, getSignatureAlgorithmURI, populateVelocityContext
doDestroy, doEncode, getVelocityEngine, getVelocityTemplateId, setVelocityEngine, setVelocityTemplateId
encode, getMessageToLog, logEncodedMessage, marshallMessage
getHttpServletResponse, setHttpServletResponse
getMessageContext, prepareContext, setMessageContext
destroy, initialize, isDestroyed, isInitialized
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
encode, prepareContext, setMessageContext
public Pac4jHTTPPostSimpleSignEncoder(Pac4jSAMLResponse responseAdapter)
protected URI getEndpointURL(org.opensaml.messaging.context.MessageContext<org.opensaml.saml.common.SAMLObject> messageContext) throws org.opensaml.messaging.encoder.MessageEncodingException
getEndpointURL
in class org.opensaml.saml.saml2.binding.encoding.impl.BaseSAML2MessageEncoder
messageContext
- current message contextorg.opensaml.messaging.encoder.MessageEncodingException
- throw if no relying party endpoint is availableprotected void postEncode(org.opensaml.messaging.context.MessageContext<org.opensaml.saml.common.SAMLObject> messageContext, String endpointURL) throws org.opensaml.messaging.encoder.MessageEncodingException
postEncode
in class org.opensaml.saml.saml2.binding.encoding.impl.HTTPPostEncoder
org.opensaml.messaging.encoder.MessageEncodingException
protected void doInitialize() throws net.shibboleth.utilities.java.support.component.ComponentInitializationException
doInitialize
in class org.opensaml.saml.saml2.binding.encoding.impl.HTTPPostEncoder
net.shibboleth.utilities.java.support.component.ComponentInitializationException
- if initialization failsCopyright © 2019. All rights reserved.