<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 http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><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:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        line-height:12.0pt;
        mso-line-height-rule:exactly;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma",sans-serif;
        color:black;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        mso-add-space:auto;
        line-height:12.0pt;
        mso-line-height-rule:exactly;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:black;}
p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst
        {mso-style-priority:34;
        mso-style-type:export-only;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        mso-add-space:auto;
        line-height:12.0pt;
        mso-line-height-rule:exactly;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:black;}
p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle
        {mso-style-priority:34;
        mso-style-type:export-only;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        mso-add-space:auto;
        line-height:12.0pt;
        mso-line-height-rule:exactly;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:black;}
p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast
        {mso-style-priority:34;
        mso-style-type:export-only;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        mso-add-space:auto;
        line-height:12.0pt;
        mso-line-height-rule:exactly;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:black;}
span.EmailStyle151
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle161
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle171
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle181
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle191
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle20
        {mso-style-type:personal-compose;
        font-family:"Times New Roman",serif;
        color:windowtext;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma",sans-serif;
        color:black;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
.MsoPapDefault
        {mso-style-type:export-only;
        line-height:12.0pt;
        mso-line-height-rule:exactly;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
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-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:windowtext">Good Morning:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:windowtext">We are running Shibboleth 2.5.4 and purely as an SP.  I was looking to filter which attributes to process based on a specific IdP entityID using something similar to the
 Attribute Filters in which an IdP would send to a given SP, in a “simpler” manner than using post-processing hooks.  Can this be achieved with rules by attribute-policy or similar?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:windowtext">Use Case:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:windowtext">5 IdPs send the same format for the same urn:oid, but one’s format needs to be filtered (let’s say sAMAccountName may have an undesired underscore).<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:windowtext">That same value without the underscore is in a different urn:oid sent by said IdP.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:windowtext">Unfortunately, that OID is used throughout the application for other reasons and would like to only map this attribute to an environment variable on the SP if IdP entityID
 = X<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:windowtext">I haven’t looked a lot at post processing hooks and what is involved and was hoping something simple such as the IdP form of attribute-filter would be available in SP.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:windowtext">Thanks in advance,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:windowtext">Izz<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Times New Roman",serif;color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height:normal"><b><span style="font-size:14.0pt;font-family:"Verdana",sans-serif;color:#0090CA">Izz Abdullah<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height:normal"><b><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#6D6E70">Sr. Systems Engineer<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height:normal"><b><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#6D6E70"><img width="151" height="50" id="Picture_x0020_1" src="cid:image001.gif@01D0B25A.B2D0BF10" alt="wepa-email-logo"><o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height:normal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:windowtext"><img width="17" height="14" id="Picture_x0020_2" src="cid:image002.gif@01D0B25A.B2D0BF10" alt="email-icons_03"><a href="mailto:izz.abdullah@wepanow.com"><span style="color:#0563C1">izz.abdullah@wepanow.com</span></a><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:normal"><b><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#0090CA"><img border="0" width="17" height="14" id="Picture_x0020_3" src="cid:image003.gif@01D0B25A.B2D0BF10" alt="email-icons_06"></span></b><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#0090CA">Toll
 Free 1(800)675-7639<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:normal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#0090CA"><img border="0" width="17" height="14" id="Picture_x0020_4" src="cid:image004.gif@01D0B25A.B2D0BF10" alt="email-icons_05">100 Gilbert
 Drive </span><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#6E6F61">|
</span><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#0090CA">Alabaster, Alabama 35007<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>