<html 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 http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Consolas",serif;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">You can make a new filter policy just for that SP and set a deny rule on eduPersonScopedAffiliation. Deny rules always win.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:12.0pt;color:black">From: </span></b><span style="font-size:12.0pt;color:black">users <users-bounces@shibboleth.net> on behalf of Jason Rotunno <jrotunno@swarthmore.edu><br>
<b>Reply-To: </b>Shib Users <users@shibboleth.net><br>
<b>Date: </b>Friday, November 12, 2021 at 11:01 AM<br>
<b>To: </b>Shib Users <users@shibboleth.net><br>
<b>Subject: </b>Help with Specific Attribute Filter<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Hey All,<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">We're running Shibboleth IdP 4.0.1 and have an attribute filter to release a set of core attributes to InCommon members:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<blockquote style="margin-left:30.0pt;margin-right:0in">
<div>
<p class="MsoNormal"><!-- Attribute release for all InCommon SPs --><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><AttributeFilterPolicy id="releaseToInCommon">      <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    <PolicyRequirementRule xsi:type="EntityAttributeExactMatch"<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">                    attributeName="<a href="https://urldefense.com/v3/__http:/macedir.org/entity-category__;!!IBzWLUs!C1_TXp1E72lGzoj5JEZUiCuW6FAg9rdwyUb7lM-x_3jFmBNhnvXgmLo9OKR5pA$">http://macedir.org/entity-category</a>"<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">                    attributeValue="<a href="https://urldefense.com/v3/__http:/id.incommon.org/category/registered-by-incommon__;!!IBzWLUs!C1_TXp1E72lGzoj5JEZUiCuW6FAg9rdwyUb7lM-x_3jFmBNhnvXgmLp5-Y-UWg$">http://id.incommon.org/category/registered-by-incommon</a>"/><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    <AttributeRule attributeID="eduPersonPrincipalName"><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">        <PermitValueRule xsi:type="ANY" /><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    </AttributeRule><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    <AttributeRule attributeID="eduPersonScopedAffiliation"><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">        <PermitValueRule xsi:type="ANY" /><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    </AttributeRule><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    <AttributeRule attributeID="givenName"><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">        <PermitValueRule xsi:type="ANY" /><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    </AttributeRule><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    <AttributeRule attributeID="surname"><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">        <PermitValueRule xsi:type="ANY" /><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    </AttributeRule><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    <AttributeRule attributeID="displayName"><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">        <PermitValueRule xsi:type="ANY" /><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    </AttributeRule><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    <AttributeRule attributeID="email"><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">        <PermitValueRule xsi:type="ANY" /><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    </AttributeRule><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"></AttributeFilterPolicy><o:p></o:p></p>
</div>
</blockquote>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">There's a particular InCommon SP for which we have to omit sending the eduPersonScopedAffiliation attribute and I haven't been able to figure out how to do that. Does anyone have an idea of how to achieve this?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Jason<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal">-- <o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<pre>Jason Rotunno<o:p></o:p></pre>
<pre>System & Security Administrator<o:p></o:p></pre>
<pre>Swarthmore College<o:p></o:p></pre>
<pre>500 College Ave<o:p></o:p></pre>
<pre>Swarthmore, PA 19081<o:p></o:p></pre>
<pre>610.328.8505<o:p></o:p></pre>
<pre><b>VERIFY before you click!!</b><o:p></o:p></pre>
<pre>  - Attackers make their emails look like they come from someone they don't.<o:p></o:p></pre>
<pre>  - Attackers make links look like they go to websites they don't.<o:p></o:p></pre>
<pre>  - Attackers disguise malware as receipts, invoices, faxes, etc.<o:p></o:p></pre>
<pre>Forward suspicious emails to <a href="mailto:phishing@swarthmore.edu" target="_blank"><span style="font-family:"Arial",sans-serif">phishing@swarthmore.edu</span></a><span style="font-family:"Arial",sans-serif">.</span><o:p></o:p></pre>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>