|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opensaml.saml2.binding.encoding.HTTPArtifactEncoderBuilder
public class HTTPArtifactEncoderBuilder
Builder of HTTPArtifactEncoder
s.
Constructor Summary | |
---|---|
HTTPArtifactEncoderBuilder(SAMLArtifactFactory factory,
SAMLArtifactMap map)
Constructor. |
|
HTTPArtifactEncoderBuilder(SAMLArtifactFactory factory,
SAMLArtifactMap map,
org.apache.velocity.app.VelocityEngine engine,
java.lang.String templatePath)
Constructor. |
Method Summary | |
---|---|
MessageEncoder |
buildEncoder()
Creates a new instance of the message encoder. |
protected void |
registerTemplate(java.lang.String templatePath)
Gets the template from the classpath and registers it with the velocity engine. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HTTPArtifactEncoderBuilder(SAMLArtifactFactory factory, SAMLArtifactMap map)
factory
- factory used to create artifactsmap
- artifact map used to store create artifact informationpublic HTTPArtifactEncoderBuilder(SAMLArtifactFactory factory, SAMLArtifactMap map, org.apache.velocity.app.VelocityEngine engine, java.lang.String templatePath) throws java.io.IOException
factory
- factory used to create artifactsmap
- artifact map used to store create artifact informationengine
- velocity engine used during POST encodingtemplatePath
- classpath location of the POST encoding template
java.io.IOException
- thrown if the template can not be read from the classpathMethod Detail |
---|
public MessageEncoder buildEncoder()
buildEncoder
in interface MessageEncoderBuilder
protected void registerTemplate(java.lang.String templatePath) throws java.io.IOException
templatePath
- classpath location of the template
java.io.IOException
- thrown if the template can not be read from the classpath
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |