mrclay / shibalike

Shibalike is a PHP library for creating Single Sign On between PHP apps on the same origin by emulating a Shibboleth environment. It has components to query attributes for a user, persist them in a non-native Session implementation, and inject them into the $_SERVER array as would a Shibboleth web server module.
Other
19 stars 0 forks source link

Need to formalize sniffing/alteration of attrs #1

Open mrclay opened 13 years ago

mrclay commented 13 years ago

We don't want the SP or StateManager to take on responsibility for sniffing attributes already in $_SERVER (set by shibd), nor to hold business logic for altering attributes from an outside system, so we need dedicated components we can inject into the SP/IdP to handle this:

Interface Shibalike\Attr\ITransformer could specify an object responsible with modifying attributes from some source the following:

Interface Shibalike\Attr\IDetector specify the following: