<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p><br>
</p>
<br>
<div class="moz-cite-prefix">On 1/3/17 5:03 PM, Marc Boorshtein
wrote:<br>
</div>
<blockquote
cite="mid:CAJEX5ot-5Ay8G2qagHqW7AmejhJBgF7HAWtAHpMK348Z90-UGg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<div><br>
</div>
<div> I see you have velocity templates in there. Are they
easily customizable? <br>
</div>
</div>
</div>
</div>
</blockquote>
<br>
Yes, pretty easily. The default ones are in opensaml-saml-impl,
under the "/templates" resources path. You could copy those
elsewhere and modify them. There's plenty of inline docs in the
templates on the supported context attributes. Then you would use
by either 1) setting a different template ID on the encoder (i.e.
point to a different classpath resource name, from your own jar) or
2) set up the injected VelocityEngine to look at say an external
filesystem path (outside of a jar) in preference to, or instead of,
a classpath resource; this would just be standard Velocity stuff,
see their docs.<br>
<br>
We support #2 by out of the box in the v3 IdP. Take a look at how
we set up the VelocityEngine bean in
/idp-conf/src/main/resources/system/conf/global-system.xml.<br>
</body>
</html>