<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style>
<!--
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
@font-face
        {font-family:Tahoma}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
span.EmailStyle17
        {font-family:"Calibri","sans-serif";
        color:#1F497D}
.MsoChpDefault
        {font-size:10.0pt}
@page WordSection1
        {margin:72.0pt 72.0pt 72.0pt 72.0pt}
div.WordSection1
        {}
-->
</style>
</head>
<body lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">Thanks Nate,</span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> Still nothing about the attribute on shib two page but in the idp-process.log the value of the attribute is
<a href="mailto:staff@livjm.ac.uk">staff@livjm.ac.uk</a>, which is correct for me.:</span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"><?xml version="1.0" encoding="UTF-8"?><saml2:Assertion xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion" ID="_1c2498ae44ff89a098de38db3db6ab25" IssueInstant="2012-11-20T17:22:16.757Z"
Version="2.0" xmlns:xs="http://www.w3.org/2001/XMLSchema"></span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> <saml2:Issuer Format="urn:oasis:names:tc:SAML:2.0:nameid-format:entity">https://java.cms.livjm.ac.uk/idp/shibboleth</saml2:Issuer></span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#"></span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> <ds:SignedInfo></span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/></span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/></span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> <ds:Reference URI="#_1c2498ae44ff89a098de38db3db6ab25"></span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> <ds:Transforms></span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> <ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/></span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> <ec:InclusiveNamespaces xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#" PrefixList="xs"/></span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </ds:Transform></span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </ds:Transforms></span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/></span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> <ds:DigestValue>R8n3YVUWB1RqrQjTq/HfatM3iAI=</ds:DigestValue></span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </ds:Reference></span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </ds:SignedInfo></span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> <ds:SignatureValue>TrfcXGFWHYmANXpg9AHKit4WilVIQVmBb1eK70NdJuXlp8Ld3OusghhJqrPOOHyjoZej1oomayr5/o2sc/u1OU7PsvDtD3hLjdC+eJRdJUnK3SJhZTEQka/YNlBAE1k8dpbDRxZq28LtW3g25O/jyyRABpVVKLy89oDqD9puw9mACc+C/wiJAnowYbVTzegZLwB8EzKKSTIK3SC/Yv7lUgqsmrfudjzl7iAZoG/RMuWRZoEMlEv5TCS66A4GnfxxPaw0vkExb9IPIUfPouxOVvJRGHh/wSFUmYKvlkSnVGz/boCorm0d+rIFWzE2g/ObqaFa/L426iI5+CiFXFHJww==</ds:SignatureValue></span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> <ds:KeyInfo></span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> <ds:X509Data></span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> <ds:X509Certificate>MIIDOzCCAiOgAwIBAgIUAxwrx4Sn98FDukGSOhoUmhhWntEwDQYJKoZIhvcNAQEFBQAwHzEdMBsG</span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">A1UEAxMUamF2YS5jbXMubGl2am0uYWMudWswHhcNMTIxMTA5MTIxODA2WhcNMzIxMTA5MTIxODA2</span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">WjAfMR0wGwYDVQQDExRqYXZhLmNtcy5saXZqbS5hYy51azCCASIwDQYJKoZIhvcNAQEBBQADggEP</span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">ADCCAQoCggEBAJ4n/7WV1UKuIo/i10qyFuXLQDbrtJBxN17EfIvFW+EUmPLxIFiKVGc9Cgatv6vV</span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">P33XWaSWYKrw9bv3CmgYwuw8obAmd62CPRVEIoU4LqBZHgMciM0Aujta28Gp2CAnFMq6csc+Z6gy</span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">9X9lAaWxU82OWzp8rbrG79JR07QTG2pU7gpHyEYRRyuTawhtVsorYQmHWs42cuYc+LjclzVqDi/i</span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">XSvwi3AHSBUdjR1HEml8QUjUqSbvgZH3gM7wWGKGOj4hgH4ts/BzwYUBRjnJDkwiwUh+jzm+moBa</span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">Y4ICYjszlBq7rOxkuHnicKLuKYiPNW2+/a9v39yWQ+L6QUVgyCECAwEAAaNvMG0wTAYDVR0RBEUw</span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">Q4IUamF2YS5jbXMubGl2am0uYWMudWuGK2h0dHBzOi8vamF2YS5jbXMubGl2am0uYWMudWsvaWRw</span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">L3NoaWJib2xldGgwHQYDVR0OBBYEFNLsUhuag+qDR3uPTah5SeGjlOW9MA0GCSqGSIb3DQEBBQUA</span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">A4IBAQCQaK46J3N9SYlWmFeeqhvrNgq/sKBLC9MUs8u1RY7gdhi1tQ9k+GfksArpLLUzHP+Tfx38</span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">/lQChXjvUAp30tJJFHr0iQxQBvnD6xxI3GiRugusRx9QRN6KgUAVDCYQGq13YxRnjIKiKjHL7FCf</span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">Tn2WPXTUvQCvOPXurL9v4yQyNksYMGcYlgCW1DvROFLY1RyGdcJRc+xhij/Fe++QaOBqbYe0buQW</span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">L3Nh4iJ/jCMqoSM6BJtUSAqw43ss1VjEDMSF27wBtXFJpCTfqi0q11rvXcN1ocKJ8yWVwXqxl7a/</span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">tFLbobI7zRliodYzeSHDP4y8M7yM47fmuZhVxJG4fU5V</ds:X509Certificate></span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </ds:X509Data></span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </ds:KeyInfo></span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </ds:Signature></span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> <saml2:Subject></span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> <saml2:NameID Format="urn:oasis:names:tc:SAML:2.0:nameid-format:transient" NameQualifier="https://java.cms.livjm.ac.uk/idp/shibboleth" SPNameQualifier="https://sp.testshib.org/shibboleth-sp">_72b930f6045a9cae339dfccfc9ce22a9</saml2:NameID></span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> <saml2:SubjectConfirmation Method="urn:oasis:names:tc:SAML:2.0:cm:bearer"></span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> <saml2:SubjectConfirmationData Address="150.204.48.5" InResponseTo="_2afbff35ff47b034fa40130098587882" NotOnOrAfter="2012-11-20T17:27:16.757Z" Recipient="https://sp.testshib.org/Shibboleth.sso/SAML2/POST"/></span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </saml2:SubjectConfirmation></span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </saml2:Subject></span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> <saml2:Conditions NotBefore="2012-11-20T17:22:16.757Z" NotOnOrAfter="2012-11-20T17:27:16.757Z"></span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> <saml2:AudienceRestriction></span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> <saml2:Audience>https://sp.testshib.org/shibboleth-sp</saml2:Audience></span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </saml2:AudienceRestriction></span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </saml2:Conditions></span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> <saml2:AuthnStatement AuthnInstant="2012-11-20T17:22:16.594Z" SessionIndex="e75286d8dbee1ffc996a0598178b546fb9b45a646cee0792d0bd78a2062747f1"></span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> <saml2:SubjectLocality Address="150.204.48.5"/></span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> <saml2:AuthnContext></span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> <saml2:AuthnContextClassRef>urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport</saml2:AuthnContextClassRef></span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </saml2:AuthnContext></span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </saml2:AuthnStatement></span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> <saml2:AttributeStatement></span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> <saml2:Attribute FriendlyName="eduPersonScopedAffiliation" Name="urn:oid:1.3.6.1.4.1.5923.1.1.1.1" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"></span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> <saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:string">staff@livjm.ac.uk</saml2:AttributeValue></span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </saml2:Attribute></span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </saml2:AttributeStatement></span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"></saml2:Assertion></span></p>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<div>
<div style="border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt; font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt; font-family:"Tahoma","sans-serif""> users-bounces@shibboleth.net [mailto:users-bounces@shibboleth.net]
<b>On Behalf Of </b>Nate Klingenstein<br>
<b>Sent:</b> 20 November 2012 17:08<br>
<b>To:</b> Shib Users<br>
<b>Subject:</b> Re: Passing attributes to testshib two</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<p class="MsoNormal">David,</p>
<div>
<p class="MsoNormal"> </p>
<div>
<blockquote style="margin-top:5.0pt; margin-bottom:5.0pt">
<div>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">Well I could just use a text editor but is that the way ?</span></p>
</div>
</blockquote>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">That's certainly "a" way and the most common way.</p>
</div>
<p class="MsoNormal"><br>
<br>
</p>
<div>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> "include that scope in the attribute value that is generated by the script"</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:16.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">Sorry to appear dumb but could you elaborate / give example ?</span></p>
</div>
<p class="MsoNormal"> </p>
</div>
</div>
<div>
<p class="MsoNormal">I think all you need to do is add the scope that matches your metadata as part of the value set, like getValues().add("<a href="mailto:member@livjm.ac.uk">member@livjm.ac.uk</a>")</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Take care,</p>
</div>
<div>
<p class="MsoNormal">Nate.</p>
</div>
</div>
<br>
<hr>
<font face="Tahoma" size="2"><b><i>Important Notice:<i></b><i> the information in this email and any attachments is for the sole use of the intended recipient(s). If you are not an intended recipient, or a person responsible for delivering it to an intended
recipient, you should delete it from your system immediately without disclosing its contents elsewhere and advise the sender by returning the email or by telephoning a number contained in the body of the email. No responsibility is accepted for loss or damage
arising from viruses or changes made to this message after it was sent. The views contained in this email are those of the author and not necessarily those of Liverpool John Moores University.<i></font>
</i></i></i></i>
</body>
</html>