<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
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
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
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]--></head><body lang=EN-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Thanks Ashok<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>That worked perfectly!<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><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>Ashok Kumar<br><b>Sent:</b> 10 August 2011 18:14<br><b>To:</b> Shib Users<br><b>Subject:</b> Re: How to append a string to IdP attribute<o:p></o:p></span></p></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'>You may map like the following..<br><br>Here domain name is your domain name.<br><br><br>&lt;resolver:AttributeDefinition id=&quot;eduPersonPrincipalName&quot; xsi:type=&quot;Scoped&quot; xmlns=&quot;urn:mace:shibboleth:2.0:resolver:ad&quot;<br>&nbsp;&nbsp;&nbsp; scope=&quot;domain-name&quot; sourceAttributeID=&quot;uid&quot;&gt;<br><br>&nbsp;&lt;resolver:Dependency ref=&quot;my_LDAP&quot; /&gt;<br><br>&nbsp;&nbsp;&nbsp; &lt;resolver:AttributeEncoder xsi:type=&quot;SAML1ScopedString&quot; xmlns=&quot;urn:mace:shibboleth:2.0:attribute:encoder&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; name=&quot;urn:mace:dir:attribute-def:eduPersonPrincipalName&quot; /&gt;<br><br>&nbsp;&nbsp;&nbsp; &lt;!-- additional definition for use with commercial SAML 1.1 SPs --&gt;<br>&nbsp;&nbsp;&nbsp; &lt;resolver:AttributeEncoder xsi:type=&quot;SAML1ScopedString&quot; xmlns=&quot;urn:mace:shibboleth:2.0:attribute:encoder&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; name=&quot;urn:oid:1.3.6.1.4.1.5923.1.1.1.6&quot; scopeType=&quot;inline&quot; /&gt;<br><br>&nbsp;&nbsp;&nbsp; &lt;resolver:AttributeEncoder xsi:type=&quot;SAML2ScopedString&quot; xmlns=&quot;urn:mace:shibboleth:2.0:attribute:encoder&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; name=&quot;urn:oid:1.3.6.1.4.1.5923.1.1.1.6&quot; friendlyName=&quot;eduPersonPrincipalName&quot; /&gt;<br>&lt;/resolver:AttributeDefinition&gt;<br><br>Thanks,<br>-Ashok<o:p></o:p></p><div><p class=MsoNormal>On Wed, Aug 10, 2011 at 7:02 AM, Cantor, Scott E. &lt;<a href="mailto:cantor.2@osu.edu">cantor.2@osu.edu</a>&gt; wrote:<o:p></o:p></p><p class=MsoNormal>On 8/10/11 9:26 AM, &quot;Sukesh Nischal&quot; &lt;<a href="mailto:Sukesh.Nischal@itslearning.com">Sukesh.Nischal@itslearning.com</a>&gt;<br>wrote:<o:p></o:p></p><div><div><p class=MsoNormal style='margin-bottom:12.0pt'>&gt;Iım trying to create a SAML2 attribute on the IdP using LDAP as a data<br>&gt;source. Iım pulling &nbsp;in the &nbsp;sAMAccountName and I want to append a string<br>&gt;like ³@domain² to it and map it to eduPersonPrincipalName , so I end up<br>&gt;releasing sAMAccountName@domain. Iıve had a look at the documentation for<br>&gt;SAML 2 String Attribute Encoder but I canıt see how you can do this.<br>&gt;Could someone please advise me of the correct syntax I need to put in my<br>&gt;attribute-resolver.xml &nbsp;?<o:p></o:p></p></div></div><p class=MsoNormal>EPPN is scoped, you need to use the Scoped attribute definition and just<br>supply the value to append in the configuration.<br><span style='color:#888888'><br>-- Scott</span><o:p></o:p></p><div><div><p class=MsoNormal><br>--<br>To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.net</a><o:p></o:p></p></div></div></div><p class=MsoNormal style='margin-bottom:12.0pt'><br><br clear=all><br>-- <br><br><br><br><br><br><br><o:p></o:p></p></div></body></html>