From 30e1709151068f5d7a51359140b092de930490a7 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Mon, 15 Jun 2015 21:55:50 +0200 Subject: [PATCH] [SIGNED-OFF] Bug 14383: docs: Fix some typos in documentation All of them were found and fixed using codespell. Signed-off-by: Stefan Weil Signed-off-by: Bernardo Gonzalez Kriegel --- docs/CAS/CASProxy/examples/koha_webservice.pl | 2 +- docs/CAS/CASProxy/examples/proxy_cas.pl | 6 +++--- docs/CAS/CASProxy/examples/proxy_cas_callback.pl | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/CAS/CASProxy/examples/koha_webservice.pl b/docs/CAS/CASProxy/examples/koha_webservice.pl index 7b8dd48..1fc33ba 100755 --- a/docs/CAS/CASProxy/examples/koha_webservice.pl +++ b/docs/CAS/CASProxy/examples/koha_webservice.pl @@ -19,7 +19,7 @@ =head1 DESCRIPTION -# Here is an exemple of a simple phony webservice, returning "Hello World" if the user is authenticated +# Here is an example of a simple phony webservice, returning "Hello World" if the user is authenticated # The purpose is to show how CAS Proxy can work with koha # In this configuration, this page acts as a CAS Client, instead of the user's browser. # This page is meant to be called from a foreign application diff --git a/docs/CAS/CASProxy/examples/proxy_cas.pl b/docs/CAS/CASProxy/examples/proxy_cas.pl index e00c394..407892b 100755 --- a/docs/CAS/CASProxy/examples/proxy_cas.pl +++ b/docs/CAS/CASProxy/examples/proxy_cas.pl @@ -19,7 +19,7 @@ =head1 DESCRIPTION -# Here is an exemple of a CAS Proxy +# Here is an example of a CAS Proxy # The proxy is a foreign application that will authenticate the user against CAS # Once authenticated as a proxy, the foreign application will be able to call some # Koha webservices, proving authentication only by giving a proxy ticket @@ -58,14 +58,14 @@ if ($cgi->param('ticket')) { # We validate it against the CAS Server, providing the callback URL my $r = $cas->service_validate( $proxy_service, $cgi->param('ticket'), pgtUrl => $pgtUrl); - # If it is sucessful, we are authenticated + # If it is successful, we are authenticated if( $r->is_success() ) { print "User authenticated as: ", $r->user(), "
\n"; } else { print "User authentication failed
\n"; } - # If we have a PGTIou ticket, the proxy validation was sucessful + # If we have a PGTIou ticket, the proxy validation was successful if (defined $r->iou) { print "Proxy granting ticket IOU: ", $r->iou, "
\n"; my $pgtIou = $r->iou; diff --git a/docs/CAS/CASProxy/examples/proxy_cas_callback.pl b/docs/CAS/CASProxy/examples/proxy_cas_callback.pl index 7c3fb4a..52e58e2 100755 --- a/docs/CAS/CASProxy/examples/proxy_cas_callback.pl +++ b/docs/CAS/CASProxy/examples/proxy_cas_callback.pl @@ -19,7 +19,7 @@ =head1 DESCRIPTION -# Here is an exemple of a callback page for a CAS Proxy +# Here is an example of a callback page for a CAS Proxy # This is the page the CAS server will call back with a Proxy Ticket, allowing us (the foreign application) # to query koha webservices, being CAS authenticated -- 1.7.9.5