From 2a848ef2ea7522c281ef3ae2cff3c7dbaf62d822 Mon Sep 17 00:00:00 2001 From: Tom Scavo Date: Sun, 5 Mar 2017 12:19:55 -0500 Subject: [PATCH] Add example to overview section --- README.md | 65 +++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 44 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index 469a871..2f27551 100644 --- a/README.md +++ b/README.md @@ -75,6 +75,50 @@ saml_tools.sh ## Overview +### ``probe_saml_idp.sh`` + +Given a single IdP entityID, the ``probe_saml_idp.sh`` script probes all browser-facing SSO endpoints in IdP metadata. + +```Shell +$ id=https://idp.incommonfederation.org/idp/shibboleth +$ $BIN_DIR/probe_saml_idp.sh $id +0 redirects:2;response:200;dns:0.000;tcp:0.038;ssl:0.086;total:1.016 https://idp.incommonfederation.org/idp/profile/SAML2/Redirect/SSO urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect https://idp.incommonfederation.org/idp/shibboleth https://incommon.org +0 redirects:2;response:200;dns:0.000;tcp:0.038;ssl:0.088;total:0.737 https://idp.incommonfederation.org/idp/profile/SAML2/POST/SSO urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST https://idp.incommonfederation.org/idp/shibboleth https://incommon.org +WARNING: get_sso_endpoint: entity has no SSO endpoint that supports the HTTP-POST-SimpleSign binding: https://idp.incommonfederation.org/idp/shibboleth +0 redirects:2;response:200;dns:0.000;tcp:0.038;ssl:0.088;total:0.735 https://idp.incommonfederation.org/idp/profile/Shibboleth/SSO urn:mace:shibboleth:1.0:profiles:AuthnRequest https://idp.incommonfederation.org/idp/shibboleth https://incommon.org +``` + +By default, the script probes **all** browser-facing endpoints, including SAML1 endpoints. Use the ``-b`` option to probe a single endpoint with a particular binding. + +See the inline help file for details: + +```Shell +$ $BIN_DIR/probe_saml_idp.sh -h +``` + +### ``probe_saml_idps.sh`` + +Given a list of IdP entityIDs, the ``probe_saml_idps.sh`` script probes one or more browser-facing SSO endpoints in each IdP entity descriptor. + +```Shell +$ $BIN_DIR/probe_saml_idps.sh -t 6 <