Encryption-less SP to auth against encryption-mandating IdP?

Domingues, Michael D michael-domingues at uiowa.edu
Thu Jan 24 11:52:34 EST 2019


Hi Daniel,


What portions of the proposed system are under your control? Are you responsible for the web application that wants to receive user data (the service provider), the system that authenticate your users (the identity provider), or both?


Fundamentally, Shibboleth isn't just one product --- it's a suite of products developed to fulfill the two (primary) roles in a SAML login flow. One piece of software, the Shibboleth Service Provider (SP) works as an authentication middleware in conjunction with your web server, through something like mod_shib. mod_shib isn't the SP, it just bridges the SP software to your web application. The Shibboleth SP handles the generation of AuthN requests, comes with metadata (that you'll need to customize), and parses the SAML assertions that get sent to it, exposing identity data to your web application via server variables (or headers).


The other primary piece of software Shibboleth Identity Provider. It handles responding to AuthN requests, authenticating your users, then resolving identity data from underlying data connectors (LDAP, SQL, your person registry, etc) and sending SAML assertions to the SPs that sent the AuthN request in the first place.


Typically, you're only concerned with one of these things --- you're an application developer (or server admin) looking to get the Service Provider installed, or an identity team, looking to maintain the Identity Provider infrastructure for your institution.


If you control the SP, you absolutely can support encryption, metadata generation, etc. If you control the IdP, you can configure it on a per-SP basis (see the documentation for relying-party.xml [1]) to change its requirements depending on what an SP supports. In this scenario, if you control the IdP but not the SP, you could configure the IdP to permit non-signed AuthN requests, and send unencrypted assertions to the SP in question.


I hope this helps,


Michael


[1] https://wiki.shibboleth.net/confluence/display/IDP30/RelyingPartyConfiguration

________________________________
From: users <users-bounces at shibboleth.net> on behalf of Daniel Smith <danielesmith at gmail.com>
Sent: Thursday, January 24, 2019 10:40:42 AM
To: users at shibboleth.net
Subject: Encryption-less SP to auth against encryption-mandating IdP?

I'm new to Shibboleth as of today, and the documentation is a little overwhelming. I was wondering if the following scenario is possible:

1. SP requires SAML 2.0 assertion for user groups to assign roles, but does not support assertion decryption, nor metadata generation, nor authn request signing
2. IdP mandates assertion encryption and authn request signing
3. Shibboleth hopefully sits in the middle, sending signed authn requests to IdP and decrypted SAML assertions to SP

Ideally I'd like to use mod_shib as the SP already has Apache running. Is there a walkthrough for this kind of scenario or do I just have to keep reading? Or, is this kind of encryption-one-way-but-not-the-other not supported?

Thanks,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20190124/b6e6d4aa/attachment.html>


More information about the users mailing list