Commit Graph

1119 Commits

Author SHA1 Message Date
jaimepc@gmail.com 053c7aeac7 Apply commit ec82fe0 again, this time without trying to detect binary values. Apparently, norwegian letters are considered non-printable by ctype_print().
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3370 44740490-163a-0410-bde0-09ae8108e29a
2014-02-20 20:35:14 +00:00
jaimepc@gmail.com ba995e8da6 Revert "Add support for binary attributes in AttributeAddFromLDAP (Issue #620). Also, remove hardcoded attribute names, and detect binary attributes 'automatically'."
This reverts commit ec82fe0480a1891eff80493e5a95e66984c3ac2a.

git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3369 44740490-163a-0410-bde0-09ae8108e29a
2014-02-20 20:16:17 +00:00
jaimepc@gmail.com 74cd41429f Add support for binary attributes in AttributeAddFromLDAP (Issue #620). Also, remove hardcoded attribute names, and detect binary attributes 'automatically'.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3368 44740490-163a-0410-bde0-09ae8108e29a
2014-02-20 19:10:13 +00:00
jaimepc@gmail.com 1e27652069 Fixes to ADFS metadata to allow interoperability.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3364 44740490-163a-0410-bde0-09ae8108e29a
2014-02-17 14:08:07 +00:00
jaimepc@gmail.com 62de96506d Support for exporting ADFS metadata + documentation for the ADFS module.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3363 44740490-163a-0410-bde0-09ae8108e29a
2014-02-09 17:11:44 +00:00
jaimepc@gmail.com 23db5d5e3d Remove more legacy code that's no longer necessary since we are requiring PHP >= 5.3.0. Deprecate SimpleSAML_Utilities::generateRandomBytesMTrand().
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3362 44740490-163a-0410-bde0-09ae8108e29a
2014-02-09 17:11:23 +00:00
jaimepc@gmail.com 3e2125fdd0 Removing leftovers from r2422.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3361 44740490-163a-0410-bde0-09ae8108e29a
2014-02-09 17:11:15 +00:00
jaimepc@gmail.com 3534c28814 Remove old legacy code.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3360 44740490-163a-0410-bde0-09ae8108e29a
2014-02-06 15:02:23 +00:00
jaimepc@gmail.com 4cfdb18a59 Formatting & phpdocs & language fixes in SimpleSAML_Session.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3359 44740490-163a-0410-bde0-09ae8108e29a
2014-02-05 13:42:33 +00:00
jaimepc@gmail.com 44c875acb9 Solve the problem in issue #594 in a backwards compatible way that doesn't break anything.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3358 44740490-163a-0410-bde0-09ae8108e29a
2014-02-05 13:42:26 +00:00
jaimepc@gmail.com 02800d87ab Revert "Fix memory leak in session serialization (issue #594)"
This reverts commit 3d3b437a0fe8ab7f7532015041800e2e8951cab3.

git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3357 44740490-163a-0410-bde0-09ae8108e29a
2014-02-05 13:42:18 +00:00
jaimepc@gmail.com a3f0ffe641 Fix memory leak in session serialization (issue #594)
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3356 44740490-163a-0410-bde0-09ae8108e29a
2014-02-04 15:09:35 +00:00
jaimepc@gmail.com ab4ea04cb1 Add support to publish RegistrationInfo (MDRPI) in the IdP.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3339 44740490-163a-0410-bde0-09ae8108e29a
2014-01-28 15:19:17 +00:00
jaimepc@gmail.com 4522bf2864 Fix for bug introduced in r3332.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3336 44740490-163a-0410-bde0-09ae8108e29a
2014-01-28 00:24:41 +00:00
jaimepc@gmail.com 8da830870b Fix for renamed function.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3335 44740490-163a-0410-bde0-09ae8108e29a
2014-01-27 19:08:09 +00:00
jaimepc@gmail.com 8f3e092e40 Language fixes.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3333 44740490-163a-0410-bde0-09ae8108e29a
2014-01-27 09:28:12 +00:00
jaimepc@gmail.com 445fee4ba8 Followup on previous commits. Use redirectUntrustedURL() as a shortcut, and let everything else make use of redirectTrustedURL(). Move the responsibility to check the input out of the library, to the places where URLs are grabbed from input parameters.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3332 44740490-163a-0410-bde0-09ae8108e29a
2014-01-24 16:36:54 +00:00
jaimepc@gmail.com 952fc24f8c Start using the redirectTrustedURL() and redirectUntrustedURL() wrappers.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3326 44740490-163a-0410-bde0-09ae8108e29a
2014-01-17 15:40:02 +00:00
jaimepc@gmail.com 90a86f5ec7 Add a wrapper function redirectTrustedURL() around redirect(), and deprecate the latter.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3325 44740490-163a-0410-bde0-09ae8108e29a
2014-01-17 15:38:58 +00:00
jaimepc@gmail.com fa8fc9dcc8 Fix for issue #584.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3314 44740490-163a-0410-bde0-09ae8108e29a
2014-01-06 16:42:23 +00:00
jaimepc@gmail.com 9561a14cc3 Typo.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3310 44740490-163a-0410-bde0-09ae8108e29a
2013-12-06 10:13:53 +00:00
jaimepc@gmail.com 9042cdb16c Split binding prioritizing out of getDefaultEndpoint to a new getEndpointPrioritizedByBinding function.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3303 44740490-163a-0410-bde0-09ae8108e29a
2013-11-26 14:30:26 +00:00
jaimepc@gmail.com cca1dd76dc Save one unnecessary redirection when using iframe logout and the SPs support HTTPRedirect.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3301 44740490-163a-0410-bde0-09ae8108e29a
2013-11-25 16:04:44 +00:00
jaimepc@gmail.com 7f3bf5bdcc Make SimpleSAML_Configuration::getDefaultEndpoint to prioritize certain bindings for SingleLogoutService endpoints.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3300 44740490-163a-0410-bde0-09ae8108e29a
2013-11-25 16:01:14 +00:00
olavmrk 84b37c93fd Start using SAML2 library from GitHub.
This patch also starts using Composer for other dependencies
(i.e. php-openid and xmlseclibs).

Thanks to Boy Baukema for implementing this!

git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3290 44740490-163a-0410-bde0-09ae8108e29a
2013-11-15 09:34:07 +00:00
comel.ah 4dc5e5ff65 SimpleSAML_XHTML_IdPDisco::getTargetIdP(): fix SimpleSAML_Utilities::setCookie() call (introduced in r3269).
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3289 44740490-163a-0410-bde0-09ae8108e29a
2013-11-11 16:04:54 +00:00
jaimepc@gmail.com 36df4c4610 Bugfix. Thanks to Boy Baukema for reporting issue #579.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3287 44740490-163a-0410-bde0-09ae8108e29a
2013-10-29 11:34:46 +00:00
jaimepc@gmail.com 081d2596c0 Bugfix. Thanks to Boy Baukema for reporting issue #581.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3286 44740490-163a-0410-bde0-09ae8108e29a
2013-10-29 11:32:17 +00:00
jaimepc@gmail.com c7c2ae4996 Bugfix. Thanks to Boy Baukema for reporting issue #580.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3285 44740490-163a-0410-bde0-09ae8108e29a
2013-10-29 11:29:54 +00:00
jaimepc@gmail.com b6bb431a69 Bugfix. Thanks to Boy Baukema for reporting issue #578.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3284 44740490-163a-0410-bde0-09ae8108e29a
2013-10-29 11:26:24 +00:00
jaimepc@gmail.com aa3454c5a4 Fixed a typo. Thanks to Boy Baukema for reporting issue #582.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3283 44740490-163a-0410-bde0-09ae8108e29a
2013-10-25 07:32:55 +00:00
olavmrk c492222cbf Add support for exporting shibmd:Scope metadata with regular expressions.
Thanks to Brook Schofield for implementing this!

git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3281 44740490-163a-0410-bde0-09ae8108e29a
2013-10-18 10:35:43 +00:00
comel.ah 9c1d81dcf3 Add remember me feature (patch 2 from issue #571).
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3276 44740490-163a-0410-bde0-09ae8108e29a
2013-09-13 11:04:39 +00:00
comel.ah b6320963c3 Add SimpleSAML_SessionHandler::getSessionCookieName() (patch 1 from issue #571).
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3275 44740490-163a-0410-bde0-09ae8108e29a
2013-09-13 11:03:54 +00:00
comel.ah 0ddc4bfffe SimpleSAML_SessionHandlerPHP::newSessionId(): cleaner version for r3273.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3274 44740490-163a-0410-bde0-09ae8108e29a
2013-09-11 15:09:24 +00:00
comel.ah 47a0cc39d5 SimpleSAML_SessionHandlerPHP::newSessionId(): fix for session start (introduced in r3271).
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3273 44740490-163a-0410-bde0-09ae8108e29a
2013-09-11 14:54:58 +00:00
comel.ah 85896393b4 Add SimpleSAML_Session::DATA_TIMEOUT_SESSION_END (issue #570).
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3272 44740490-163a-0410-bde0-09ae8108e29a
2013-09-09 08:49:41 +00:00
comel.ah 339b15b7ae Generate new session id for new sessions (issue #569).
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3271 44740490-163a-0410-bde0-09ae8108e29a
2013-09-05 12:36:31 +00:00
comel.ah 09983c9de1 Add and use SimpleSAML_Utilities::setCookie() function (issue #567).
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3269 44740490-163a-0410-bde0-09ae8108e29a
2013-09-04 11:12:48 +00:00
comel.ah f782ab6700 Add session check function (issue #568).
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3268 44740490-163a-0410-bde0-09ae8108e29a
2013-09-04 11:04:21 +00:00
comel.ah 2b2254ee56 Custom HTTP codes in SimpleSAML_Error_Error (issue #566).
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3267 44740490-163a-0410-bde0-09ae8108e29a
2013-09-03 13:36:12 +00:00
olavmrk c3bed38d9d Add support for sending AttributeConsumingService and AssertionConsumerServiceIndex.
This patch adds support for sending the AttributeConsumingService and
AssertionConsumerServiceIndex attributes in the authentication request.

Thanks to Dale Clarke for providing this patch!

git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3266 44740490-163a-0410-bde0-09ae8108e29a
2013-09-02 12:20:14 +00:00
olavmrk 961371b725 SAML2: Add Scoping-element to AuthnRequest even if IDPList isn't specified.
The Scoping-element should be added as soom as we want to include
RequesterID, IDPList or ProxyCount in the message. We must therefore
add it even if IDPList isn't specified.

Thanks to Lucas van Lierop for finding this bug!

git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3265 44740490-163a-0410-bde0-09ae8108e29a
2013-09-02 12:06:03 +00:00
jaimepc@gmail.com c5319a4dac HTTP-POST SLO support for the old, deprecated SP interface.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3263 44740490-163a-0410-bde0-09ae8108e29a
2013-08-22 10:09:15 +00:00
jaimepc@gmail.com 76d9c5e50d Complete bugfix for issue #561. HTTP-Post supported for SLO not initiated by the SP. Working for both traditional logout and iframe version.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3262 44740490-163a-0410-bde0-09ae8108e29a
2013-08-13 10:28:38 +00:00
jaimepc@gmail.com bba9ee7fcb Allow metarefresh module to specify the permissions of the resulting files, overriding the default 0600. Contributed by Dick Visser.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3260 44740490-163a-0410-bde0-09ae8108e29a
2013-08-12 07:28:07 +00:00
jaimepc@gmail.com 0e138f43f7 Full support for HTTP-POST binding in WebSSO profile. Two new directives in hosted metadata (SingleSignOnServiceBinding and SingleLogoutServiceBinding) to control the bindings published as supported in the metadata.
Bugfix in the logout handler (SOAP binding should be reused when responding a request).

git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3257 44740490-163a-0410-bde0-09ae8108e29a
2013-07-17 12:04:51 +00:00
jaimepc@gmail.com 375226c436 Fix for getServerHost() function incorrectly parsing IPv6 addresses as hostname.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3254 44740490-163a-0410-bde0-09ae8108e29a
2013-07-11 08:42:23 +00:00
olavmrk 614327d0df SAML2: Fix generation of mdui:Keyword with ampersand in keyword.
Same problem as fixed in r3241.

git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3242 44740490-163a-0410-bde0-09ae8108e29a
2013-05-22 08:49:23 +00:00
olavmrk 278dfe5d99 SAML2: Fix generation of mdui:Logo element with ampersand in URL.
Thanks to Dick Visser for reporting this bug!

git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3241 44740490-163a-0410-bde0-09ae8108e29a
2013-05-22 08:46:26 +00:00