How to test idp authentication configuration without SP?

Peter Schober peter.schober at univie.ac.at
Fri Sep 18 03:24:42 EDT 2015


* Joey Wang <carbon_60 at yahoo.com> [2015-09-17 23:58]:
> My question is how to run a quick test to make sure my configuration
> is correct? I know the normal workflow is to have SP redirect to Idp
> for logon, but I have not built my SP yet. I just want to quickly
> verify my authentication configuration. Is there an URL I can access
> to my IDP to simply display a login page for me to authenticate
> against ldap?

With v2 you could access e.g. /idp/Authn/UserPassword directly, IIRC,
and test authn that way, even though it would fail /after/ successful
authn.  You had to explicitly add a check to your login.jsp to catch
direct access to that page and provide a hopefully more helpful error
messge.
Other than that, there are public test SPs you could integrate with,
e.g. the one at testshib.org

But if you're building (depoying?) your own SP anyway, I'd just defer
further testing of the IDP until you have that in place.
While the SP can (and often needs to) be integrated with many different
kinds of "things" (webservers, frameworks, session management code,
etc.) the IDP basically only interacts by means of SAML protocol
messages (and CAS, as of recently). Without those there's not much to
do with an IDP.
-peter


More information about the users mailing list