<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><br>
</p>
<div class="moz-cite-prefix">On 1/20/19 11:51 PM, Eze Ikonne wrote:<br>
</div>
<blockquote type="cite"
cite="mid:PN1PR01MB075030C698FB1A17D9E55AFB929F0@PN1PR01MB0750.INDPRD01.PROD.OUTLOOK.COM">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Courier New \;color\:\#7F0055";
panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Courier New \;color\:black";
panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
color:black;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
color:black;}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="color:windowtext">Hi Brent,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">Thanks for
the prompt respone. Here is the context that I am using the
BasicSAMLMessageConext …<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><b><span
style="font-size:10.0pt;font-family:"Courier
New";color:#7F0055">final</span></b><span
style="font-size:10.0pt;font-family:"Courier New"">
<u>SAMLMessageContext</u><SAMLObject, SAMLObject,
NameID> context = </span><b><span
style="font-size:10.0pt;font-family:"Courier
New";color:#7F0055">new</span></b><span
style="font-size:10.0pt;font-family:"Courier New"">
BasicSAMLMessageContext<SAMLObject, SAMLObject,
NameID>();</span><span
style="font-size:10.0pt;font-family:"Courier
New";color:windowtext"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-size:10.0pt;font-family:"Courier New"">
context.setInboundSAMLMessage(input);</span><span
style="font-size:10.0pt;font-family:"Courier
New";color:windowtext"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-size:10.0pt;font-family:"Courier New"">
context.setOutboundSAMLMessage(input);</span><span
style="font-size:10.0pt;font-family:"Courier
New";color:windowtext"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-size:10.0pt;font-family:"Courier New"">
context.setLocalEntityId(</span><span
style="font-size:10.0pt;font-family:"Courier
New";color:#2A00FF">"fakeEntityId"</span><span
style="font-size:10.0pt;font-family:"Courier New"">);</span><span
style="font-size:10.0pt;font-family:"Courier
New";color:windowtext"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Courier New"">
</span><b><span
style="font-size:10.0pt;font-family:"Courier
New";color:#7F0055">return</span></b><span
style="font-size:10.0pt;font-family:"Courier New"">
aBuilder.buildArtifact(context);</span></p>
</div>
</blockquote>
<p><br>
</p>
<p>Ok, that's issuance of a SAML artifact. I think that also changed
a bit from v2 to v3, primarily just because of the message
processing changes.<br>
</p>
<p><br>
</p>
<blockquote type="cite"
cite="mid:PN1PR01MB075030C698FB1A17D9E55AFB929F0@PN1PR01MB0750.INDPRD01.PROD.OUTLOOK.COM">
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Courier New""><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Courier New"">Where
would I find the resource that would show me how to
accomplish the same task under opensaml3? Also, could you
point to me where to find the unit test code?<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Courier New""><o:p> </o:p></span></p>
</div>
<br>
</blockquote>
<p><br>
</p>
<p>I'd suggest looking at the unit tests for the related artifact
components. The changes for the above artifact builder usage
probably aren't that substantial.</p>
<p>Per Maven conventions, the unit tests are located under src/test
in each project, or each module in the case of the multi-module
projects (which are the main ones you want: java-opensaml and
java-identity-provider).</p>
<p>Info on source code access is here:
<a class="moz-txt-link-freetext" href="https://wiki.shibboleth.net/confluence/display/DEV/Source+Code+Access">https://wiki.shibboleth.net/confluence/display/DEV/Source+Code+Access</a></p>
<p><br>
</p>
</body>
</html>