Skip to content

Commit

Permalink
Document probe_saml_idp.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Scavo authored Dec 10, 2016
1 parent 76e2a48 commit 35a6b05
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ saml_tools.sh

## Overview

### ``cget.sh``

Bash script ``cget.sh`` retrieves and caches HTTP resources on disk. A previously cached resource is retrieved via HTTP Conditional GET [RFC 7232]. If the web server responds with HTTP 200 OK, the resource is cached and written to stdout. If the web server responds with 304 Not Modified, the cached resource is output instead.

To illustrate, define a couple of HTTP resources and a cache:
Expand Down Expand Up @@ -107,6 +109,20 @@ See the inline help file for details:
$ $BIN_DIR/cget.sh -h
```

### ``probe_saml_idp.sh``

```Shell
$ export SAML2_SP_ENTITY_ID=https://fm.incommon.org/sp
$ export SAML2_SP_ACS_URL=https://service1.internet2.edu/Shibboleth.sso/SAML2/POST
$ export SAML2_SP_ACS_BINDING=urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST
$ mdq_base_url=http://mdq-beta.incommon.org/global
$ id=urn:mace:incommon:internet2.edu
$ $BIN_DIR/probe_saml_idp.sh -u $mdq_base_url $id
0 redirects:3;response:200;dns:0.005;tcp:0.031;ssl:0.202;total:0.543 https://origin.internet2.edu/idp/profile/SAML2/Redirect/SSO urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect urn:mace:incommon:internet2.edu https://incommon.org
0 redirects:3;response:200;dns:0.005;tcp:0.033;ssl:0.195;total:0.519 https://origin.internet2.edu/idp/profile/SAML2/POST/SSO urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST urn:mace:incommon:internet2.edu https://incommon.org
0 redirects:3;response:200;dns:0.005;tcp:0.031;ssl:0.191;total:0.508 https://origin.internet2.edu/idp/profile/SAML2/POST-SimpleSign/SSO urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST-SimpleSign urn:mace:incommon:internet2.edu https://incommon.org
```

## Compatibility

Shell scripts are compatible with both GNU/Linux and Mac OS. XSLT scripts are written in XSLT 1.0.
Expand Down

0 comments on commit 35a6b05

Please sign in to comment.