<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> </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> </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> </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><resolver:AttributeDefinition id="eduPersonPrincipalName" xsi:type="Scoped" xmlns="urn:mace:shibboleth:2.0:resolver:ad"<br> scope="domain-name" sourceAttributeID="uid"><br><br> <resolver:Dependency ref="my_LDAP" /><br><br> <resolver:AttributeEncoder xsi:type="SAML1ScopedString" xmlns="urn:mace:shibboleth:2.0:attribute:encoder"<br> name="urn:mace:dir:attribute-def:eduPersonPrincipalName" /><br><br> <!-- additional definition for use with commercial SAML 1.1 SPs --><br> <resolver:AttributeEncoder xsi:type="SAML1ScopedString" xmlns="urn:mace:shibboleth:2.0:attribute:encoder"<br> name="urn:oid:1.3.6.1.4.1.5923.1.1.1.6" scopeType="inline" /><br><br> <resolver:AttributeEncoder xsi:type="SAML2ScopedString" xmlns="urn:mace:shibboleth:2.0:attribute:encoder"<br> name="urn:oid:1.3.6.1.4.1.5923.1.1.1.6" friendlyName="eduPersonPrincipalName" /><br></resolver:AttributeDefinition><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. <<a href="mailto:cantor.2@osu.edu">cantor.2@osu.edu</a>> wrote:<o:p></o:p></p><p class=MsoNormal>On 8/10/11 9:26 AM, "Sukesh Nischal" <<a href="mailto:Sukesh.Nischal@itslearning.com">Sukesh.Nischal@itslearning.com</a>><br>wrote:<o:p></o:p></p><div><div><p class=MsoNormal style='margin-bottom:12.0pt'>>Iım trying to create a SAML2 attribute on the IdP using LDAP as a data<br>>source. Iım pulling in the sAMAccountName and I want to append a string<br>>like ³@domain² to it and map it to eduPersonPrincipalName , so I end up<br>>releasing sAMAccountName@domain. Iıve had a look at the documentation for<br>>SAML 2 String Attribute Encoder but I canıt see how you can do this.<br>>Could someone please advise me of the correct syntax I need to put in my<br>>attribute-resolver.xml ?<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>