From 8102f72d501e28fbf6824b8f753ed12218ba1bb4 Mon Sep 17 00:00:00 2001 From: Xavier Guimard Date: Sun, 3 Jan 2010 08:09:59 +0000 Subject: [PATCH] POD updates : * spelling errors found by Lintian * encoding utf8 --- build/lemonldap-ng/Makefile | 57 ++++++++++--------- .../lib/Lemonldap/NG/Common.pm | 2 + .../NG/Common/Apache/Session/SOAP.pm | 2 + .../lib/Lemonldap/NG/Common/CGI.pm | 2 + .../lib/Lemonldap/NG/Common/CGI/SOAPServer.pm | 2 + .../Lemonldap/NG/Common/CGI/SOAPService.pm | 2 + .../lib/Lemonldap/NG/Common/Conf.pm | 4 +- .../lib/Lemonldap/NG/Common/Conf/SOAP.pm | 2 + .../lib/Lemonldap/NG/Common/Safelib.pm | 2 + .../lib/Lemonldap/NG/Handler.pm | 10 ++-- .../lib/Lemonldap/NG/Handler/AuthBasic.pm | 2 + .../lib/Lemonldap/NG/Handler/CDA.pm | 2 + .../lib/Lemonldap/NG/Handler/CGI.pm | 6 +- .../lib/Lemonldap/NG/Handler/Proxy.pm | 4 +- .../lib/Lemonldap/NG/Handler/SharedConf.pm | 2 + .../lib/Lemonldap/NG/Handler/Simple.pm | 4 +- .../lib/Lemonldap/NG/Handler/Status.pm | 2 + .../Lemonldap/NG/Handler/SympaAutoLogin.pm | 2 + .../lib/Lemonldap/NG/Handler/Vhost.pm | 2 + .../lib/Lemonldap/NG/Manager.pm | 2 + .../lib/Lemonldap/NG/Portal.pm | 18 +++--- .../lib/Lemonldap/NG/Portal/AuthApache.pm | 2 + .../lib/Lemonldap/NG/Portal/AuthCAS.pm | 2 + .../lib/Lemonldap/NG/Portal/AuthLA.pm | 2 + .../lib/Lemonldap/NG/Portal/AuthProxy.pm | 2 + .../lib/Lemonldap/NG/Portal/AuthRemote.pm | 2 + .../lib/Lemonldap/NG/Portal/AuthSAML.pm | 2 + .../lib/Lemonldap/NG/Portal/AuthSSL.pm | 2 + .../lib/Lemonldap/NG/Portal/CDA.pm | 2 + .../lib/Lemonldap/NG/Portal/IssuerDBNull.pm | 2 + .../lib/Lemonldap/NG/Portal/IssuerDBSAML.pm | 2 + .../lib/Lemonldap/NG/Portal/Menu.pm | 2 + .../lib/Lemonldap/NG/Portal/Notification.pm | 2 + .../lib/Lemonldap/NG/Portal/SharedConf.pm | 2 + .../lib/Lemonldap/NG/Portal/Simple.pm | 4 +- .../lib/Lemonldap/NG/Portal/UserDBSAML.pm | 2 + .../lib/Lemonldap/NG/Portal/_SAML.pm | 2 + 37 files changed, 121 insertions(+), 44 deletions(-) diff --git a/build/lemonldap-ng/Makefile b/build/lemonldap-ng/Makefile index 36a4d148f..0d4fa12e1 100644 --- a/build/lemonldap-ng/Makefile +++ b/build/lemonldap-ng/Makefile @@ -127,19 +127,19 @@ all: configure common handler manager portal configure: common_conf handler_conf portal_conf manager_conf common_conf: - @cd ${SRCCOMMONDIR}; LMNGCONFFILE=$(STORAGECONFFILE) perl Makefile.PL $(PERLOPTIONS) + @cd ${SRCCOMMONDIR}; LMNGCONFFILE=$(STORAGECONFFILE) $(PERL) Makefile.PL $(PERLOPTIONS) @touch common_conf handler_conf: - @cd ${SRCHANDLERDIR}; perl Makefile.PL $(PERLOPTIONS) + @cd ${SRCHANDLERDIR}; $(PERL) Makefile.PL $(PERLOPTIONS) @touch handler_conf portal_conf: - @cd ${SRCPORTALDIR}; perl Makefile.PL $(PERLOPTIONS) + @cd ${SRCPORTALDIR}; $(PERL) Makefile.PL $(PERLOPTIONS) @touch portal_conf manager_conf: - @cd ${SRCMANAGERDIR}; perl Makefile.PL $(PERLOPTIONS) + @cd ${SRCMANAGERDIR}; $(PERL) Makefile.PL $(PERLOPTIONS) @touch manager_conf # @@ -223,13 +223,13 @@ install_site: install_manager_site install_portal_site install_handler_site inst cp --remove-destination _example/etc/apache* $(RCONFDIR); \ cp --remove-destination _example/etc/for_etc_hosts $(RCONFDIR); \ fi - @perl -i -pe 's#__HANDLER__#${HANDLERDIR}/MyHandler.pm#; \ + @$(PERL) -i -pe 's#__HANDLER__#${HANDLERDIR}/MyHandler.pm#; \ s/__DNSDOMAIN__/$(DNSDOMAIN)/g; \ s#__PORTALDIR__#$(PORTALDIR)/#g; \ s#__MANAGERDIR__#$(MANAGERDIR)/#g; \ s#__TESTDIR__#$(TESTDIR)/#g; \ s#__DOCDIR__#$(DOCDIR)/#g;' $(RCONFDIR)/apache* - @perl -i -pe 's/__DNSDOMAIN__/$(DNSDOMAIN)/g' $(RCONFDIR)/for_etc_hosts + @$(PERL) -i -pe 's/__DNSDOMAIN__/$(DNSDOMAIN)/g' $(RCONFDIR)/for_etc_hosts @echo @echo "LemonLDAP::NG v${VERSION} is installed with these parameters:" @echo " - System configuration: ${CONFDIR}" @@ -272,7 +272,7 @@ install_manager_site: install_conf_dir done @find ${RSESSIONSEXPLORERDIR} -type l -name images -delete @cp -pR --remove-destination ${SRCMANAGERDIR}/example/index.pl ${RMANAGERDIR} - @perl -i -pe 's#__MANAGERDIR__#$(MANAGERDIR)#' ${RMANAGERDIR}/index.pl + @$(PERL) -i -pe 's#__MANAGERDIR__#$(MANAGERDIR)#' ${RMANAGERDIR}/index.pl @cp -pR --remove-destination ${SRCMANAGERDIR}/example/skins/* $(RMANAGERSKINSDIR) @if [ "$(MANAGERDIR)/skins/" != "$(MANAGERSKINSDIR)/" ]; then \ for skin in $$(ls lemonldap-ng-manager/example/skins/); do \ @@ -280,7 +280,7 @@ install_manager_site: install_conf_dir ln -s $(MANAGERSKINSDIR)/$$skin $(RMANAGERDIR)/skins/$$skin; \ done; \ fi - @perl -i -pe 's/__DNSDOMAIN__/$(DNSDOMAIN)/g' $(RCONFDIR)/$(CONFFILENAME) + @$(PERL) -i -pe 's/__DNSDOMAIN__/$(DNSDOMAIN)/g' $(RCONFDIR)/$(CONFFILENAME) # Sessions explorer install @cp -pR --remove-destination ${SRCMANAGERDIR}/example/sessions.pl $(RSESSIONSEXPLORERDIR) @cp -pR --remove-destination ${SRCMANAGERDIR}/example/images $(RSESSIONSEXPLORERDIR) @@ -305,7 +305,7 @@ install_portal_site: install_conf_dir @cp -pR --remove-destination ${SRCPORTALDIR}/example/index_skin.pl ${RPORTALDIR}/index.pl @cp -pR --remove-destination ${SRCPORTALDIR}/example/error.pl ${RPORTALDIR} @cp -pR --remove-destination ${SRCPORTALDIR}/example/apps ${RPORTALDIR} - @perl -i -pe 's#__SKINDIR__#$(PORTALDIR)/skins#; \ + @$(PERL) -i -pe 's#__SKINDIR__#$(PORTALDIR)/skins#; \ s#__APPSXMLFILE__#$(CONFDIR)/apps-list.xml#;' ${RPORTALDIR}/index.pl ${RPORTALDIR}/error.pl @cp -pR --remove-destination ${SRCPORTALDIR}/example/skins/* $(RPORTALSKINSDIR) @if [ "$(PORTALDIR)/skins/" != "$(PORTALSKINSDIR)/" ]; then \ @@ -318,18 +318,18 @@ install_portal_site: install_conf_dir @if [ "$(ERASECONFIG)" -eq "1" ]; then \ cp --remove-destination _example/etc/apps-list* $(RCONFDIR); \ fi - @perl -i -pe 's/__DNSDOMAIN__/$(DNSDOMAIN)/g' $(RCONFDIR)/apps-list.xml + @$(PERL) -i -pe 's/__DNSDOMAIN__/$(DNSDOMAIN)/g' $(RCONFDIR)/apps-list.xml # L-A portal install @cp -pR --remove-destination ${SRCPORTALDIR}/example/AuthLA/* $(RLASPPORTALDIR) - @perl -i -pe 's#__DIR__#$(LASPPORTALDIR)/#g' $(RLASPPORTALDIR)/index.pl + @$(PERL) -i -pe 's#__DIR__#$(LASPPORTALDIR)/#g' $(RLASPPORTALDIR)/index.pl # Cron files @cp --remove-destination lemonldap-ng-portal/example/scripts/purgeCentralCache.cron.d $(RCRONDIR)/lemonldap-ng @if [ ! "$(APACHEUSER)" ]; then \ - perl -i -pe 's#__APACHEUSER__#root#g;' $(RCRONDIR)/lemonldap-ng; \ + $(PERL) -i -pe 's#__APACHEUSER__#root#g;' $(RCRONDIR)/lemonldap-ng; \ else \ - perl -i -pe 's#__APACHEUSER__#$(APACHEUSER)#g;' $(RCRONDIR)/lemonldap-ng; \ + $(PERL) -i -pe 's#__APACHEUSER__#$(APACHEUSER)#g;' $(RCRONDIR)/lemonldap-ng; \ fi - @perl -i -pe 's#__BINDIR__#$(BINDIR)#g;' $(RCRONDIR)/lemonldap-ng + @$(PERL) -i -pe 's#__BINDIR__#$(BINDIR)#g;' $(RCRONDIR)/lemonldap-ng # Clean SVN files @rm -rf $$(find ${RPORTALDIR} $(RPORTALSKINSDIR) $(RLASPPORTALDIR) $(RCRONDIR) $(RCONFDIR) -type d -name .svn) @@ -344,7 +344,7 @@ install_test_site: @install -v -d $(RTESTDIR) @cp -pR --remove-destination _example/test/* $(RTESTDIR) @rm -rf $$(find $(RTESTDIR) -type d -name .svn) - @perl -i -pe 's/__DNSDOMAIN__/$(DNSDOMAIN)/g' $(RTESTDIR)/index.pl + @$(PERL) -i -pe 's/__DNSDOMAIN__/$(DNSDOMAIN)/g' $(RTESTDIR)/index.pl @rm -rf $$(find $(RTESTDIR) -type d -name .svn) install_examples_site: @@ -357,8 +357,8 @@ install_examples_site: $(REXAMPLESDIR)/manager/skins \ $(REXAMPLESDIR)/manager/images \ @rm -rf $$(find $(REXAMPLESDIR) -type d -name .svn) - @perl -i -pe 's#__DIR__#$(LASPPORTALDIR)#g' $(REXAMPLESDIR)/portal/AuthLA/index.pl - @perl -i -pe 's#__SKINDIR__#$(PORTALDIR)/skins#; \ + @$(PERL) -i -pe 's#__DIR__#$(LASPPORTALDIR)#g' $(REXAMPLESDIR)/portal/AuthLA/index.pl + @$(PERL) -i -pe 's#__SKINDIR__#$(PORTALDIR)/skins#; \ s#__APPSXMLFILE__#$(CONFDIR)/apps-list.xml#; \ s#__SESSIONDIR__#$(APACHESESSIONFILEDIR)/#g;' $(REXAMPLESDIR)/portal/*.pl @@ -371,11 +371,11 @@ install_conf_dir: install_sessions_dir @install -v -d $(RCONFDIR) $(RFILECONFIGDIR) $(RTOOLSDIR) @if [ "$(ERASECONFIG)" -eq "1" ]; then \ cp --remove-destination $(SRCCOMMONDIR)/$(CONFFILENAME) $(RCONFDIR); \ - perl -i -pe 's#^dirName\s*=\s*.*#dirName = $(FILECONFIGDIR)#g' $(RCONFDIR)/$(CONFFILENAME); \ + $(PERL) -i -pe 's#^dirName\s*=\s*.*#dirName = $(FILECONFIGDIR)#g' $(RCONFDIR)/$(CONFFILENAME); \ fi @cp _example/conf/lmConf-1 $(RFILECONFIGDIR) - @perl -000 -i -pe "s#^(globalStorageOptions\\n\\s+)'[^\\n]*?'\$$#\$${1}\'\\\$$data1 = {&39;Directory&39; => &39;$(APACHESESSIONFILEDIR)&39;,&39;LockDirectory&39; => &39;$(APACHESESSIONFILELOCKDIR)&39;};'#m" $(RFILECONFIGDIR)/lmConf-1 - @perl -i -pe 's/__DNSDOMAIN__/$(DNSDOMAIN)/g;\ + @$(PERL) -000 -i -pe "s#^(globalStorageOptions\\n\\s+)'[^\\n]*?'\$$#\$${1}\'\\\$$data1 = {&39;Directory&39; => &39;$(APACHESESSIONFILEDIR)&39;,&39;LockDirectory&39; => &39;$(APACHESESSIONFILELOCKDIR)&39;};'#m" $(RFILECONFIGDIR)/lmConf-1 + @$(PERL) -i -pe 's/__DNSDOMAIN__/$(DNSDOMAIN)/g;\ s/__LDAPPORT__/$(LDAPPORT)/g;\ s/__LDAPHOST__/$(LDAPHOST)/g;\ s/__LDAPSUFFIX__/$(LDAPSUFFIX)/g;\ @@ -447,7 +447,7 @@ cpan: clean configure common_cpan handler_cpan portal_cpan manager_cpan for i in Common Portal Handler Manager; do \ tar xzf Lemonldap-NG-$$i-*.tar.gz \ $$(tar tzf Lemonldap-NG-$$i-*.tar.gz |grep META.yml); \ - mv Lemonldap-NG-$$i-*/META.yml lemonldap-ng-$$(perl -e "print lc('$$i')")/; \ + mv Lemonldap-NG-$$i-*/META.yml lemonldap-ng-$$($(PERL) -e "print lc('$$i')")/; \ rmdir Lemonldap-NG-$$i*/; \ done @@ -467,23 +467,28 @@ manager_cpan: manager_conf @$(MAKE) -C ${SRCMANAGERDIR} dist @mv ${SRCMANAGERDIR}/Lemonldap*.gz . -static_example: example - @mkdir -p ${EXAMPLESDIR}/static - @cd ${EXAMPLESDIR}/static/;cp -a ../manager/{skins} .;cd - +sub_static_example: install_site + echo $(LMPREFIX) + echo $(EXAMPLEROOT) + @mkdir -p ${EXAMPLEROOT}/static + @cd ${EXAMPLEROOT}/static/;cp -a ../manager/{skins} .;cd - @../scripts/make_static_example.pl ${DESTMANAGERDIR}/index.pl ${SCRIPTSDIR}/static/index.html $(EXAMPLELANG) +static_example: + $(MAKE) sub_static_example LMPREFIX=$(EXAMPLEROOT) + documentation: @cd doc/ && ../scripts/doc.pl doxygen: clean - perl -i -pe 's/^(PROJECT_NUMBER\s*=\s*)\d.*$$/$${1}'$(VERSION)'/' Doxyfile + $(PERL) -i -pe 's/^(PROJECT_NUMBER\s*=\s*)\d.*$$/$${1}'$(VERSION)'/' Doxyfile COLLABORATIVE_GRAPH=1 doxygen Doxyfile mkdir doc/devel/tmp mv doc/devel/html/inherit* doc/devel/tmp/ COLLABORATIVE_GRAPH=0 doxygen Doxyfile mv -f doc/devel/tmp/* doc/devel/html/ rm -rf doc/devel/tmp - perl -i -pe 's/Graphical Class Hierarchy/Class Collaboration Graph/' doc/devel/html/inherits.html doc/devel/html/tree.html + $(PERL) -i -pe 's/Graphical Class Hierarchy/Class Collaboration Graph/' doc/devel/html/inherits.html doc/devel/html/tree.html distclean: clean diff --git a/modules/lemonldap-ng-common/lib/Lemonldap/NG/Common.pm b/modules/lemonldap-ng-common/lib/Lemonldap/NG/Common.pm index 0c5b298fb..0a26fdab1 100644 --- a/modules/lemonldap-ng-common/lib/Lemonldap/NG/Common.pm +++ b/modules/lemonldap-ng-common/lib/Lemonldap/NG/Common.pm @@ -9,6 +9,8 @@ __END__ =head1 NAME +=encoding utf8 + Lemonldap::NG::Common - Common files for Lemonldap::NG infrastructure =head1 DESCRIPTION diff --git a/modules/lemonldap-ng-common/lib/Lemonldap/NG/Common/Apache/Session/SOAP.pm b/modules/lemonldap-ng-common/lib/Lemonldap/NG/Common/Apache/Session/SOAP.pm index 7f3e26e40..5c42f04bb 100644 --- a/modules/lemonldap-ng-common/lib/Lemonldap/NG/Common/Apache/Session/SOAP.pm +++ b/modules/lemonldap-ng-common/lib/Lemonldap/NG/Common/Apache/Session/SOAP.pm @@ -210,6 +210,8 @@ __END__ =head1 NAME +=encoding utf8 + Lemonldap::NG::Common::Apache::Session::SOAP - Perl extension written to access to Lemonldap::NG Web-SSO sessions via SOAP. diff --git a/modules/lemonldap-ng-common/lib/Lemonldap/NG/Common/CGI.pm b/modules/lemonldap-ng-common/lib/Lemonldap/NG/Common/CGI.pm index 62eff60e5..8509dd3f6 100644 --- a/modules/lemonldap-ng-common/lib/Lemonldap/NG/Common/CGI.pm +++ b/modules/lemonldap-ng-common/lib/Lemonldap/NG/Common/CGI.pm @@ -328,6 +328,8 @@ __END__ =head1 NAME +=encoding utf8 + Lemonldap::NG::Common::CGI - Simple module to extend L to manage HTTP "If-Modified-Since / 304 Not Modified" system. diff --git a/modules/lemonldap-ng-common/lib/Lemonldap/NG/Common/CGI/SOAPServer.pm b/modules/lemonldap-ng-common/lib/Lemonldap/NG/Common/CGI/SOAPServer.pm index 94b9bbe96..2379a8fad 100644 --- a/modules/lemonldap-ng-common/lib/Lemonldap/NG/Common/CGI/SOAPServer.pm +++ b/modules/lemonldap-ng-common/lib/Lemonldap/NG/Common/CGI/SOAPServer.pm @@ -85,6 +85,8 @@ __END__ =head1 NAME +=encoding utf8 + Lemonldap::NG::Common::CGI::SOAPServer - Extends L to be compatible with L. diff --git a/modules/lemonldap-ng-common/lib/Lemonldap/NG/Common/CGI/SOAPService.pm b/modules/lemonldap-ng-common/lib/Lemonldap/NG/Common/CGI/SOAPService.pm index c7c547c6c..03a616dd2 100644 --- a/modules/lemonldap-ng-common/lib/Lemonldap/NG/Common/CGI/SOAPService.pm +++ b/modules/lemonldap-ng-common/lib/Lemonldap/NG/Common/CGI/SOAPService.pm @@ -48,6 +48,8 @@ __END__ =head1 NAME +=encoding utf8 + Lemonldap::NG::Common::CGI::SOAPService - Wrapper for all SOAP functions of Lemonldap::NG CGIs. diff --git a/modules/lemonldap-ng-common/lib/Lemonldap/NG/Common/Conf.pm b/modules/lemonldap-ng-common/lib/Lemonldap/NG/Common/Conf.pm index fc14da97e..8b69c95bf 100644 --- a/modules/lemonldap-ng-common/lib/Lemonldap/NG/Common/Conf.pm +++ b/modules/lemonldap-ng-common/lib/Lemonldap/NG/Common/Conf.pm @@ -362,6 +362,8 @@ __END__ =head1 NAME +=encoding utf8 + Lemonldap::NG::Common::Conf - Perl extension written to manage Lemonldap::NG Web-SSO configuration. @@ -397,7 +399,7 @@ L and L. =over =item * B (constructor): it takes different arguments depending on the -choosen type. Examples: +chosen type. Examples: =over diff --git a/modules/lemonldap-ng-common/lib/Lemonldap/NG/Common/Conf/SOAP.pm b/modules/lemonldap-ng-common/lib/Lemonldap/NG/Common/Conf/SOAP.pm index 0a18c8ff2..7de1b3fd1 100644 --- a/modules/lemonldap-ng-common/lib/Lemonldap/NG/Common/Conf/SOAP.pm +++ b/modules/lemonldap-ng-common/lib/Lemonldap/NG/Common/Conf/SOAP.pm @@ -95,6 +95,8 @@ __END__ =head1 NAME +=encoding utf8 + Lemonldap::NG::Common::Conf::SOAP - Perl extension written to access to Lemonldap::NG Web-SSO configuration via SOAP. diff --git a/modules/lemonldap-ng-common/lib/Lemonldap/NG/Common/Safelib.pm b/modules/lemonldap-ng-common/lib/Lemonldap/NG/Common/Safelib.pm index c515eecfe..aaddb0211 100644 --- a/modules/lemonldap-ng-common/lib/Lemonldap/NG/Common/Safelib.pm +++ b/modules/lemonldap-ng-common/lib/Lemonldap/NG/Common/Safelib.pm @@ -109,6 +109,8 @@ __END__ =head1 NAME +=encoding utf8 + Lemonldap::NG::Common::Safelib - Contains functions that are automatically imported in Lemonldap::NG Safe objects to be used in expressions like rules, macros,... diff --git a/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler.pm b/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler.pm index 12d2d7e1f..afd595c38 100644 --- a/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler.pm +++ b/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler.pm @@ -15,6 +15,8 @@ __END__ =pod +=encoding utf8 + =head1 NAME Lemonldap::NG::Handler - The Apache protection module part of @@ -108,7 +110,7 @@ but B. =head3 B -If a user isn't authenticated and attemps to connect to an area protected by a +If a user isn't authenticated and attempts to connect to an area protected by a Lemonldap::NG compatible handler, he is redirected to a portal. The portal authenticates user with a ldap bind by default, but you can also use another authentication sheme like using x509 user certificates (see @@ -196,7 +198,7 @@ on a protected area. =back -It is also recommanded to use the C mechanism to avoid having to +It is also recommended to use the C mechanism to avoid having to evaluate a long expression at each HTTP request: locationRules => { @@ -218,7 +220,7 @@ C parameter. Perl expressions has to be enclosed with C<{}>: =back -It is also recommanded to use Perl expressions to avoid requiering the LDAP +It is also recommended to use Perl expressions to avoid requiering the LDAP server more than 2 times per authentication. =head3 B @@ -247,7 +249,7 @@ virtual host: =over -=item * B are the names of the choosen headers +=item * B are the names of the chosen headers =item * B are Perl expressions where you can use user datas stored in the global store by calling them C<$EvarnameE>. diff --git a/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/AuthBasic.pm b/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/AuthBasic.pm index a6a558222..3f5a05648 100644 --- a/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/AuthBasic.pm +++ b/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/AuthBasic.pm @@ -153,6 +153,8 @@ __END__ =head1 NAME +=encoding utf8 + Lemonldap::NG::Handler::AuthBasic - Perl extension to be able to authenticate users by basic web system but to use Lemonldap::NG to control authorizations. diff --git a/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/CDA.pm b/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/CDA.pm index ef0222c3b..3d3081ae8 100644 --- a/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/CDA.pm +++ b/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/CDA.pm @@ -28,6 +28,8 @@ __END__ =head1 NAME +=encoding utf8 + Lemonldap::NG::Handler::CDA - Module to use Lemonldap::NG::Handler mechanisms with Cross-Domain-Authentication. diff --git a/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/CGI.pm b/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/CGI.pm index 34d9d15d5..9e78306c6 100644 --- a/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/CGI.pm +++ b/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/CGI.pm @@ -261,6 +261,8 @@ __END__ =head1 NAME +=encoding utf8 + Lemonldap::NG::Handler::CGI - Perl extension for using Lemonldap::NG authentication in Perl CGI without using Lemonldap::NG::Handler @@ -279,7 +281,7 @@ authentication in Perl CGI without using Lemonldap::NG::Handler dbiPassword => "password", }, https => 0, - # Optionnal + # Optional protection => 'rule: $uid eq "admin"', # Or to use rules from manager protection => 'manager', @@ -291,7 +293,7 @@ authentication in Perl CGI without using Lemonldap::NG::Handler # Lemonldap::NG cookie validation (done if you set "protection") $cgi->authenticate(); - # Optionnal Lemonldap::NG authorization (done if you set "protection") + # Optional Lemonldap::NG authorization (done if you set "protection") $cgi->authorize(); # See CGI(3) for more about writing HTML pages diff --git a/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Proxy.pm b/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Proxy.pm index 7b886e266..c256f35d5 100644 --- a/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Proxy.pm +++ b/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Proxy.pm @@ -152,6 +152,8 @@ __END__ =head1 NAME +=encoding utf8 + Lemonldap::NG::Handler::Proxy - Perl extension to add a reverse-proxy to a Lemonldap::NG handler. @@ -176,7 +178,7 @@ apache/conf/httpd.conf: =head1 DESCRIPTION -This library adds a reverse-proxy functionnality to Apache. It is useful to +This library adds a reverse-proxy functionality to Apache. It is useful to manage redirections if the remote host use it without the good domain. =head2 PARAMETERS diff --git a/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/SharedConf.pm b/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/SharedConf.pm index fe3eee739..c94fcff15 100644 --- a/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/SharedConf.pm +++ b/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/SharedConf.pm @@ -219,6 +219,8 @@ __END__ =head1 NAME +=encoding utf8 + Lemonldap::NG::Handler::SharedConf - Perl extension to use dynamic configuration provide by Lemonldap::NG::Manager. diff --git a/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Simple.pm b/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Simple.pm index e01e92aed..b199e2d93 100644 --- a/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Simple.pm +++ b/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Simple.pm @@ -1126,6 +1126,8 @@ __END__ =head1 NAME +=encoding utf8 + Lemonldap::NG::Handler::Simple - Perl base extension for building Lemonldap::NG compatible handler. @@ -1242,7 +1244,7 @@ store user's datas. See L for more explanations. =item B E B -Name and parameters of the optional but recommanded Cache::* module used to +Name and parameters of the optional but recommended Cache::* module used to share user's datas between Apache processes. There is no need to set expires options since L call the Cache::*::purge method itself. diff --git a/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Status.pm b/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Status.pm index 4b2d8913f..4b9d79116 100644 --- a/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Status.pm +++ b/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Status.pm @@ -283,6 +283,8 @@ __END__ =head1 NAME +=encoding utf8 + Lemonldap::NG::Handler::Status - Perl extension to add a mod_status like system for L =head1 SYNOPSIS diff --git a/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/SympaAutoLogin.pm b/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/SympaAutoLogin.pm index da50ee0d7..1c8867bb3 100644 --- a/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/SympaAutoLogin.pm +++ b/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/SympaAutoLogin.pm @@ -39,6 +39,8 @@ __END__ =head1 NAME +=encoding utf8 + Lemonldap::NG::Handler::SympaAutoLogin - Perl extension to generate Sympa cookie for users authenticated by Lemonldap::NG diff --git a/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Vhost.pm b/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Vhost.pm index 97b1834be..60ca82e4f 100644 --- a/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Vhost.pm +++ b/modules/lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Vhost.pm @@ -121,6 +121,8 @@ __END__ =head1 NAME +=encoding utf8 + Lemonldap::NG::Handler::Vhost - Perl extension for building a Lemonldap::NG compatible handler able to manage Apache virtual hosts. diff --git a/modules/lemonldap-ng-manager/lib/Lemonldap/NG/Manager.pm b/modules/lemonldap-ng-manager/lib/Lemonldap/NG/Manager.pm index 4c2984c23..f5ba65151 100644 --- a/modules/lemonldap-ng-manager/lib/Lemonldap/NG/Manager.pm +++ b/modules/lemonldap-ng-manager/lib/Lemonldap/NG/Manager.pm @@ -84,6 +84,8 @@ __END__ =head1 NAME +=encoding utf8 + Lemonldap::NG::Manager - Perl extension for managing Lemonldap::NG Web-SSO system. diff --git a/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal.pm b/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal.pm index 93d4404bf..ea9cc2bd5 100644 --- a/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal.pm +++ b/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal.pm @@ -15,6 +15,8 @@ __END__ =pod +=encoding utf8 + =head1 NAME Lemonldap::NG::Portal - The authentication portal part of Lemonldap::NG Web-SSO @@ -50,7 +52,7 @@ system. } else { # Write here the html form used to authenticate with CGI methods. - # $portal->error returns the error message if authentification failed + # $portal->error returns the error message if authentication failed # You can force the language in error like this : # print $portal->error('fr') # Warning: by defaut, input names are "user" and "password" @@ -112,7 +114,7 @@ and use all L features. =head3 B -If a user isn't authenticated and attemps to connect to an area protected by a +If a user isn't authenticated and attempts to connect to an area protected by a Lemonldap::NG compatible handler, he is redirected to a portal. The portal authenticates user with a ldap bind by default, but you can also use another authentication sheme like using x509 user certificates (see @@ -143,7 +145,7 @@ authorization (see C parameter in L documentation), =item * create Perl expression to define user groups (using ldap attributes): -optionnal, this mechanism is available with Lemonldap::NG::*::SharedConf +optional, this mechanism is available with Lemonldap::NG::*::SharedConf modules, =item * create an array foreach virtual host associating URI regular @@ -201,7 +203,7 @@ You have to be careful when choosing your expressions: =back -It is also recommanded to use the C mechanism to avoid having to +It is also recommended to use the C mechanism to avoid having to evaluate a long expression at each HTTP request: locationRules => { @@ -223,7 +225,7 @@ mixed expressions. Perl expressions has to be enclosed with C<{}>: =back -It is also recommanded to use Perl expressions to avoid requiering the LDAP +It is also recommended to use Perl expressions to avoid requiering the LDAP server more than 2 times per authentication. =head3 B @@ -251,7 +253,7 @@ database). This parameters contains an associative array: =over -=item * B are the names of the choosen headers +=item * B are the names of the chosen headers =item * B are perl expressions where you can use user datas stored in the global store by calling them C<$EvarnameE>. @@ -372,7 +374,7 @@ be set to: =over -=item * ldap : authentification is done by LDAP bind +=item * ldap : authentication is done by LDAP bind =item * SSL : the portal reads SSL variables issued from Apache SSL authentication. See L for more. @@ -404,7 +406,7 @@ describe how to find configuration generated by L. See L for more =item * caPath, caFile : if you use ldap+tls you can overwrite cafile or capath -options with those parameters. This is usefull if you use a shared +options with those parameters. This is useful if you use a shared configuration. =item * ldapPpolicyControl : set it to 1 if you want to use LDAP Password diff --git a/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/AuthApache.pm b/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/AuthApache.pm index 6c244725c..1c5e67054 100644 --- a/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/AuthApache.pm +++ b/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/AuthApache.pm @@ -58,6 +58,8 @@ __END__ =head1 NAME +=encoding utf8 + Lemonldap::NG::Portal::Apache - Perl extension for building Lemonldap::NG compatible portals with Apache authentication. diff --git a/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/AuthCAS.pm b/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/AuthCAS.pm index 006c7fd29..8ca8e7580 100644 --- a/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/AuthCAS.pm +++ b/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/AuthCAS.pm @@ -85,6 +85,8 @@ __END__ =head1 NAME +=encoding utf8 + Lemonldap::NG::Portal::AuthCAS - Perl extension for building Lemonldap::NG compatible portals with CAS authentication. EXPERIMENTAL AND NOT FINISHED! diff --git a/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/AuthLA.pm b/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/AuthLA.pm index e87fe2633..8267a2005 100644 --- a/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/AuthLA.pm +++ b/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/AuthLA.pm @@ -1370,6 +1370,8 @@ __END__ =head1 NAME +=encoding utf8 + Lemonldap::NG::Portal::AuthLA - Provide Liberty Alliance Authentication for FederID project. diff --git a/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/AuthProxy.pm b/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/AuthProxy.pm index 1c6d8a73b..ed165a0aa 100644 --- a/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/AuthProxy.pm +++ b/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/AuthProxy.pm @@ -35,6 +35,8 @@ __END__ =head1 NAME +=encoding utf8 + Lemonldap::NG::Portal::AuthProxy - Authentication module for Lemonldap::NG that delegates authentication to a remote Lemonldap::NG portal. diff --git a/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/AuthRemote.pm b/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/AuthRemote.pm index fd9c31645..61fc2358c 100644 --- a/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/AuthRemote.pm +++ b/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/AuthRemote.pm @@ -57,6 +57,8 @@ __END__ =head1 NAME +=encoding utf8 + Lemonldap::NG::Portal::AuthRemote - Authentication module for Lemonldap::NG that delegates authentication to a remote Lemonldap::NG portal. diff --git a/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/AuthSAML.pm b/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/AuthSAML.pm index cb63b17b3..9a7a84950 100644 --- a/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/AuthSAML.pm +++ b/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/AuthSAML.pm @@ -57,6 +57,8 @@ __END__ =head1 NAME +=encoding utf8 + Lemonldap::NG::Portal::AuthSAML - TODO =head1 SYNOPSIS diff --git a/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/AuthSSL.pm b/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/AuthSSL.pm index 7bf00ab32..19c4818a7 100644 --- a/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/AuthSSL.pm +++ b/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/AuthSSL.pm @@ -84,6 +84,8 @@ __END__ =head1 NAME +=encoding utf8 + Lemonldap::NG::Portal::AuthSSL - Perl extension for building Lemonldap::NG compatible portals with SSL authentication. diff --git a/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/CDA.pm b/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/CDA.pm index 4c0c8f937..22b6ab2d4 100644 --- a/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/CDA.pm +++ b/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/CDA.pm @@ -26,6 +26,8 @@ __END__ =head1 NAME +=encoding utf8 + Lemonldap::NG::Portal::CDA - Perl extension for building Lemonldap::NG compatible portals with Cross Domain Authentication. diff --git a/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/IssuerDBNull.pm b/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/IssuerDBNull.pm index 9ff7ee43e..97e9c7bf9 100644 --- a/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/IssuerDBNull.pm +++ b/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/IssuerDBNull.pm @@ -44,6 +44,8 @@ __END__ =head1 NAME +=encoding utf8 + Lemonldap::NG::Portal::IssuerDBNull - Fake IssuerDB for Lemonldap::NG =head1 DESCRIPTION diff --git a/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/IssuerDBSAML.pm b/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/IssuerDBSAML.pm index 24254626b..3878e2485 100644 --- a/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/IssuerDBSAML.pm +++ b/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/IssuerDBSAML.pm @@ -55,6 +55,8 @@ __END__ =head1 NAME +=encoding utf8 + Lemonldap::NG::Portal::IssuerDBSAML - SAML IssuerDB for Lemonldap::NG =head1 SYNOPSIS diff --git a/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Menu.pm b/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Menu.pm index 62dbcf036..5a72035b5 100644 --- a/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Menu.pm +++ b/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Menu.pm @@ -562,6 +562,8 @@ __END__ =head1 NAME +=encoding utf8 + Lemonldap::NG::Portal::Menu - Enhanced menu to display to authenticated users =head1 SYNOPSIS diff --git a/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Notification.pm b/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Notification.pm index 6b96d6afb..d8fcc2f8e 100644 --- a/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Notification.pm +++ b/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Notification.pm @@ -367,6 +367,8 @@ __END__ =head1 NAME +=encoding utf8 + Lemonldap::NG::Portal::Notification - Provides notification messages system. =head1 SYNOPSIS diff --git a/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/SharedConf.pm b/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/SharedConf.pm index b22f9677a..581400c24 100644 --- a/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/SharedConf.pm +++ b/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/SharedConf.pm @@ -99,6 +99,8 @@ __END__ =head1 NAME +=encoding utf8 + Lemonldap::NG::Portal::SharedConf - Module for building Lemonldap::NG compatible portals using a central configuration database. diff --git a/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Simple.pm b/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Simple.pm index e17bb7b37..1f0729e78 100644 --- a/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Simple.pm +++ b/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Simple.pm @@ -1039,6 +1039,8 @@ __END__ =head1 NAME +=encoding utf8 + Lemonldap::NG::Portal::Simple - Base module for building Lemonldap::NG compatible portals =head1 SYNOPSIS @@ -1181,7 +1183,7 @@ be set to: =back =item * caPath, caFile: if you use ldap+tls you can overwrite cafile or capath -options with those parameters. This is usefull if you use a shared +options with those parameters. This is useful if you use a shared configuration. =item * ldapPpolicyControl: set it to 1 if you want to use LDAP Password Policy diff --git a/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/UserDBSAML.pm b/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/UserDBSAML.pm index f0bb2ace8..3cdd7c36d 100644 --- a/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/UserDBSAML.pm +++ b/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/UserDBSAML.pm @@ -50,6 +50,8 @@ __END__ =head1 NAME +=encoding utf8 + Lemonldap::NG::Portal::UserDBSAML - TODO =head1 SYNOPSIS diff --git a/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/_SAML.pm b/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/_SAML.pm index 021031915..1119ad020 100644 --- a/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/_SAML.pm +++ b/modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/_SAML.pm @@ -14,6 +14,8 @@ __END__ =head1 NAME +=encoding utf8 + Lemonldap::NG::Portal::_SAML - TODO =head1 SYNOPSIS