...
You can find all the templates inside the opensaml-saml-impl.jar library if you want to examine or copy them (the exact version of the jar filename will vary):
Code Block |
---|
$ jar tf webapp/WEB-INF/lib/opensaml-saml-impl-35.40.0.jar | grep templates templates/ templates/add-html-body-content.vm templates/add-html-head-content.vm templates/saml1-post-binding.vm templates/saml2-post-artifact-binding.vm templates/saml2-post-binding.vm templates/saml2-post-simplesign-binding.vm |
The two additions you can make to the default Velocity templates without replacing them are to add HTML markup (actually, Velocity Template Language, which can be a mix of standard HTML markup and Velocity statements) to theĀ <head>
section, and/or to add HTML(VTL) markup to theĀ <body>
section. You do that by creating one or both of the following files (again relative to idp.home):
views/templates/add-html-head-content.vm
views/templates/add-html-body-content.vm
Examples
Using "add-html-head-content.vm"
...