<div dir="ltr">Thanks for the reply.<br><br>#1: I have some mapping based on Shibboleth entity Id into my database table, I am able to connect to database using RelationalDatabase DataConnector but to get value from DB I need entityId.<div><br></div><div>#2. Here, I want to understand both part:<br>   I) I can see entityId as Audience but I am not sure how to retrieve it as SP side.? Could you point me to some link or some references so that I can retrieve SP entityId as well as Idp entityId ?<br> 2) I have a idea about Script DataConnector and how to release custom Attribute but I don't know how to retrieve these value in Script?</div><div><br></div><div>Thanks in Advance.<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 14, 2015 at 7:28 PM, Peter Schober <span dir="ltr"><<a href="mailto:peter.schober@univie.ac.at" target="_blank">peter.schober@univie.ac.at</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">* Abdul Waheed <<a href="mailto:waheedtechblog@gmail.com">waheedtechblog@gmail.com</a>> [2015-12-14 14:31]:<br>
<span class="">> I am not sure but is it possible to pass entityId in AuthnStatement to<br>
> Shibboleth SP? I am already sending uid in response AuthnStatement.<br>
<br>
</span>1. Why do you want this?<br>
<br>
2. The Shib IDP should already put the name (entityID) of the SP into<br>
the AuthnStatement, as part of the AudienceRestriction element:<br>
<br>
    <saml2:AudienceRestriction><br>
      <saml2:Audience><a href="https://sp.example.com/Shibboleth" rel="noreferrer" target="_blank">https://sp.example.com/Shibboleth</a></saml2:Audience><br>
    </saml2:AudienceRestriction><br>
<span class=""><br>
> Let me know if this is possible or is there any way to get Shibboleth<br>
> entityId attribute in IdP attribute-resolver.xml file.<br>
<br>
</span>If you want to put the entityID into an attribute it will not be part<br>
of the AuthnStatement, which is what you asked about above. It would<br>
then bean the CDATA content of an AttributeValue element as part of<br>
an AttributeStatement.<br>
<br>
Ignoring that, a Script-type attribute definition has accesst to the<br>
relevant contexts and if you really wanted you could create a custom<br>
attribute with the entityID value of the current relying party into.<br>
The specifics depend on the IDP version, among others.<br>
<span class="HOEnZb"><font color="#888888">-peter<br>
--<br>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.net</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><span style="font-size:12.8000001907349px">Thanks,</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">Abdul.</span><br style="font-size:12.8000001907349px"></div></div>
</div></div>