Commit Graph

253 Commits

Author SHA1 Message Date
Clément Oudot
27cb64b247 Common: typo in test 01 2010-03-10 07:59:31 +00:00
Xavier Guimard
d439cab42e * Little CSS for abort()
* Comments for lemonldap-ng.ini
* lemonldap-ng.ini was not well read in Manager
* New target 'unprotect' in rules
* Status update
2010-03-09 21:42:31 +00:00
Clément Oudot
d9f2af49bf Set application list in ini file 2010-03-08 17:06:03 +00:00
Clément Oudot
cfd54cdf23 Manager: add subnode to store IDP options 2010-03-04 15:44:03 +00:00
Xavier Guimard
40d2c70604 New target 'tidy' in Makefile 2010-03-01 20:32:28 +00:00
Thomas CHEMINEAU
5f0dded77e managing samlIDPMetaData node now working, and stored well formated data in configuration backend 2010-02-24 16:24:17 +00:00
Thomas CHEMINEAU
abe78a5408 move metadatas structures of manager into to _Struct and try to generalize display layouts of metadatas in template 2010-02-22 14:38:31 +00:00
Thomas CHEMINEAU
c2dc15ab6e store IDP values into samlIDPMetaDataXML and samlIDPMetaDataExportedAttributes, as what has been done with virtualhosts 2010-02-19 17:31:25 +00:00
Thomas CHEMINEAU
0e2ab107e8 move nodes into structure of manager, so that saml nodes are directly under the root node 2010-02-17 17:07:15 +00:00
Thomas CHEMINEAU
cb62695193 introduce samlmetadata type into manager structure, to display metadata in XML 2010-02-17 14:52:05 +00:00
Thomas CHEMINEAU
1fb77eab8f introduce sub nodes into IDP nodes (test) 2010-02-16 17:21:38 +00:00
Xavier Guimard
27769948f3 * abort instead of log when apps.list is deprecated
* lmMigrateConfFiles2ini does not quit if storage.conf is missing so it can be launched more than one time
2010-02-11 08:44:57 +00:00
Clément Oudot
f265cbce57 SAML: NameID management 2010-02-09 20:49:23 +00:00
Clément Oudot
5a34979fb7 SAML Metadata:
* Do not publish private key in metadata!
* perltidy
* typo on EntityID template param
2010-02-08 15:27:20 +00:00
Clément Oudot
bdef53f289 Preserve carriage returns and line feeds in configuration values 2010-02-08 12:20:37 +00:00
Clément Oudot
434f8ea286 SAML: better organization name management 2010-02-05 17:18:09 +00:00
Thomas CHEMINEAU
a8e43eddd6 add method to export metadata from conf to XML, in SAML2 format 2010-02-05 15:48:53 +00:00
Thomas CHEMINEAU
d480616d06 move metadata configuration structure into manager 2010-02-05 10:20:16 +00:00
Thomas CHEMINEAU
c8dbf65789 refactoring structure of SAML service into manager 2010-02-04 09:28:51 +00:00
Clément Oudot
a9abc60efd SAML: Force :md namespace prefix 2010-02-02 22:15:25 +00:00
Clément Oudot
718e4fa136 SAML: add IDP in Lasso::Server 2010-02-01 17:07:40 +00:00
Clément Oudot
8abef3a99b SAML:
* perltidy
* use XML::Simple instead of XML::LibXML to parse XML
* Add initializeFromConfHash method to use directly configuration hash object
* Create Lasso server with metadata in buffers rather than XML files
2010-02-01 14:01:28 +00:00
Thomas CHEMINEAU
8a4b59d324 add a method to build a default configuration structure 2010-01-29 16:04:48 +00:00
Thomas CHEMINEAU
5b576643ee improve Metadata module to build hashref for Manager structure 2010-01-28 17:58:49 +00:00
Clément Oudot
cb71f77f4d Portal: move configuration documentation from script to ini file 2010-01-28 17:39:34 +00:00
Xavier Guimard
b87c0a520b MANIFEST update + Makefile target 2010-01-23 12:48:18 +00:00
Thomas CHEMINEAU
7abb65dbac Metadata object is now ready to be stored into LemonLDAP-NG configuration file 2010-01-22 17:38:10 +00:00
Thomas CHEMINEAU
1c4a1b19e7 Metadata object can now be rebuild from configuration data 2010-01-22 17:32:41 +00:00
Thomas CHEMINEAU
80de38cc11 Metadata READ now XML flow, and can be export to global configuration file 2010-01-22 16:32:57 +00:00
Thomas CHEMINEAU
26db0f0d42 add perl class to load and manage metadata configuration XML file 2010-01-21 17:27:43 +00:00
Clément Oudot
1285196c37 Configuration migration script: add help message 2010-01-20 13:53:21 +00:00
Clément Oudot
58453e0622 Configuration migration script:
* perltidy
* Add verbose option
* Migrate apps-list.xml in .ini
* Use Conf constants
* Add comments
2010-01-20 12:42:07 +00:00
Xavier Guimard
e677c40ae7 Syntax error 2010-01-17 08:58:00 +00:00
Xavier Guimard
c25fc4177b Missing attributes in WSDL 2010-01-15 16:36:02 +00:00
Xavier Guimard
d181da867b * perltidy
* new feature : info can be displayed by portal => used to notify deleted sessions
 * notifyDeleted in the manager
2010-01-11 16:04:36 +00:00
Clément Oudot
e6e191e362 Conf: allow multiline in ini file (use \ at end of the line) 2010-01-08 14:28:21 +00:00
Xavier Guimard
8102f72d50 POD updates :
* spelling errors found by Lintian
 * encoding utf8
2010-01-03 08:09:59 +00:00
Xavier Guimard
715460b108 DBI module deprecated 2010-01-01 12:04:26 +00:00
Xavier Guimard
5a5d3872fd Update changelog 2009-12-31 13:35:34 +00:00
Xavier Guimard
c9b8b4fc7d New feature: capability to minify CSS and Javascript (ready in debian/rules, just to uncomment) 2009-12-31 11:10:05 +00:00
Xavier Guimard
7d83901ffb Configuration datas 2009-12-30 20:00:54 +00:00
Xavier Guimard
1c1ea8fef0 "Delete virtual host" and "force" system to upload an old config 2009-12-30 15:40:37 +00:00
Xavier Guimard
c759234a9a "New virtual host" (not finished) 2009-12-29 17:03:24 +00:00
Xavier Guimard
a30b0b986b Sort in File and bugs 2009-12-23 12:55:23 +00:00
Xavier Guimard
37678b0912 Bugs :
* images path in jquery-ui-1.7.2.custom.css
 * Upload conf lost exportedHeaders when virtualHosts node was not open
 * logError is now defined in Conf.pm, so must not be redefined in Conf/LDAP.pm
2009-12-16 21:13:29 +00:00
Xavier Guimard
08eb1f8618 lmMigrateConfFiles2ini now can be used to upgrade 2009-12-16 11:18:46 +00:00
Xavier Guimard
0e65a2bf44 New utility to migrate from <0.9.5 to >=0.9.5 2009-12-16 06:38:39 +00:00
Xavier Guimard
703b3d64b0 New feature : convertConfig 2009-12-15 16:31:13 +00:00
Xavier Guimard
5b2363b959 perltidy 2009-12-11 21:17:06 +00:00
Xavier Guimard
b301a5b5c8 New manager 2009-12-11 18:17:00 +00:00
Xavier Guimard
dd66b4c31c Bugs correction reported to 0.9.4 2009-12-07 21:17:06 +00:00
Clément Oudot
65387caebe Do not use allowempty flag in Config::IniFiles (close bug #314539) 2009-12-04 09:44:37 +00:00
Clément Oudot
f8fb163523 Add unit test for LDAP configuration backend 2009-12-03 11:27:48 +00:00
Clément Oudot
b32ff75a4f Little corrections for a clean make && make test 2009-12-03 10:18:49 +00:00
Xavier Guimard
061994cfcc Debian tests 2009-12-03 10:08:33 +00:00
Clément Oudot
4c1574e034 Merge apply.conf in lemonldap-ng.ini 2009-12-03 09:56:45 +00:00
Clément Oudot
0ea44c2389 Merge storage.conf and localconf.ini in lemonldap-ng.ini 2009-12-02 15:08:35 +00:00
Clément Oudot
acbc7a677c Correct warning for Lemonldap::NG::Common in make test 2009-12-02 09:01:17 +00:00
Clément Oudot
70522969f3 Add possibility to use a local configuration file (localconf.ini) to override configuration parameters 2009-11-30 16:46:14 +00:00
Xavier Guimard
a9d4ed04bb searchOn was not running 2009-11-26 16:33:31 +00:00
Clément Oudot
2471c79c1a Use Serializer in LDAP config backend 2009-11-17 16:17:49 +00:00
Xavier Guimard
912768cb35 * double declaration in Common/Conf/*.pm
* Debian compat upgrade
2009-11-01 13:13:39 +00:00
Xavier Guimard
7a04829a08 New portal parameters : singleIP and singleSession 2009-10-21 12:43:13 +00:00
Xavier Guimard
7553d5b95c Serialization moved to conf modules (to be able to use another serialization) 2009-10-20 13:20:53 +00:00
Xavier Guimard
cd60098695 * Apache-1.3 is not supported in all Debian architectures
* CGI must not require Sys::Syslog to be installed
2009-10-19 16:16:07 +00:00
Xavier Guimard
6f56bea189 Perl Author update 2009-10-17 08:16:14 +00:00
Xavier Guimard
b5dc7730f2 Perl dependencies update 2009-10-17 08:06:41 +00:00
Xavier Guimard
def1d50780 Closes #314192 2009-10-11 11:28:25 +00:00
Xavier Guimard
bf6230c5ac VERSION 0.9.4.1 2009-10-11 08:13:50 +00:00
Xavier Guimard
48ac5bd591 * New authentication scheme : Relay (queries by SOAP another portal)
* syslog facility was not taken in account
* Missing HTTP::Headers dependency
* lmConfigEditor must not display reVHosts and cipher which are calculated by Conf.pm
* bad Apache security in Debian configuration files
2009-09-23 12:42:34 +00:00
Xavier Guimard
9e3b55b9ac Apache::Session::LDAP was unusable with Session Explorer 2009-08-25 13:29:26 +00:00
Xavier Guimard
444e093004 Bugs :
* Crypto was usable only with 16xn characters
 * Menu was not able to filter embedded <application>
Google page speed :
 * optimize images
 * set size
2009-08-20 14:19:40 +00:00
Xavier Guimard
f573c2f571 VERSION conflicts for CPAN 2009-06-29 12:04:43 +00:00
Xavier Guimard
e5f83c5ba0 * Perl documentation update
* Makefiles update
2009-06-29 10:12:29 +00:00
Xavier Guimard
bfed9a789c Documentation update 2009-06-29 09:42:44 +00:00
Xavier Guimard
4d57fead9d Now SOAP config access works... 2009-06-24 15:07:36 +00:00
Xavier Guimard
affdc1f5bc SOAP configuration access :
* Missing SOAP fonction for config access in Portal/_SOAP.pm (lastCfg)
* Common/Conf/SOAP.pm now reports SOAP errors
* Common/Conf.pm reports an error when lastCfg returns 0
* SOAP namespace error in Common/Conf/SOAP.pm

Other :
* error in logout_sso default value (Handler/Simple.pm)
* bad returned value when configuration was missing in Handler/SharedConf.pm
2009-06-23 20:36:44 +00:00
Clément Oudot
198bcf70bc Get the timezone of the user and correct checkLogonHours function 2009-06-22 10:01:58 +00:00
Clément Oudot
7c5d3dd7a4 Force unbind in LDAP configuration backend 2009-06-15 15:16:12 +00:00
Xavier Guimard
e55a4868d3 Beginning 0.9.4 publication works : version update 2009-06-08 16:29:13 +00:00
Xavier Guimard
ba73dad7ec Missing files in MANIFEST 2009-05-16 10:19:30 +00:00
Clément Oudot
a3d65bf25f LEMONLDAP::NG : Typo for SafeLib test file 2009-05-14 08:33:06 +00:00
Xavier Guimard
cb494c36d5 Logs as PerlLogHandler in handler and little things 2009-05-06 05:38:20 +00:00
Xavier Guimard
7b1fc1a6a9 New manager in progress... 2009-04-26 12:47:55 +00:00
Xavier Guimard
9a3bf5489e Closes: #313627 2009-04-22 17:12:39 +00:00
Xavier Guimard
eb3e9126c5 LDAP schema missing in MANIFEST 2009-04-22 05:48:08 +00:00
Clément Oudot
1348922b42 LEMONLDAP::NG : typo in doxygen 2009-04-21 13:25:54 +00:00
Clément Oudot
eebac0ee3e LEMONLDAP::NG : checkLogonHours and checkDate in Safelib, and correct bug #313624 2009-04-21 13:24:38 +00:00
Clément Oudot
f2651d6202 LEMONLDAP::NG : OpenLDAP schema 2009-04-21 13:19:59 +00:00
Xavier Guimard
61866f20d6 Support for Apache::Session::LDAP and little things 2009-04-18 20:08:36 +00:00
Xavier Guimard
7ac6d25eaf * NoCache option for getConf()
* sort problem + perltidy in Conf/LDAP
2009-04-18 07:04:07 +00:00
Xavier Guimard
051f61b288 Since CGI stores now parameters at the root of the object, param is now redefined in Common/CGI.pm to secure those parameters 2009-04-11 11:16:44 +00:00
Xavier Guimard
294e35cbeb Error with PPolicy + CleanupHandler not launched 2009-04-11 06:13:28 +00:00
Clément Oudot
67c921f62a LEMONLDAP::NG : correct little bug in LDAP config backend, and add examples of LDAP configuration backend 2009-04-06 10:11:05 +00:00
Clément Oudot
d51cf49d21 LemonLDAP::NG : first support for LDAP configuration backend 2009-04-06 09:37:27 +00:00
Xavier Guimard
740ad09f9f Safelib + LDAPFilter parameter 2009-04-05 08:12:16 +00:00
Xavier Guimard
73fa979c65 'CustomSOAPServices' target in portal 2009-04-04 07:36:42 +00:00
Xavier Guimard
8bc0d20afa * Portal can now been used as 'proxy' for SOAP session storage.
* Session explorer works now with SOAP session storage (very low performances)
2009-04-03 16:17:57 +00:00
Xavier Guimard
21d3ab4ebd Trying to implement get_key_from_all_sessions for Lemonldap::NG::Common::Apache::Session::SOAP 2009-03-20 12:03:15 +00:00
Xavier Guimard
a4dbbf2ccd POD 2009-03-03 06:21:52 +00:00
Xavier Guimard
859be3923f * Doxygen doc update
* More tests
* perltidy on tests
2009-02-25 18:10:07 +00:00
Xavier Guimard
6307a00750 Lot of work on Portal SOAP services. Now 5 functions are exported:
* getAttributes(cookieValue)
 * getConfig()
 * getCookies(user,password)
 * error(code,language)
 * newNotification(xml)

WSDL is up to date but getConfig is not documented since it's a Lemonldap::NG internal service.
2009-02-24 17:53:59 +00:00
Xavier Guimard
20764ad812 New authentication and userDB backend : "Remote" can be used to check authentication from a remote Lemonldap::NG portal using CDA 2009-02-23 17:35:38 +00:00
Xavier Guimard
ee3fc975e0 More tests 2009-02-22 12:10:49 +00:00
Xavier Guimard
75f8ca4876 Typo 2009-02-19 09:35:29 +00:00
Xavier Guimard
07446ed429 More tests 2009-02-19 09:34:09 +00:00
Xavier Guimard
9fdea7384f make cpan updates META.yml 2009-02-19 08:26:22 +00:00
Xavier Guimard
553058998f Doxygen comments update 2009-02-17 15:22:42 +00:00
Xavier Guimard
ffb5ee8e33 Doxygen filter modification to show authentication process methods 2009-02-17 14:56:38 +00:00
Xavier Guimard
b6cdee5d2a Now userNotice and userError are customizable like subs called by _subProcess 2009-02-15 11:30:25 +00:00
Xavier Guimard
415d23b6e4 User actions are now registered with 3 functions :
* log        : normal access to the portal
 * userNotice : authentications, logout,...
 * userError  : bad password,...

A new parameter 'syslog => "auth"' can be set to log userNotice and userError via syslog
2009-02-15 08:53:44 +00:00
Xavier Guimard
0c18700f65 * cleaning code :
* session have not to be recover in Menu since it's done before bu the portal
* accounting in CGIs (ModPerl::Registry context only) :
  * used by portal to inform Apache
2009-02-14 08:55:19 +00:00
Xavier Guimard
19e59af4cd log & debug method lmLog() for CGIs 2009-02-12 19:48:53 +00:00
Xavier Guimard
7c1ff1d938 Versions update 2009-02-10 17:28:27 +00:00
Xavier Guimard
ab1b201e71 * AuthBasic now use SOAP request to create the new session
* perltidy
2009-02-10 11:10:12 +00:00
Xavier Guimard
b275ee2ac8 LEMONLDAP::NG : WSDL is now clean 2009-02-08 17:12:42 +00:00
Xavier Guimard
fbdb9ccb22 LEMONLDAP::NG : * Version is missing in SOAPServer.pm
* perltidy on Portal/Simple.pm
2009-02-08 07:59:46 +00:00
Xavier Guimard
0d7ecc689d LEMONLDAP::NG : missing files 2009-02-07 16:39:23 +00:00
Xavier Guimard
1800497815 LEMONLDAP::NG : propagation of 0.9.3.4 changes 2009-02-05 17:05:18 +00:00
Xavier Guimard
a25e10b040 LEMONLDAP::NG : * documentation modification
* SOAP service to update notification database
2009-02-03 09:36:13 +00:00
Xavier Guimard
85d765a002 LEMONLDAP::NG : WSDL for portal + dependency of Crypt::Rijndael in Debian 2009-02-01 15:38:06 +00:00
Xavier Guimard
4a271a8225 LEMONLDAP::NG : Doxygen in progress 2009-01-31 07:30:59 +00:00
Xavier Guimard
21f5808cdf LEMONLDAP::NG : Notification system is running now (for file storage only). TODO: Soapservice to accept notifications 2009-01-30 15:26:34 +00:00
Xavier Guimard
2540bb36f0 LEMONLDAP::NG : * new feature in devel : notification system
* now, there is a shared key that can be use to crypt datas
                  (used in notification to hide cookie value)
2009-01-28 17:37:10 +00:00
Xavier Guimard
bfab1a6e3b LEMONLDAP::NG Doxygen in progress 2008-12-31 15:10:02 +00:00
Xavier Guimard
4b57751fe8 LEMONLDAP::NG : ** READY FOR 0.9.3 **
- Better Makefile
2008-12-31 10:39:39 +00:00
Xavier Guimard
62b02d49fd LEMONLDAP::NG : Doxygen documentation in progress 2008-12-30 09:37:56 +00:00
Xavier Guimard
bf6450df17 LEMONLDAP::NG : Split CGI and SOAP functions 2008-12-28 11:12:29 +00:00
Xavier Guimard
b5b2279117 LEMONLDAP::NG : SOAP::Lite dependency in Common 2008-12-28 09:06:58 +00:00
Xavier Guimard
09f1a45cab LEONLDAP::NG : Better tests for Lemonldap::NG::Common 2008-12-26 16:13:36 +00:00
Xavier Guimard
e4a7734f23 LEMONLDAP::NG : dependencies 2008-12-25 08:21:30 +00:00
Xavier Guimard
03fda7186f LEMONLDAP::NG : little change 2008-12-25 08:06:21 +00:00
Xavier Guimard
44cc396a83 LEMONLDAP::NG : Few things... 2008-12-24 14:35:49 +00:00
Xavier Guimard
2449e92c2d LEMONLDAP::NG : A site in the protected domain is accepted in $portal->{urldc} even if the site is not declared in the manager 2008-12-24 09:12:53 +00:00
Xavier Guimard
8e6c8de591 LEMONLDAP::NG : I think version 0.9.3 is ready... 2008-12-24 08:32:11 +00:00
Xavier Guimard
aeefee4ec4 LEMONLDAP::NG : Debian installation in progress 2008-12-24 07:22:42 +00:00
Xavier Guimard
5ba1178057 LEMONLDAP::NG : New Makefile in progress. Debian install is broken for now. 2008-12-22 17:49:36 +00:00
Xavier Guimard
b9ba2337e4 LEMONLDAP::NG : now the portal can be called by browser or by SOAP 2008-12-07 14:12:36 +00:00
Xavier Guimard
ae392f0276 LEMONLDAP::NG : SOAP Service in progress... 2008-12-07 11:47:38 +00:00
Xavier Guimard
53dc4bbbf4 LEMONLDAP::NG : * To avoid XSS, 3 controls :
1) url must be base64 encoded
                  2) urldc is serialized on 1 line ("s/[\r\n]//sg")
                  3) urldc must not contains '"`\0<
                * Common/CGI can now intercept SOAP requests
2008-12-07 09:02:44 +00:00
Xavier Guimard
789a39df97 LEMONLDAP::NG : * Support for Apache::Session::PHP (for Manager/Session and purgeCentralCache)
* better cache control for Common::CGI.pm::header_public()
                * bug with the manager introduced previously
2008-12-05 16:30:27 +00:00
Xavier Guimard
5bbe35cedc LEMONLDAP::NG : To help Doxygen, we have to use "use base" instead of @ISA when possible 2008-12-04 13:53:05 +00:00
Xavier Guimard
24a14caeda LEMONLDAP::NG : * Security fix : redirections in portal must be in protected sites
* perltidy in Manager/Sessions.pm
                * Doxygen in progress...
2008-12-03 16:05:27 +00:00
Xavier Guimard
6dc275710c LEMONLDAP::NG : * avoid a little warning in tests
* Manager/Sessions.pm and purgeCentralCache now use the same Apache::Session get_key_from_all_sessions() function
2008-12-01 17:21:34 +00:00
Xavier Guimard
9b46d1fba0 LEMONLDAP::NG : * Portal/Menu.pm depends from XML::LibXML
* Links in Debian examples installation
2008-11-26 07:40:42 +00:00
Xavier Guimard
a72eebdd81 LEMONLDAP::NG : Notification system skeleton 2008-11-24 06:57:18 +00:00
Xavier Guimard
5926aed0e7 LEMONLDAP::NG : COMMIT in DBI.pm and pb in make test 2008-11-22 18:09:57 +00:00
Xavier Guimard
2725f06fd3 LEMONLDAP::NG : * Handler/SharedConf.pm is more simple now since it use the new Conf.pm capabilities
* CGIs now use abort() instead of die
                * debug system in COnf.pm (set "LogLevel debug" in Apache)
2008-11-21 17:51:52 +00:00
Xavier Guimard
63f196078b LEMONLDAP::NG : die replaced by $self->abort in CGIs 2008-11-21 07:27:08 +00:00
Xavier Guimard
eea294ce3b LEMONLDAP::NG : Manager/Base.pm becomes Common/CGI.pm 2008-11-20 06:53:44 +00:00