External SAML authentication

Marco Naimoli marco.naimoli at unipd.it
Tue Apr 11 10:20:46 EDT 2017


Ciao Peter, thank you very much for your comments and suggestions.

We think that AJP would be the right way to transfer this kind of
data, and we prefer it, but we are using Jetty; we are going to test the
configuration
using Tomcat, so I hope we can provide soon the new setup instruction
using AJP 

Our installation is an upgraded IDPv2, it's true :-) I've fixed the
example and tested it on our (fixed) IDP configuration,
so now it should work on a clean IDPv3 install (if I didn't miss anything)

About login.vm and EDS changes: we are preparing the documentation about it,
and will publish it soon.

Thanks again
Marco

Il 11/04/2017 14:15, Peter Schober ha scritto:
> Ciao Marco,
>
> * Marco Naimoli <marco.naimoli at unipd.it> [2017-04-10 16:26]:
>> You can find the project here:
>> https://github.com/bpnx/external-idp-autentication
> I don't know about the soundness of some of the impementation details
> (e.g. the flows and use of MFA) but a few minor comments:
>
> By connecting via AJP from httpd to the Java servlet container hosting
> the Shib IDP (using mod_proxy_ajp on the httpd side) you can rid
> yourself of any HTTP Request Headers and rely solely on environment
> variables (using request.getRemoteUser() and request.getAttribute() on
> the Java side). That also takes care of the security caveat in the
> current text (the one in ALL CAPS), but obviouly requires AJP support
> in the container (that Tomcat has, but Jetty lacks, AFAIK.)
>
> Also it seems your resolver configuration is specific to an IDPv3 IDP
> that has been upgraded from IDPv2, i.e., it's using the IDPv2 syntax
> and XML namespaces. As such this wouldn't work in a newly installed
> IDPv3 without changes (removing the "resolver", "ad" and "enc"
> prefixes, and changing the type from "Script" to
> "ScriptedAttribute").
> So you might want to call out that fact in the text, and/or provide an
> example that works for "clean" IDPv3 installs, too.
>
> The writeup also could benefit from detailing the modifications done
> to login.vm, IMO, and possibly also provide details on the EDS
> modifications mentioned.
>
> Best regards,
> -peter




More information about the users mailing list