POD updates :

* spelling errors found by Lintian
 * encoding utf8
This commit is contained in:
Xavier Guimard 2010-01-03 08:09:59 +00:00
parent bdee50c017
commit 8102f72d50
37 changed files with 121 additions and 44 deletions

View File

@ -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
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
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
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
@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
@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:
@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:
$(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
@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
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
@$(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

View File

@ -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

View File

@ -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.

View File

@ -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.

View File

@ -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>.

View File

@ -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.

View File

@ -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>.
=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

View File

@ -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.

View File

@ -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,...

View File

@ -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>.
=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.
=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<{}>:
=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:
=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>>.

View File

@ -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.

View File

@ -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.

View File

@ -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
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
# 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

View File

@ -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:
=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

View File

@ -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.

View File

@ -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.
=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.

View File

@ -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

View File

@ -39,6 +39,8 @@ __END__
=head1 NAME =head1 NAME
=encoding utf8
Lemonldap::NG::Handler::SympaAutoLogin - Perl extension to generate Sympa cookie Lemonldap::NG::Handler::SympaAutoLogin - Perl extension to generate Sympa cookie
for users authenticated by Lemonldap::NG for users authenticated by Lemonldap::NG

View File

@ -121,6 +121,8 @@ __END__
=head1 NAME =head1 NAME
=encoding utf8
Lemonldap::NG::Handler::Vhost - Perl extension for building a Lemonldap::NG Lemonldap::NG::Handler::Vhost - Perl extension for building a Lemonldap::NG
compatible handler able to manage Apache virtual hosts. compatible handler able to manage Apache virtual hosts.

View File

@ -84,6 +84,8 @@ __END__
=head1 NAME =head1 NAME
=encoding utf8
Lemonldap::NG::Manager - Perl extension for managing Lemonldap::NG Web-SSO Lemonldap::NG::Manager - Perl extension for managing Lemonldap::NG Web-SSO
system. system.

View File

@ -15,6 +15,8 @@ __END__
=pod =pod
=encoding utf8
=head1 NAME =head1 NAME
Lemonldap::NG::Portal - The authentication portal part of Lemonldap::NG Web-SSO Lemonldap::NG::Portal - The authentication portal part of Lemonldap::NG Web-SSO
@ -50,7 +52,7 @@ system.
} }
else { else {
# Write here the html form used to authenticate with CGI methods. # 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 : # You can force the language in error like this :
# print $portal->error('fr') # print $portal->error('fr')
# Warning: by defaut, input names are "user" and "password" # Warning: by defaut, input names are "user" and "password"
@ -112,7 +114,7 @@ and use all L<CGI> features.
=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
@ -143,7 +145,7 @@ authorization (see C<exportedHeaders> parameter in L<Lemonldap::NG::Portal>
documentation), documentation),
=item * create Perl expression to define user groups (using ldap attributes): =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, modules,
=item * create an array foreach virtual host associating URI regular =item * create an array foreach virtual host associating URI regular
@ -201,7 +203,7 @@ You have to be careful when choosing your expressions:
=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 => {
@ -223,7 +225,7 @@ mixed expressions. 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>
@ -251,7 +253,7 @@ database). This parameters contains an associative array:
=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>>.
@ -372,7 +374,7 @@ be set to:
=over =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 =item * SSL : the portal reads SSL variables issued from Apache SSL
authentication. See L<Lemonldap::NG::Portal::AuthSSL> for more. authentication. See L<Lemonldap::NG::Portal::AuthSSL> for more.
@ -404,7 +406,7 @@ describe how to find configuration generated by L<Lemonldap::NG::Manager>. See
L<Lemonldap::NG::Common::Conf> for more L<Lemonldap::NG::Common::Conf> for more
=item * caPath, caFile : if you use ldap+tls you can overwrite cafile or capath =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. configuration.
=item * ldapPpolicyControl : set it to 1 if you want to use LDAP Password =item * ldapPpolicyControl : set it to 1 if you want to use LDAP Password

View File

@ -58,6 +58,8 @@ __END__
=head1 NAME =head1 NAME
=encoding utf8
Lemonldap::NG::Portal::Apache - Perl extension for building Lemonldap::NG Lemonldap::NG::Portal::Apache - Perl extension for building Lemonldap::NG
compatible portals with Apache authentication. compatible portals with Apache authentication.

View File

@ -85,6 +85,8 @@ __END__
=head1 NAME =head1 NAME
=encoding utf8
Lemonldap::NG::Portal::AuthCAS - Perl extension for building Lemonldap::NG Lemonldap::NG::Portal::AuthCAS - Perl extension for building Lemonldap::NG
compatible portals with CAS authentication. EXPERIMENTAL AND NOT FINISHED! compatible portals with CAS authentication. EXPERIMENTAL AND NOT FINISHED!

View File

@ -1370,6 +1370,8 @@ __END__
=head1 NAME =head1 NAME
=encoding utf8
Lemonldap::NG::Portal::AuthLA - Provide Liberty Alliance Authentication for Lemonldap::NG::Portal::AuthLA - Provide Liberty Alliance Authentication for
FederID project. FederID project.

View File

@ -35,6 +35,8 @@ __END__
=head1 NAME =head1 NAME
=encoding utf8
Lemonldap::NG::Portal::AuthProxy - Authentication module for Lemonldap::NG Lemonldap::NG::Portal::AuthProxy - Authentication module for Lemonldap::NG
that delegates authentication to a remote Lemonldap::NG portal. that delegates authentication to a remote Lemonldap::NG portal.

View File

@ -57,6 +57,8 @@ __END__
=head1 NAME =head1 NAME
=encoding utf8
Lemonldap::NG::Portal::AuthRemote - Authentication module for Lemonldap::NG Lemonldap::NG::Portal::AuthRemote - Authentication module for Lemonldap::NG
that delegates authentication to a remote Lemonldap::NG portal. that delegates authentication to a remote Lemonldap::NG portal.

View File

@ -57,6 +57,8 @@ __END__
=head1 NAME =head1 NAME
=encoding utf8
Lemonldap::NG::Portal::AuthSAML - TODO Lemonldap::NG::Portal::AuthSAML - TODO
=head1 SYNOPSIS =head1 SYNOPSIS

View File

@ -84,6 +84,8 @@ __END__
=head1 NAME =head1 NAME
=encoding utf8
Lemonldap::NG::Portal::AuthSSL - Perl extension for building Lemonldap::NG Lemonldap::NG::Portal::AuthSSL - Perl extension for building Lemonldap::NG
compatible portals with SSL authentication. compatible portals with SSL authentication.

View File

@ -26,6 +26,8 @@ __END__
=head1 NAME =head1 NAME
=encoding utf8
Lemonldap::NG::Portal::CDA - Perl extension for building Lemonldap::NG Lemonldap::NG::Portal::CDA - Perl extension for building Lemonldap::NG
compatible portals with Cross Domain Authentication. compatible portals with Cross Domain Authentication.

View File

@ -44,6 +44,8 @@ __END__
=head1 NAME =head1 NAME
=encoding utf8
Lemonldap::NG::Portal::IssuerDBNull - Fake IssuerDB for Lemonldap::NG Lemonldap::NG::Portal::IssuerDBNull - Fake IssuerDB for Lemonldap::NG
=head1 DESCRIPTION =head1 DESCRIPTION

View File

@ -55,6 +55,8 @@ __END__
=head1 NAME =head1 NAME
=encoding utf8
Lemonldap::NG::Portal::IssuerDBSAML - SAML IssuerDB for Lemonldap::NG Lemonldap::NG::Portal::IssuerDBSAML - SAML IssuerDB for Lemonldap::NG
=head1 SYNOPSIS =head1 SYNOPSIS

View File

@ -562,6 +562,8 @@ __END__
=head1 NAME =head1 NAME
=encoding utf8
Lemonldap::NG::Portal::Menu - Enhanced menu to display to authenticated users Lemonldap::NG::Portal::Menu - Enhanced menu to display to authenticated users
=head1 SYNOPSIS =head1 SYNOPSIS

View File

@ -367,6 +367,8 @@ __END__
=head1 NAME =head1 NAME
=encoding utf8
Lemonldap::NG::Portal::Notification - Provides notification messages system. Lemonldap::NG::Portal::Notification - Provides notification messages system.
=head1 SYNOPSIS =head1 SYNOPSIS

View File

@ -99,6 +99,8 @@ __END__
=head1 NAME =head1 NAME
=encoding utf8
Lemonldap::NG::Portal::SharedConf - Module for building Lemonldap::NG Lemonldap::NG::Portal::SharedConf - Module for building Lemonldap::NG
compatible portals using a central configuration database. compatible portals using a central configuration database.

View File

@ -1039,6 +1039,8 @@ __END__
=head1 NAME =head1 NAME
=encoding utf8
Lemonldap::NG::Portal::Simple - Base module for building Lemonldap::NG compatible portals Lemonldap::NG::Portal::Simple - Base module for building Lemonldap::NG compatible portals
=head1 SYNOPSIS =head1 SYNOPSIS
@ -1181,7 +1183,7 @@ be set to:
=back =back
=item * caPath, caFile: if you use ldap+tls you can overwrite cafile or capath =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. configuration.
=item * ldapPpolicyControl: set it to 1 if you want to use LDAP Password Policy =item * ldapPpolicyControl: set it to 1 if you want to use LDAP Password Policy

View File

@ -50,6 +50,8 @@ __END__
=head1 NAME =head1 NAME
=encoding utf8
Lemonldap::NG::Portal::UserDBSAML - TODO Lemonldap::NG::Portal::UserDBSAML - TODO
=head1 SYNOPSIS =head1 SYNOPSIS

View File

@ -14,6 +14,8 @@ __END__
=head1 NAME =head1 NAME
=encoding utf8
Lemonldap::NG::Portal::_SAML - TODO Lemonldap::NG::Portal::_SAML - TODO
=head1 SYNOPSIS =head1 SYNOPSIS