Add ability to strip domain/realm per provider
authorSimo Sorce <simo@redhat.com>
Sun, 2 Mar 2014 23:32:06 +0000 (18:32 -0500)
committerSimo Sorce <simo@redhat.com>
Mon, 3 Mar 2014 00:11:34 +0000 (19:11 -0500)
commit2959e20b5607edab7313aa5ba4500c1f37358979
treec83ce5aa7b2561dfc8eff3d7ae9fc927e1c66649
parent2cf4bcfe804aaa01e4587388e0870274c20ca428
Add ability to strip domain/realm per provider

This allows to return (hopefully) the same name whether the user
authenticated via ESSO or form based authentication.

Crude for now, may be augmented with some regex configuration in the future.

Signed-off-by: Simo Sorce <simo@redhat.com>
ipsilon/providers/saml2/auth.py
ipsilon/providers/saml2/provider.py