<div dir="ltr">Hi all.<div><br></div><div>I have an IDPv3 and I need to perform different password transforms for two different SPs.  Is there a way to say to use one transform for one SP and a different transform for a different SP?</div><div><br></div><div>Is there a generic or idiomatic way to make setting only apply to particular SPs in shibboleth?  I imagine it comes up a lot.  The PolicyRequirementRule in the attribute filter is the closest thing I've seen, but I doubt that would work in password-authn-config.xml.  Or maybe I'm thinking about it wrong.  Maybe you add the transform the relaying party config?</div><div><br></div><div>Here's the whole situation, if you haven't already fallen asleep or answered my question:</div><div><br></div><div>We're a campus within a district.  The district recently set up a district-wide AD server, and I'm using that as the LDAP back-end for my shib system.  Our Google apps domain is different from the district domain, but I've set up provisioning so the Google accounts have the same username part of the user's email address.  </div><div><br></div><div>EG a google account might look like <a href="mailto:alice.smith@campus.edu">alice.smith@campus.edu</a> and the district account might look like <a href="mailto:alice.smith@district.edu">alice.smith@district.edu</a>.</div><div><br></div><div>Because our Google domain is our own campus thing, it expects logins like <a href="mailto:alice.smith@campus.edu">alice.smith@campus.edu</a>.  The other SP we use is set up expects logins like <a href="mailto:alice.smith@district.edu">alice.smith@district.edu</a>.</div><div><br></div><div>I set up a regex transform so users could enter just the username or the username and domain for the SP I've allready got working.  Obviously, this same transform will not work with google.</div><div><br></div><div>Sorry to keep going, but I have a habit of not making sense, so I'm trying to be thorough.  Please ignore if you like.</div><div><br></div><div>User enters username "alice.smith"</div><div>Google expects "<a href="mailto:alice.smith@campus.edu">alice.smith@campus.edu</a>"</div><div>Other SP expects "<a href="mailto:alice.smith@district.edu">alice.smith@district.edu</a>"</div><div><br></div><div>Hopefully that makes sense.  Sorry if this is documented somewhere and I missed it.</div><div><br></div><div>Thanks!</div><div>-Dylan</div></div>