[shib_auth] Mock Shibboleth logins in development?
Kristof Bajnok
bajnokk at niif.hu
Tue Jan 17 21:53:30 CET 2012
Hi John,
On 13/01/12 22:23, John Kary wrote:
> Is there a way to test fake logins with shib_auth when in a
> development environment (e.g. localhost) where Shibboleth is not
> configured? I couldn't find anything in the documentation about it,
> but is there anywhere I could look?
No, this is not a supported behaviour. Just the other way: Shibboleth
takes numerous steps to avoid a session to be forged.
> I basically want to setup several mock users with simulated
> attributes so I can manually test parts of my Drupal install.
>
> I could simulate $_SERVER variables on my localhost that are used in
> a production environment, but not sure how that will integrate with
> shib_auth. Or if there's a better way, like injecting an attribute
> map with pre-set values somewhere.
A correct way would be to set up a basic Shibboleth SP for your
development machine and register it at some open IdP, like
openidp.feide.no.
Kristof
More information about the shib_auth
mailing list