* Daum <
mat...@gmail.com> [2015-09-04 17:22]:
> Understood - this is a Symfony2 application. We're using the PDOSession
> handler for sessions.
How you handle sessions in your application, i.e. in the external
authentication provide, is totally irrelevant here.
E.g. it could be an Apache httpd mod_auth_* module protecting a
certain path, which could be using any kind of storage layer or API,
and might be written in C, not PHP.
The only thing that counts for an authsource is that you can bootstrap
a SimpleSAMLphp session from an existing session in another system.
In the above example you would get the authenticated subject's
username from e.g. $_SERVER['REMOTE_USER'] -- by protecting part of
the authsource code with Apache httpd, which will then set REMOTE_USER
after authN -- then use that value as a key to look up additional
profile data from the application's persistence layer (e.g. an RDBMS).
Does that help?
-peter