Commit 8102f72d authored by Yadd's avatar Yadd

POD updates :

 * spelling errors found by Lintian
 * encoding utf8
parent bdee50c0
...@@ -127,19 +127,19 @@ all: configure common handler manager portal ...@@ -127,19 +127,19 @@ all: configure common handler manager portal
configure: common_conf handler_conf portal_conf manager_conf configure: common_conf handler_conf portal_conf manager_conf
common_conf: common_conf:
@cd ${SRCCOMMONDIR}; LMNGCONFFILE=$(STORAGECONFFILE) perl Makefile.PL $(PERLOPTIONS) @cd ${SRCCOMMONDIR}; LMNGCONFFILE=$(STORAGECONFFILE) $(PERL) Makefile.PL $(PERLOPTIONS)
@touch common_conf @touch common_conf
handler_conf: handler_conf:
@cd ${SRCHANDLERDIR}; perl Makefile.PL $(PERLOPTIONS) @cd ${SRCHANDLERDIR}; $(PERL) Makefile.PL $(PERLOPTIONS)
@touch handler_conf @touch handler_conf
portal_conf: portal_conf:
@cd ${SRCPORTALDIR}; perl Makefile.PL $(PERLOPTIONS) @cd ${SRCPORTALDIR}; $(PERL) Makefile.PL $(PERLOPTIONS)
@touch portal_conf @touch portal_conf
manager_conf: manager_conf:
@cd ${SRCMANAGERDIR}; perl Makefile.PL $(PERLOPTIONS) @cd ${SRCMANAGERDIR}; $(PERL) Makefile.PL $(PERLOPTIONS)
@touch manager_conf @touch manager_conf
# #
...@@ -223,13 +223,13 @@ install_site: install_manager_site install_portal_site install_handler_site inst ...@@ -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/apache* $(RCONFDIR); \
cp --remove-destination _example/etc/for_etc_hosts $(RCONFDIR); \ cp --remove-destination _example/etc/for_etc_hosts $(RCONFDIR); \
fi fi
@perl -i -pe 's#__HANDLER__#${HANDLERDIR}/MyHandler.pm#; \ @$(PERL) -i -pe 's#__HANDLER__#${HANDLERDIR}/MyHandler.pm#; \
s/__DNSDOMAIN__/$(DNSDOMAIN)/g; \ s/__DNSDOMAIN__/$(DNSDOMAIN)/g; \
s#__PORTALDIR__#$(PORTALDIR)/#g; \ s#__PORTALDIR__#$(PORTALDIR)/#g; \
s#__MANAGERDIR__#$(MANAGERDIR)/#g; \ s#__MANAGERDIR__#$(MANAGERDIR)/#g; \
s#__TESTDIR__#$(TESTDIR)/#g; \ s#__TESTDIR__#$(TESTDIR)/#g; \
s#__DOCDIR__#$(DOCDIR)/#g;' $(RCONFDIR)/apache* 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
@echo "LemonLDAP::NG v${VERSION} is installed with these parameters:" @echo "LemonLDAP::NG v${VERSION} is installed with these parameters:"
@echo " - System configuration: ${CONFDIR}" @echo " - System configuration: ${CONFDIR}"
...@@ -272,7 +272,7 @@ install_manager_site: install_conf_dir ...@@ -272,7 +272,7 @@ install_manager_site: install_conf_dir
done done
@find ${RSESSIONSEXPLORERDIR} -type l -name images -delete @find ${RSESSIONSEXPLORERDIR} -type l -name images -delete
@cp -pR --remove-destination ${SRCMANAGERDIR}/example/index.pl ${RMANAGERDIR} @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) @cp -pR --remove-destination ${SRCMANAGERDIR}/example/skins/* $(RMANAGERSKINSDIR)
@if [ "$(MANAGERDIR)/skins/" != "$(MANAGERSKINSDIR)/" ]; then \ @if [ "$(MANAGERDIR)/skins/" != "$(MANAGERSKINSDIR)/" ]; then \
for skin in $$(ls lemonldap-ng-manager/example/skins/); do \ for skin in $$(ls lemonldap-ng-manager/example/skins/); do \
...@@ -280,7 +280,7 @@ install_manager_site: install_conf_dir ...@@ -280,7 +280,7 @@ install_manager_site: install_conf_dir
ln -s $(MANAGERSKINSDIR)/$$skin $(RMANAGERDIR)/skins/$$skin; \ ln -s $(MANAGERSKINSDIR)/$$skin $(RMANAGERDIR)/skins/$$skin; \
done; \ done; \
fi fi
@perl -i -pe 's/__DNSDOMAIN__/$(DNSDOMAIN)/g' $(RCONFDIR)/$(CONFFILENAME) @$(PERL) -i -pe 's/__DNSDOMAIN__/$(DNSDOMAIN)/g' $(RCONFDIR)/$(CONFFILENAME)
# Sessions explorer install # Sessions explorer install
@cp -pR --remove-destination ${SRCMANAGERDIR}/example/sessions.pl $(RSESSIONSEXPLORERDIR) @cp -pR --remove-destination ${SRCMANAGERDIR}/example/sessions.pl $(RSESSIONSEXPLORERDIR)
@cp -pR --remove-destination ${SRCMANAGERDIR}/example/images $(RSESSIONSEXPLORERDIR) @cp -pR --remove-destination ${SRCMANAGERDIR}/example/images $(RSESSIONSEXPLORERDIR)
...@@ -305,7 +305,7 @@ install_portal_site: install_conf_dir ...@@ -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/index_skin.pl ${RPORTALDIR}/index.pl
@cp -pR --remove-destination ${SRCPORTALDIR}/example/error.pl ${RPORTALDIR} @cp -pR --remove-destination ${SRCPORTALDIR}/example/error.pl ${RPORTALDIR}
@cp -pR --remove-destination ${SRCPORTALDIR}/example/apps ${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 s#__APPSXMLFILE__#$(CONFDIR)/apps-list.xml#;' ${RPORTALDIR}/index.pl ${RPORTALDIR}/error.pl
@cp -pR --remove-destination ${SRCPORTALDIR}/example/skins/* $(RPORTALSKINSDIR) @cp -pR --remove-destination ${SRCPORTALDIR}/example/skins/* $(RPORTALSKINSDIR)
@if [ "$(PORTALDIR)/skins/" != "$(PORTALSKINSDIR)/" ]; then \ @if [ "$(PORTALDIR)/skins/" != "$(PORTALSKINSDIR)/" ]; then \
...@@ -318,18 +318,18 @@ install_portal_site: install_conf_dir ...@@ -318,18 +318,18 @@ install_portal_site: install_conf_dir
@if [ "$(ERASECONFIG)" -eq "1" ]; then \ @if [ "$(ERASECONFIG)" -eq "1" ]; then \
cp --remove-destination _example/etc/apps-list* $(RCONFDIR); \ cp --remove-destination _example/etc/apps-list* $(RCONFDIR); \
fi 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 # L-A portal install
@cp -pR --remove-destination ${SRCPORTALDIR}/example/AuthLA/* $(RLASPPORTALDIR) @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 # Cron files
@cp --remove-destination lemonldap-ng-portal/example/scripts/purgeCentralCache.cron.d $(RCRONDIR)/lemonldap-ng @cp --remove-destination lemonldap-ng-portal/example/scripts/purgeCentralCache.cron.d $(RCRONDIR)/lemonldap-ng
@if [ ! "$(APACHEUSER)" ]; then \ @if [ ! "$(APACHEUSER)" ]; then \
perl -i -pe 's#__APACHEUSER__#root#g;' $(RCRONDIR)/lemonldap-ng; \ $(PERL) -i -pe 's#__APACHEUSER__#root#g;' $(RCRONDIR)/lemonldap-ng; \
else \ else \
perl -i -pe 's#__APACHEUSER__#$(APACHEUSER)#g;' $(RCRONDIR)/lemonldap-ng; \ $(PERL) -i -pe 's#__APACHEUSER__#$(APACHEUSER)#g;' $(RCRONDIR)/lemonldap-ng; \
fi fi
@perl -i -pe 's#__BINDIR__#$(BINDIR)#g;' $(RCRONDIR)/lemonldap-ng @$(PERL) -i -pe 's#__BINDIR__#$(BINDIR)#g;' $(RCRONDIR)/lemonldap-ng
# Clean SVN files # Clean SVN files
@rm -rf $$(find ${RPORTALDIR} $(RPORTALSKINSDIR) $(RLASPPORTALDIR) $(RCRONDIR) $(RCONFDIR) -type d -name .svn) @rm -rf $$(find ${RPORTALDIR} $(RPORTALSKINSDIR) $(RLASPPORTALDIR) $(RCRONDIR) $(RCONFDIR) -type d -name .svn)
...@@ -344,7 +344,7 @@ install_test_site: ...@@ -344,7 +344,7 @@ install_test_site:
@install -v -d $(RTESTDIR) @install -v -d $(RTESTDIR)
@cp -pR --remove-destination _example/test/* $(RTESTDIR) @cp -pR --remove-destination _example/test/* $(RTESTDIR)
@rm -rf $$(find $(RTESTDIR) -type d -name .svn) @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) @rm -rf $$(find $(RTESTDIR) -type d -name .svn)
install_examples_site: install_examples_site:
...@@ -357,8 +357,8 @@ install_examples_site: ...@@ -357,8 +357,8 @@ install_examples_site:
$(REXAMPLESDIR)/manager/skins \ $(REXAMPLESDIR)/manager/skins \
$(REXAMPLESDIR)/manager/images \ $(REXAMPLESDIR)/manager/images \
@rm -rf $$(find $(REXAMPLESDIR) -type d -name .svn) @rm -rf $$(find $(REXAMPLESDIR) -type d -name .svn)
@perl -i -pe 's#__DIR__#$(LASPPORTALDIR)#g' $(REXAMPLESDIR)/portal/AuthLA/index.pl @$(PERL) -i -pe 's#__DIR__#$(LASPPORTALDIR)#g' $(REXAMPLESDIR)/portal/AuthLA/index.pl
@perl -i -pe 's#__SKINDIR__#$(PORTALDIR)/skins#; \ @$(PERL) -i -pe 's#__SKINDIR__#$(PORTALDIR)/skins#; \
s#__APPSXMLFILE__#$(CONFDIR)/apps-list.xml#; \ s#__APPSXMLFILE__#$(CONFDIR)/apps-list.xml#; \
s#__SESSIONDIR__#$(APACHESESSIONFILEDIR)/#g;' $(REXAMPLESDIR)/portal/*.pl s#__SESSIONDIR__#$(APACHESESSIONFILEDIR)/#g;' $(REXAMPLESDIR)/portal/*.pl
...@@ -371,11 +371,11 @@ install_conf_dir: install_sessions_dir ...@@ -371,11 +371,11 @@ install_conf_dir: install_sessions_dir
@install -v -d $(RCONFDIR) $(RFILECONFIGDIR) $(RTOOLSDIR) @install -v -d $(RCONFDIR) $(RFILECONFIGDIR) $(RTOOLSDIR)
@if [ "$(ERASECONFIG)" -eq "1" ]; then \ @if [ "$(ERASECONFIG)" -eq "1" ]; then \
cp --remove-destination $(SRCCOMMONDIR)/$(CONFFILENAME) $(RCONFDIR); \ 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 fi
@cp _example/conf/lmConf-1 $(RFILECONFIGDIR) @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) -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) -i -pe 's/__DNSDOMAIN__/$(DNSDOMAIN)/g;\
s/__LDAPPORT__/$(LDAPPORT)/g;\ s/__LDAPPORT__/$(LDAPPORT)/g;\
s/__LDAPHOST__/$(LDAPHOST)/g;\ s/__LDAPHOST__/$(LDAPHOST)/g;\
s/__LDAPSUFFIX__/$(LDAPSUFFIX)/g;\ s/__LDAPSUFFIX__/$(LDAPSUFFIX)/g;\
...@@ -447,7 +447,7 @@ cpan: clean configure common_cpan handler_cpan portal_cpan manager_cpan ...@@ -447,7 +447,7 @@ cpan: clean configure common_cpan handler_cpan portal_cpan manager_cpan
for i in Common Portal Handler Manager; do \ for i in Common Portal Handler Manager; do \
tar xzf Lemonldap-NG-$$i-*.tar.gz \ tar xzf Lemonldap-NG-$$i-*.tar.gz \
$$(tar tzf Lemonldap-NG-$$i-*.tar.gz |grep META.yml); \ $$(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*/; \ rmdir Lemonldap-NG-$$i*/; \
done done
...@@ -467,23 +467,28 @@ manager_cpan: manager_conf ...@@ -467,23 +467,28 @@ manager_cpan: manager_conf
@$(MAKE) -C ${SRCMANAGERDIR} dist @$(MAKE) -C ${SRCMANAGERDIR} dist
@mv ${SRCMANAGERDIR}/Lemonldap*.gz . @mv ${SRCMANAGERDIR}/Lemonldap*.gz .
static_example: example sub_static_example: install_site
@mkdir -p ${EXAMPLESDIR}/static echo $(LMPREFIX)
@cd ${EXAMPLESDIR}/static/;cp -a ../manager/{skins} .;cd - 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) @../scripts/make_static_example.pl ${DESTMANAGERDIR}/index.pl ${SCRIPTSDIR}/static/index.html $(EXAMPLELANG)
static_example:
$(MAKE) sub_static_example LMPREFIX=$(EXAMPLEROOT)
documentation: documentation:
@cd doc/ && ../scripts/doc.pl @cd doc/ && ../scripts/doc.pl
doxygen: clean 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 COLLABORATIVE_GRAPH=1 doxygen Doxyfile
mkdir doc/devel/tmp mkdir doc/devel/tmp
mv doc/devel/html/inherit* doc/devel/tmp/ mv doc/devel/html/inherit* doc/devel/tmp/
COLLABORATIVE_GRAPH=0 doxygen Doxyfile COLLABORATIVE_GRAPH=0 doxygen Doxyfile
mv -f doc/devel/tmp/* doc/devel/html/ mv -f doc/devel/tmp/* doc/devel/html/
rm -rf doc/devel/tmp 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 distclean: clean
......
...@@ -9,6 +9,8 @@ __END__ ...@@ -9,6 +9,8 @@ __END__
=head1 NAME =head1 NAME
=encoding utf8
Lemonldap::NG::Common - Common files for Lemonldap::NG infrastructure Lemonldap::NG::Common - Common files for Lemonldap::NG infrastructure
=head1 DESCRIPTION =head1 DESCRIPTION
......
...@@ -210,6 +210,8 @@ __END__ ...@@ -210,6 +210,8 @@ __END__
=head1 NAME =head1 NAME
=encoding utf8
Lemonldap::NG::Common::Apache::Session::SOAP - Perl extension written to Lemonldap::NG::Common::Apache::Session::SOAP - Perl extension written to
access to Lemonldap::NG Web-SSO sessions via SOAP. access to Lemonldap::NG Web-SSO sessions via SOAP.
......
...@@ -328,6 +328,8 @@ __END__ ...@@ -328,6 +328,8 @@ __END__
=head1 NAME =head1 NAME
=encoding utf8
Lemonldap::NG::Common::CGI - Simple module to extend L<CGI> to manage Lemonldap::NG::Common::CGI - Simple module to extend L<CGI> to manage
HTTP "If-Modified-Since / 304 Not Modified" system. HTTP "If-Modified-Since / 304 Not Modified" system.
......
...@@ -85,6 +85,8 @@ __END__ ...@@ -85,6 +85,8 @@ __END__
=head1 NAME =head1 NAME
=encoding utf8
Lemonldap::NG::Common::CGI::SOAPServer - Extends L<SOAP::Lite> to be compatible Lemonldap::NG::Common::CGI::SOAPServer - Extends L<SOAP::Lite> to be compatible
with L<CGI>. with L<CGI>.
......
...@@ -48,6 +48,8 @@ __END__ ...@@ -48,6 +48,8 @@ __END__
=head1 NAME =head1 NAME
=encoding utf8
Lemonldap::NG::Common::CGI::SOAPService - Wrapper for all SOAP functions of Lemonldap::NG::Common::CGI::SOAPService - Wrapper for all SOAP functions of
Lemonldap::NG CGIs. Lemonldap::NG CGIs.
......
...@@ -362,6 +362,8 @@ __END__ ...@@ -362,6 +362,8 @@ __END__
=head1 NAME =head1 NAME
=encoding utf8
Lemonldap::NG::Common::Conf - Perl extension written to manage Lemonldap::NG Lemonldap::NG::Common::Conf - Perl extension written to manage Lemonldap::NG
Web-SSO configuration. Web-SSO configuration.
...@@ -397,7 +399,7 @@ L<Lemonldap::NG::Portal> and L<Lemonldap::NG::Manager>. ...@@ -397,7 +399,7 @@ L<Lemonldap::NG::Portal> and L<Lemonldap::NG::Manager>.
=over =over
=item * B<new> (constructor): it takes different arguments depending on the =item * B<new> (constructor): it takes different arguments depending on the
choosen type. Examples: chosen type. Examples:
=over =over
......
...@@ -95,6 +95,8 @@ __END__ ...@@ -95,6 +95,8 @@ __END__
=head1 NAME =head1 NAME
=encoding utf8
Lemonldap::NG::Common::Conf::SOAP - Perl extension written to access to Lemonldap::NG::Common::Conf::SOAP - Perl extension written to access to
Lemonldap::NG Web-SSO configuration via SOAP. Lemonldap::NG Web-SSO configuration via SOAP.
......
...@@ -109,6 +109,8 @@ __END__ ...@@ -109,6 +109,8 @@ __END__
=head1 NAME =head1 NAME
=encoding utf8
Lemonldap::NG::Common::Safelib - Contains functions that are automatically Lemonldap::NG::Common::Safelib - Contains functions that are automatically
imported in Lemonldap::NG Safe objects to be used in expressions like rules, imported in Lemonldap::NG Safe objects to be used in expressions like rules,
macros,... macros,...
......
...@@ -15,6 +15,8 @@ __END__ ...@@ -15,6 +15,8 @@ __END__
=pod =pod
=encoding utf8
=head1 NAME =head1 NAME
Lemonldap::NG::Handler - The Apache protection module part of Lemonldap::NG::Handler - The Apache protection module part of
...@@ -108,7 +110,7 @@ but B<not with mod_perl 1.99>. ...@@ -108,7 +110,7 @@ but B<not with mod_perl 1.99>.
=head3 B<Authentication> =head3 B<Authentication>
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 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 authenticates user with a ldap bind by default, but you can also use another
authentication sheme like using x509 user certificates (see authentication sheme like using x509 user certificates (see
...@@ -196,7 +198,7 @@ on a protected area. ...@@ -196,7 +198,7 @@ on a protected area.
=back =back
It is also recommanded to use the C<groups> mechanism to avoid having to It is also recommended to use the C<groups> mechanism to avoid having to
evaluate a long expression at each HTTP request: evaluate a long expression at each HTTP request:
locationRules => { locationRules => {
...@@ -218,7 +220,7 @@ C<groups> parameter. Perl expressions has to be enclosed with C<{}>: ...@@ -218,7 +220,7 @@ C<groups> parameter. Perl expressions has to be enclosed with C<{}>:
=back =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. server more than 2 times per authentication.
=head3 B<Accounting> =head3 B<Accounting>
...@@ -247,7 +249,7 @@ virtual host: ...@@ -247,7 +249,7 @@ virtual host:
=over =over
=item * B<keys> are the names of the choosen headers =item * B<keys> are the names of the chosen headers
=item * B<values> are Perl expressions where you can use user datas stored in =item * B<values> are Perl expressions where you can use user datas stored in
the global store by calling them C<$E<lt>varnameE<gt>>. the global store by calling them C<$E<lt>varnameE<gt>>.
......
...@@ -153,6 +153,8 @@ __END__ ...@@ -153,6 +153,8 @@ __END__
=head1 NAME =head1 NAME
=encoding utf8
Lemonldap::NG::Handler::AuthBasic - Perl extension to be able to authenticate Lemonldap::NG::Handler::AuthBasic - Perl extension to be able to authenticate
users by basic web system but to use Lemonldap::NG to control authorizations. users by basic web system but to use Lemonldap::NG to control authorizations.
......
...@@ -28,6 +28,8 @@ __END__ ...@@ -28,6 +28,8 @@ __END__
=head1 NAME =head1 NAME
=encoding utf8
Lemonldap::NG::Handler::CDA - Module to use Lemonldap::NG::Handler Lemonldap::NG::Handler::CDA - Module to use Lemonldap::NG::Handler
mechanisms with Cross-Domain-Authentication. mechanisms with Cross-Domain-Authentication.
......
...@@ -261,6 +261,8 @@ __END__ ...@@ -261,6 +261,8 @@ __END__
=head1 NAME =head1 NAME
=encoding utf8
Lemonldap::NG::Handler::CGI - Perl extension for using Lemonldap::NG Lemonldap::NG::Handler::CGI - Perl extension for using Lemonldap::NG
authentication in Perl CGI without using Lemonldap::NG::Handler authentication in Perl CGI without using Lemonldap::NG::Handler
...@@ -279,7 +281,7 @@ authentication in Perl CGI without using Lemonldap::NG::Handler ...@@ -279,7 +281,7 @@ authentication in Perl CGI without using Lemonldap::NG::Handler
dbiPassword => "password", dbiPassword => "password",
}, },
https => 0, https => 0,
# Optionnal # Optional
protection => 'rule: $uid eq "admin"', protection => 'rule: $uid eq "admin"',
# Or to use rules from manager # Or to use rules from manager
protection => 'manager', protection => 'manager',
...@@ -291,7 +293,7 @@ authentication in Perl CGI without using Lemonldap::NG::Handler ...@@ -291,7 +293,7 @@ authentication in Perl CGI without using Lemonldap::NG::Handler
# Lemonldap::NG cookie validation (done if you set "protection") # Lemonldap::NG cookie validation (done if you set "protection")
$cgi->authenticate(); $cgi->authenticate();
# Optionnal Lemonldap::NG authorization (done if you set "protection") # Optional Lemonldap::NG authorization (done if you set "protection")
$cgi->authorize(); $cgi->authorize();
# See CGI(3) for more about writing HTML pages # See CGI(3) for more about writing HTML pages
......
...@@ -152,6 +152,8 @@ __END__ ...@@ -152,6 +152,8 @@ __END__
=head1 NAME =head1 NAME
=encoding utf8
Lemonldap::NG::Handler::Proxy - Perl extension to add a reverse-proxy to a Lemonldap::NG::Handler::Proxy - Perl extension to add a reverse-proxy to a
Lemonldap::NG handler. Lemonldap::NG handler.
...@@ -176,7 +178,7 @@ apache/conf/httpd.conf: ...@@ -176,7 +178,7 @@ apache/conf/httpd.conf:
=head1 DESCRIPTION =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. manage redirections if the remote host use it without the good domain.
=head2 PARAMETERS =head2 PARAMETERS
......
...@@ -219,6 +219,8 @@ __END__ ...@@ -219,6 +219,8 @@ __END__
=head1 NAME =head1 NAME
=encoding utf8
Lemonldap::NG::Handler::SharedConf - Perl extension to use dynamic Lemonldap::NG::Handler::SharedConf - Perl extension to use dynamic
configuration provide by Lemonldap::NG::Manager. configuration provide by Lemonldap::NG::Manager.
......
...@@ -1126,6 +1126,8 @@ __END__ ...@@ -1126,6 +1126,8 @@ __END__
=head1 NAME =head1 NAME
=encoding utf8
Lemonldap::NG::Handler::Simple - Perl base extension for building Lemonldap::NG Lemonldap::NG::Handler::Simple - Perl base extension for building Lemonldap::NG
compatible handler. compatible handler.
...@@ -1242,7 +1244,7 @@ store user's datas. See L<Lemonldap::NG::Portal(3)> for more explanations. ...@@ -1242,7 +1244,7 @@ store user's datas. See L<Lemonldap::NG::Portal(3)> for more explanations.
=item B<localStorage> E<amp> B<localStorageOptions> =item B<localStorage> E<amp> B<localStorageOptions>
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 share user's datas between Apache processes. There is no need to set expires
options since L<Lemonldap::NG::Handler::Simple> call the Cache::*::purge options since L<Lemonldap::NG::Handler::Simple> call the Cache::*::purge
method itself. method itself.
......
...@@ -283,6 +283,8 @@ __END__ ...@@ -283,6 +283,8 @@ __END__
=head1 NAME =head1 NAME
=encoding utf8
Lemonldap::NG::Handler::Status - Perl extension to add a mod_status like system for L<Lemonldap::NG::Handler> Lemonldap::NG::Handler::Status - Perl extension to add a mod_status like system for L<Lemonldap::NG::Handler>
=head1 SYNOPSIS =head1 SYNOPSIS
......