SP 2.5.2 / PHP / metadataAttributePrefix
Cantor, Scott
cantor.2 at osu.edu
Thu Apr 16 20:09:36 EDT 2015
On 4/16/15, 7:51 PM, "Phil Lello" <phil at dunlop-lello.uk> wrote:
>
>However, it looks like I can use attributePrefix instead, look for that prefix in environment variables, exclude things starting with 'Shib-', and be left with a map of released attributes.
Using an attribute prefix is not the norm, but you seem to be trying to collect all of the user attributes into a map as opposed to just accessing what it is that you want to access. To do that, I would imagine that you would add a prefix, yes.
> It just feels a little convoluted, which makes me think I'm missing
> something (more than likely given it's approaching 1:00AM)
Well, it isn't the intention that you go after an undefined set of variables, so it isn't normally necessary to prefix them. You would normally access something mapped to "eppn" by accessing "eppn", which isn't convoluted at all.
Apart from that, you're just confusing metadata-based attributes about the IdP with attributes about the user/subject and you're looking at settings and plugins that deal with the former, not the latter.
-- Scott
More information about the users
mailing list