set REMOTE_USER according to different IdPs

Cantor, Scott cantor.2 at osu.edu
Thu Jun 19 11:15:01 EDT 2014


On 6/19/14, 10:59 AM, "Stefano Zanmarchi" <zanmarchi at gmail.com> wrote:

>we need to set REMOTE_USER (SP running on apache) with the value
>of a certain attribute if the authenticated user comes from IdP A
>and with another attribute if she comes from IdP B.
>
>How can we do that?

No easy way. About the only way would be filtering, I think. You'd have to
guarantee that each attribute was only populated by one IdP and then you
can just use the usual list of attributes in REMOTE_USER.

Could be that mod_rewrite could do something here.

-- Scott




More information about the users mailing list