From 84778604fd82a0c76ba6cc9374f96c3d9e99d220 Mon Sep 17 00:00:00 2001 From: Christophe Maudoux Date: Wed, 18 Sep 2019 20:58:51 +0200 Subject: [PATCH] Typo --- changelog | 2 +- doc/pages/documentation/current/authopenid.html | 2 +- doc/pages/documentation/current/restsessionbackend.html | 2 +- doc/pages/documentation/current/sessions.html | 2 +- doc/pages/documentation/current/soapservices.html | 2 +- .../lib/Lemonldap/NG/Common/PSGI/SOAPService.pm | 6 +++--- .../t/61-Lemonldap-NG-Handler-PSGI-Server.t | 2 +- .../t/64-Lemonldap-NG-Handler-PSGI-DevOps.t | 4 ++-- .../t/66-Lemonldap-NG-Handler-PSGI-wildcard.t | 2 +- .../lib/Lemonldap/NG/Portal/Plugins/RESTServer.pm | 2 +- .../t/30-Auth-and-issuer-SAML-POST-IdP-initiated.t | 4 ++-- .../t/30-Auth-and-issuer-SAML-Redirect-IdP-initiated.t | 2 +- .../t/31-Auth-and-issuer-CAS-declared-app-userattr.t | 2 +- lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-declared-app.t | 2 +- lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-default.t | 2 +- lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-proxied.t | 2 +- lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-with-choice.t | 2 +- 17 files changed, 21 insertions(+), 21 deletions(-) diff --git a/changelog b/changelog index f12caba0e..de3397191 100644 --- a/changelog +++ b/changelog @@ -1153,7 +1153,7 @@ lemonldap-ng (1.2.3) stable; urgency=low urn:/Lemonldap::NG::Common::CGI::SOAPService * [LEMONLDAP-546] - Form replay: POST request is not sent * [LEMONLDAP-541] - Handler SOAP errors : setAttributes is not an - authorizated function + authorized function * [LEMONLDAP-547] - Update Browseable documentation in case of SAML in use * [LEMONLDAP-565] - Update META.yml files * [LEMONLDAP-581] - Clean Perl dependencies diff --git a/doc/pages/documentation/current/authopenid.html b/doc/pages/documentation/current/authopenid.html index f0e7ca382..84d4ec2a1 100644 --- a/doc/pages/documentation/current/authopenid.html +++ b/doc/pages/documentation/current/authopenid.html @@ -98,7 +98,7 @@ Then, go in OpenID parameters:
  • Secret token: used to check integrity of OpenID response.
  • -
  • Authorizated domain:
    +
  • Authorized domain:
    diff --git a/doc/pages/documentation/current/sessions.html b/doc/pages/documentation/current/sessions.html index bc7f2f171..1398f6686 100644 --- a/doc/pages/documentation/current/sessions.html +++ b/doc/pages/documentation/current/sessions.html @@ -98,7 +98,7 @@ To configure sessions, go in Manager, General Parameters ยป S

    Command-line tools

      -
    • LLNG Portal provides a simple tool to delete a session: llngDeleteSession. To use it, simply give it the user identifier (wildcard are authorizated):
      +
    • LLNG Portal provides a simple tool to delete a session: llngDeleteSession. To use it, simply give it the user identifier (wildcard are authorized):
    # Delete all sessions opened by user "dwho"
    diff --git a/doc/pages/documentation/current/soapservices.html b/doc/pages/documentation/current/soapservices.html
    index a8cece241..814a4502c 100644
    --- a/doc/pages/documentation/current/soapservices.html
    +++ b/doc/pages/documentation/current/soapservices.html
    @@ -68,7 +68,7 @@ SOAP functions are not accessible by network by default. SOAP functions are prot
     
  • isAuthorizedURI(cookieValue,url): check if user is granted to access to the function
  • -
  • getMenuApplications(cookieValue): return a list of authorizated applications (based on menu calculation)
    +
  • getMenuApplications(cookieValue): return a list of authorized applications (based on menu calculation)
  • diff --git a/lemonldap-ng-common/lib/Lemonldap/NG/Common/PSGI/SOAPService.pm b/lemonldap-ng-common/lib/Lemonldap/NG/Common/PSGI/SOAPService.pm index 0fba68da5..d3f8ecda5 100644 --- a/lemonldap-ng-common/lib/Lemonldap/NG/Common/PSGI/SOAPService.pm +++ b/lemonldap-ng-common/lib/Lemonldap/NG/Common/PSGI/SOAPService.pm @@ -11,8 +11,8 @@ our $VERSION = '2.0.6'; ## @cmethod Lemonldap::NG::Common::PSGI::SOAPService new(object obj,string @func) # Constructor -# @param $obj object which will be called for SOAP authorizated methods -# @param @func authorizated methods +# @param $obj object which will be called for SOAP authorized methods +# @param @func authorized methods # @return Lemonldap::NG::Common::PSGI::SOAPService object sub new { my ( $class, $obj, $req, @func ) = @_; @@ -24,7 +24,7 @@ sub new { # Call the wanted function with the object given to the constructor. # AUTOLOAD() is a magic method called by Perl interpreter fon non existent # functions. Here, we use it to call the wanted function (given by $AUTOLOAD) -# if it is authorizated +# if it is authorized # @return data provided by the exported function sub AUTOLOAD { my $self = shift; diff --git a/lemonldap-ng-handler/t/61-Lemonldap-NG-Handler-PSGI-Server.t b/lemonldap-ng-handler/t/61-Lemonldap-NG-Handler-PSGI-Server.t index f37deba1d..2fb6f0cf6 100644 --- a/lemonldap-ng-handler/t/61-Lemonldap-NG-Handler-PSGI-Server.t +++ b/lemonldap-ng-handler/t/61-Lemonldap-NG-Handler-PSGI-Server.t @@ -29,7 +29,7 @@ count(4); # Authentified queries # -------------------- -# Authorizated query +# Authorized query ok( $res = $client->_get( '/', undef, undef, "lemonldap=$sessionId" ), 'Authentified query' ); ok( $res->[0] == 200, 'Code is 200' ) or explain( $res->[0], 200 ); diff --git a/lemonldap-ng-handler/t/64-Lemonldap-NG-Handler-PSGI-DevOps.t b/lemonldap-ng-handler/t/64-Lemonldap-NG-Handler-PSGI-DevOps.t index 49ad7ad3c..e5c4c7e76 100644 --- a/lemonldap-ng-handler/t/64-Lemonldap-NG-Handler-PSGI-DevOps.t +++ b/lemonldap-ng-handler/t/64-Lemonldap-NG-Handler-PSGI-DevOps.t @@ -19,7 +19,7 @@ ok( 'test3.example.com', "lemonldap=$sessionId", VHOSTTYPE => 'DevOps' ), - 'Authorizated query' + 'Authorized query' ); ok( $res->[0] == 200, 'Code is 200' ) or explain( $res->[0], 200 ); count(2); @@ -30,7 +30,7 @@ ok( 'test3.example.com', "lemonldap=$sessionId", VHOSTTYPE => 'DevOps' ), - 'Authorizated query' + 'Authorized query' ); ok( $res->[0] == 200, 'Code is 200' ) or explain( $res->[0], 200 ); count(2); diff --git a/lemonldap-ng-handler/t/66-Lemonldap-NG-Handler-PSGI-wildcard.t b/lemonldap-ng-handler/t/66-Lemonldap-NG-Handler-PSGI-wildcard.t index f2d1d7631..2af79884a 100644 --- a/lemonldap-ng-handler/t/66-Lemonldap-NG-Handler-PSGI-wildcard.t +++ b/lemonldap-ng-handler/t/66-Lemonldap-NG-Handler-PSGI-wildcard.t @@ -32,7 +32,7 @@ count(4); # Authentified queries # -------------------- -# Authorizated query +# Authorized query ok( $res = $client->_get( '/', undef, 'test.example.org', "lemonldap=$sessionId" ), diff --git a/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Plugins/RESTServer.pm b/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Plugins/RESTServer.pm index ff0d40305..773be0d44 100644 --- a/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Plugins/RESTServer.pm +++ b/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Plugins/RESTServer.pm @@ -36,7 +36,7 @@ # - Authorizations for connected users (always): # * GET /mysession/?whoami : get "my" uid # * GET /mysession/?authorizationfor=: ask if url is -# authorizated +# authorized # * PUT /mysession/ : update some # persistent data # (restricted) diff --git a/lemonldap-ng-portal/t/30-Auth-and-issuer-SAML-POST-IdP-initiated.t b/lemonldap-ng-portal/t/30-Auth-and-issuer-SAML-POST-IdP-initiated.t index ac2b14dd8..9a82d55a9 100644 --- a/lemonldap-ng-portal/t/30-Auth-and-issuer-SAML-POST-IdP-initiated.t +++ b/lemonldap-ng-portal/t/30-Auth-and-issuer-SAML-POST-IdP-initiated.t @@ -117,7 +117,7 @@ m#iframe src="http://auth.idp.com(/saml/relaySingleLogoutPOST)\?(relay=.*?)"#s, ok( getHeader( $res, 'Content-Security-Policy' ) =~ /child-src auth.idp.com/, - ' Frame is authorizated' + ' Frame is authorized' ) or explain( $res->[1], 'Content-Security-Policy => ...child-src auth.idp.com' ); @@ -132,7 +132,7 @@ m#iframe src="http://auth.idp.com(/saml/relaySingleLogoutPOST)\?(relay=.*?)"#s, 'Get iframe' ); ok( getHeader( $res, 'Content-Security-Policy' ) !~ /frame-ancestors/, - ' Framing authorizated' ) + ' Framing authorized' ) or explain( $res->[1], 'No frame-ancestors' ); ( $host, $url, $query ) = expectAutoPost( $res, 'auth.sp.com', '/saml/proxySingleLogout', diff --git a/lemonldap-ng-portal/t/30-Auth-and-issuer-SAML-Redirect-IdP-initiated.t b/lemonldap-ng-portal/t/30-Auth-and-issuer-SAML-Redirect-IdP-initiated.t index fd34edede..d544abd93 100644 --- a/lemonldap-ng-portal/t/30-Auth-and-issuer-SAML-Redirect-IdP-initiated.t +++ b/lemonldap-ng-portal/t/30-Auth-and-issuer-SAML-Redirect-IdP-initiated.t @@ -126,7 +126,7 @@ m#iframe src="http://auth.sp.com(/saml/proxySingleLogout)\?(SAMLRequest=.*?)"#, my $query = $2; ok( getHeader( $res, 'Content-Security-Policy' ) =~ /child-src auth.sp.com/, - 'Frame is authorizated' + 'Frame is authorized' ) or explain( $res->[1], 'Content-Security-Policy => ...child-src auth.idp.com' ); diff --git a/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-declared-app-userattr.t b/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-declared-app-userattr.t index 88b10cc7d..5fd7d7f3a 100644 --- a/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-declared-app-userattr.t +++ b/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-declared-app-userattr.t @@ -209,7 +209,7 @@ count(1); my $url = $1; $query = $2; ok( getHeader( $res, 'Content-Security-Policy' ) =~ /child-src auth.idp.com/, - 'Frame is authorizated' ) + 'Frame is authorized' ) or explain( $res->[1], 'Content-Security-Policy => ...child-src auth.idp.com' ); count(1); diff --git a/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-declared-app.t b/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-declared-app.t index 0c7e92967..9c61c4269 100644 --- a/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-declared-app.t +++ b/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-declared-app.t @@ -209,7 +209,7 @@ count(1); my $url = $1; $query = $2; ok( getHeader( $res, 'Content-Security-Policy' ) =~ /child-src auth.idp.com/, - 'Frame is authorizated' ) + 'Frame is authorized' ) or explain( $res->[1], 'Content-Security-Policy => ...child-src auth.idp.com' ); count(1); diff --git a/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-default.t b/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-default.t index b1894b239..ce9911a68 100644 --- a/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-default.t +++ b/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-default.t @@ -177,7 +177,7 @@ count(1); my $url = $1; $query = $2; ok( getHeader( $res, 'Content-Security-Policy' ) =~ /child-src auth.idp.com/, - 'Frame is authorizated' ) + 'Frame is authorized' ) or explain( $res->[1], 'Content-Security-Policy => ...child-src auth.idp.com' ); count(1); diff --git a/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-proxied.t b/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-proxied.t index 45c5b631e..e10088204 100644 --- a/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-proxied.t +++ b/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-proxied.t @@ -169,7 +169,7 @@ count(1); my $url = $1; $query = $2; ok( getHeader( $res, 'Content-Security-Policy' ) =~ /child-src auth.idp.com/, - 'Frame is authorizated' ) + 'Frame is authorized' ) or explain( $res->[1], 'Content-Security-Policy => ...child-src auth.idp.com' ); count(1); diff --git a/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-with-choice.t b/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-with-choice.t index e9bff2b76..29899aaab 100644 --- a/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-with-choice.t +++ b/lemonldap-ng-portal/t/31-Auth-and-issuer-CAS-with-choice.t @@ -262,7 +262,7 @@ SKIP: { ok( getHeader( $res, 'Content-Security-Policy' ) =~ /child-src auth.idp.com/, - 'Frame is authorizated' + 'Frame is authorized' ) or explain( $res->[1], 'Content-Security-Policy => ...child-src auth.idp.com' );