Commit Graph

141 Commits

Author SHA1 Message Date
olavmrk 0769f6f416 Add support for auto-generating SP metadata.
Thanks to Emmanuel Dreyfus for this patch.

git-svn-id: https://modmellon.googlecode.com/svn/trunk/mod_mellon2@43 a716ebb1-153a-0410-b759-cfb97c6a1b53
2009-05-06 06:40:28 +00:00
olavmrk fb1ce21746 Version 0.1.1
git-svn-id: https://modmellon.googlecode.com/svn/trunk/mod_mellon2@42 a716ebb1-153a-0410-b759-cfb97c6a1b53
2009-03-06 08:34:29 +00:00
olavmrk f9c249c72b Handle logout-request while logged out.
git-svn-id: https://modmellon.googlecode.com/svn/trunk/mod_mellon2@41 a716ebb1-153a-0410-b759-cfb97c6a1b53
2009-03-06 08:33:17 +00:00
manu@netbsd.org b32706888e Add a MellonSecureCookie setting to enforce Secure + HttpOnly flags for
session cookies.



git-svn-id: https://modmellon.googlecode.com/svn/trunk/mod_mellon2@40 a716ebb1-153a-0410-b759-cfb97c6a1b53
2009-03-02 13:56:35 +00:00
olavmrk 0a2e90c5f5 Version 0.1.0.
git-svn-id: https://modmellon.googlecode.com/svn/trunk/mod_mellon2@39 a716ebb1-153a-0410-b759-cfb97c6a1b53
2008-11-11 21:05:58 +00:00
olavmrk 8704e68aa6 Updated NEWS file in preparation of version 0.1.0.
git-svn-id: https://modmellon.googlecode.com/svn/trunk/mod_mellon2@38 a716ebb1-153a-0410-b759-cfb97c6a1b53
2008-11-11 21:05:50 +00:00
olavmrk 327c023957 Document MellonSPCertFile and MellonIdPCAFile options in the README file.
git-svn-id: https://modmellon.googlecode.com/svn/trunk/mod_mellon2@37 a716ebb1-153a-0410-b759-cfb97c6a1b53
2008-11-11 21:05:44 +00:00
olavmrk 430c7d5eeb Add MellonDefaultLoginPath option.
This option is used to decide which page the user should be
redirected to if IdP-initiated SSO is used.

Thanks to Emmanuel Dreyfus for this patch.


git-svn-id: https://modmellon.googlecode.com/svn/trunk/mod_mellon2@36 a716ebb1-153a-0410-b759-cfb97c6a1b53
2008-11-11 20:07:44 +00:00
olavmrk 1a6e166dcb Use lasso_server_new_from_buffer if available.
Recent versions of Lasso supports loading the SP metadata,
certificate and private key from memory. This patch changes mod_mellon
to use this function if it is available. This makes it possible to store
the SP private key readable only from root.

Thanks to Emmanuel Dreyfus for this patch.


git-svn-id: https://modmellon.googlecode.com/svn/trunk/mod_mellon2@35 a716ebb1-153a-0410-b759-cfb97c6a1b53
2008-11-10 18:33:55 +00:00
olavmrk 47579cd4a1 Add IdP initiated SSO support.
This patch adds support for IdP initiated SSO, and also creates more
resistance to DOS attacks.


git-svn-id: https://modmellon.googlecode.com/svn/trunk/mod_mellon2@34 a716ebb1-153a-0410-b759-cfb97c6a1b53
2008-11-10 18:31:14 +00:00
olavmrk 9ce6b8c434 Add two missing configuration merges from CA cert and SP cert support.
git-svn-id: https://modmellon.googlecode.com/svn/trunk/mod_mellon2@33 a716ebb1-153a-0410-b759-cfb97c6a1b53
2008-11-10 18:31:06 +00:00
olavmrk 0524c19a88 Adjust log level of two messages
git-svn-id: https://modmellon.googlecode.com/svn/trunk/mod_mellon2@32 a716ebb1-153a-0410-b759-cfb97c6a1b53
2008-10-27 11:09:03 +00:00
olavmrk 5c8b53a442 Add support for IdP CA certificate and SP certificate.
Thanks to Emmanuel Dreyfus for this patch.


git-svn-id: https://modmellon.googlecode.com/svn/trunk/mod_mellon2@31 a716ebb1-153a-0410-b759-cfb97c6a1b53
2008-10-27 11:08:57 +00:00
olavmrk c2afe9b0dc Add support for BSD make.
Thanks to Emmanuel Dreyfus for this patch.


git-svn-id: https://modmellon.googlecode.com/svn/trunk/mod_mellon2@30 a716ebb1-153a-0410-b759-cfb97c6a1b53
2008-10-27 06:28:58 +00:00
olavmrk a44e30985b Give a more helpful error message if the there is a problem with SP metadata.
Thanks to Emmanuel Dreyfus for this patch.


git-svn-id: https://modmellon.googlecode.com/svn/trunk/mod_mellon2@29 a716ebb1-153a-0410-b759-cfb97c6a1b53
2008-10-20 11:50:22 +00:00
olavmrk deffee75e6 Handle errors when locking session mutex.
In some cases it is possible that the mutex lock operation
fails. This makes the server return a 500 Internal Server Error
in those cases, instead of crashing.

Thanks to Emmanuel Dreyfus for the patch.


git-svn-id: https://modmellon.googlecode.com/svn/trunk/mod_mellon2@28 a716ebb1-153a-0410-b759-cfb97c6a1b53
2008-10-20 11:50:17 +00:00
olavmrk 02e950575e Set permissions on global mutex after creation.
git-svn-id: https://modmellon.googlecode.com/svn/trunk/mod_mellon2@27 a716ebb1-153a-0410-b759-cfb97c6a1b53
2008-10-20 11:50:10 +00:00
olavmrk 0804c19ee2 Update version to 0.0.7
git-svn-id: https://modmellon.googlecode.com/svn/trunk/mod_mellon2@26 a716ebb1-153a-0410-b759-cfb97c6a1b53
2008-07-01 13:44:45 +00:00
olavmrk 25c205c967 urldecode ReturnTo url in SP initiated logout.
git-svn-id: https://modmellon.googlecode.com/svn/trunk/mod_mellon2@25 a716ebb1-153a-0410-b759-cfb97c6a1b53
2008-07-01 13:44:38 +00:00
olavmrk 7adfedddeb Added previous change to NEWS file.
git-svn-id: https://modmellon.googlecode.com/svn/trunk/mod_mellon2@24 a716ebb1-153a-0410-b759-cfb97c6a1b53
2007-12-11 08:00:06 +00:00
olavmrk f1468cbf40 Fixed handling of multiple AttributeValue elements in response.
git-svn-id: https://modmellon.googlecode.com/svn/trunk/mod_mellon2@23 a716ebb1-153a-0410-b759-cfb97c6a1b53
2007-12-11 07:58:12 +00:00
olavmrk a8d13f7075 Increased maximum Lasso session size.
git-svn-id: https://modmellon.googlecode.com/svn/trunk/mod_mellon2@22 a716ebb1-153a-0410-b759-cfb97c6a1b53
2007-10-26 13:37:54 +00:00
olavmrk ed8bdd2f68 Fixed a memory leak in am_auth_new_ticket.
git-svn-id: https://modmellon.googlecode.com/svn/trunk/mod_mellon2@21 a716ebb1-153a-0410-b759-cfb97c6a1b53
2007-10-01 09:45:01 +00:00
olavmrk 0bdfb69d45 Added NEWS file to distribution files.
git-svn-id: https://modmellon.googlecode.com/svn/trunk/mod_mellon2@20 a716ebb1-153a-0410-b759-cfb97c6a1b53
2007-10-01 07:54:39 +00:00
olavmrk 3fe0f18f2f Added NEWS file.
git-svn-id: https://modmellon.googlecode.com/svn/trunk/mod_mellon2@19 a716ebb1-153a-0410-b759-cfb97c6a1b53
2007-10-01 07:47:39 +00:00
olavmrk 3820032db7 Removed TODO: Customizable default logout location.
git-svn-id: https://modmellon.googlecode.com/svn/trunk/mod_mellon2@18 a716ebb1-153a-0410-b759-cfb97c6a1b53
2007-10-01 07:32:37 +00:00
olavmrk 277db00787 Make the ReturnTo parameter to the SP initiated logout handler mandatory.
git-svn-id: https://modmellon.googlecode.com/svn/trunk/mod_mellon2@17 a716ebb1-153a-0410-b759-cfb97c6a1b53
2007-10-01 07:29:53 +00:00
olavmrk 76c7f53c8c Added documentation about SP initiated logout.
git-svn-id: https://modmellon.googlecode.com/svn/trunk/mod_mellon2@16 a716ebb1-153a-0410-b759-cfb97c6a1b53
2007-10-01 07:29:47 +00:00
olavmrk 57233ecac9 TODO completed: SP initialized logout
git-svn-id: https://modmellon.googlecode.com/svn/trunk/mod_mellon2@15 a716ebb1-153a-0410-b759-cfb97c6a1b53
2007-09-28 14:08:17 +00:00
olavmrk a02dde0449 Added TODO: Customizable default logout location.
git-svn-id: https://modmellon.googlecode.com/svn/trunk/mod_mellon2@14 a716ebb1-153a-0410-b759-cfb97c6a1b53
2007-09-28 14:08:13 +00:00
olavmrk 41ec5e6914 Added RedirectTo parameter to logout response.
git-svn-id: https://modmellon.googlecode.com/svn/trunk/mod_mellon2@13 a716ebb1-153a-0410-b759-cfb97c6a1b53
2007-09-28 14:08:09 +00:00
olavmrk 9e0a8a246f Copy SessionIndex to LogoutRequest.
git-svn-id: https://modmellon.googlecode.com/svn/trunk/mod_mellon2@12 a716ebb1-153a-0410-b759-cfb97c6a1b53
2007-09-28 14:08:05 +00:00
olavmrk d75d93a33e Fix bug which made the logout handler the handler for unknown/misspelled endpoints.
git-svn-id: https://modmellon.googlecode.com/svn/trunk/mod_mellon2@11 a716ebb1-153a-0410-b759-cfb97c6a1b53
2007-09-28 14:07:58 +00:00
olavmrk 8f4da4df30 Initial logout response handler.
git-svn-id: https://modmellon.googlecode.com/svn/trunk/mod_mellon2@10 a716ebb1-153a-0410-b759-cfb97c6a1b53
2007-09-28 14:07:53 +00:00
olavmrk 61fc6bcbe8 Implementation of am_init_logout_request.
git-svn-id: https://modmellon.googlecode.com/svn/trunk/mod_mellon2@9 a716ebb1-153a-0410-b759-cfb97c6a1b53
2007-09-28 14:07:49 +00:00
olavmrk 6d4f00d7f1 Skeleton for SP initiated logout.
git-svn-id: https://modmellon.googlecode.com/svn/trunk/mod_mellon2@8 a716ebb1-153a-0410-b759-cfb97c6a1b53
2007-09-28 14:07:44 +00:00
olavmrk d7c2158c4f Split logout handling into am_handle_logout and am_handle_logout_request.
git-svn-id: https://modmellon.googlecode.com/svn/trunk/mod_mellon2@7 a716ebb1-153a-0410-b759-cfb97c6a1b53
2007-09-28 14:07:39 +00:00
olavmrk 7086cfbb82 Renamed logout endpoint from logoutRequest to logout.
git-svn-id: https://modmellon.googlecode.com/svn/trunk/mod_mellon2@6 a716ebb1-153a-0410-b759-cfb97c6a1b53
2007-09-28 14:07:34 +00:00
olavmrk 276930bf06 Added generated files to svn:ignore.
git-svn-id: https://modmellon.googlecode.com/svn/trunk/mod_mellon2@5 a716ebb1-153a-0410-b759-cfb97c6a1b53
2007-09-28 07:06:58 +00:00
olavmrk e13857cb42 TODO: SP initialized logout
git-svn-id: https://modmellon.googlecode.com/svn/trunk/mod_mellon2@4 a716ebb1-153a-0410-b759-cfb97c6a1b53
2007-09-24 09:58:06 +00:00
olavmrk aae9150e68 Initial import of version 0.0.6
git-svn-id: https://modmellon.googlecode.com/svn/trunk/mod_mellon2@3 a716ebb1-153a-0410-b759-cfb97c6a1b53
2007-09-24 09:56:34 +00:00