<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>
<div>
<div>Hello,</div>
<div><br>
</div>
<div>I have a need to supply an email attribute to an SP that logs users in with an alternative email address.</div>
<div><br>
</div>
<div>For example, instead of sending <b>principaluser@example.com</b> I need to send
<b>principaluser@alternateexample.com</b>. I would prefer not to keep a second email address element in AD for the other domain.</div>
<div><br>
</div>
<div>Is it possible to set up a static connector to do this? I tried the following below and it didn't work. I don't think %PRINCIPAL% is supported in Shib 2?</div>
<div><br>
</div>
<div>
<div><b><resolver:DataConnector id="staticEmail" xsi:type="dc:Static" xmlns="urn:mace:shibboleth:2.0:resolver:dc"></b></div>
<div><b> <Attribute id="emailUsername"></b></div>
<div><b> <Value>%PRINCIPAL%@alternateexample.com</Value></b></div>
<div><b> </Attribute></b></div>
<div><b></resolver:DataConnector></b></div>
</div>
<div><br>
</div>
<div>Any ideas would be appreciated.</div>
<div><br>
</div>
<div>Thanks,</div>
<div><br>
</div>
<div>
<div>
<div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; font-family: Calibri; font-size: medium; ">
<font class="Apple-style-span" face="Calibri" size="3">Joseph Lucia</font></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; font-family: Calibri; font-size: medium; ">
Central York School District</div>
</div>
</div>
</div>
</div>
</div>
<font size="2">-- <br>
CONFIDENTIALITY NOTICE – This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure, or distribution is prohibited. If you
are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.
</font>
</body>
</html>