Commit Graph

3187 Commits

Author SHA1 Message Date
olavmrk f165f46769 Translation updates.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3245 44740490-163a-0410-bde0-09ae8108e29a
2013-05-23 11:43:14 +00:00
jaimepc@gmail.com a6b88f21d2 Removed some feide entities from the metadata templates.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3244 44740490-163a-0410-bde0-09ae8108e29a
2013-05-23 08:33:22 +00:00
jaimepc@gmail.com 50a73977b6 Modified the demo example to show the attribute names, not only the friendly descriptions.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3243 44740490-163a-0410-bde0-09ae8108e29a
2013-05-23 08:33:15 +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
olavmrk eff201e4a1 saml: Fix saml:sp:IdP for SAML 1.1
The saml:sp:IdP authentication data was only saved for SAML 2.0
authentication. This patch moves this variable into common code, so
that it is shared between SAML 2.0 and SAML 1.1.

Thanks to Tim Jobling for reporting this bug!

git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3240 44740490-163a-0410-bde0-09ae8108e29a
2013-05-22 08:25:25 +00:00
jaimepc@gmail.com 5e2ac23d02 Fix typo reported by Dick Visser.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3239 44740490-163a-0410-bde0-09ae8108e29a
2013-05-08 07:45:06 +00:00
olavmrk da87892aa2 consent: Add support for SQLite database.
Thanks to François Kooman for implementing this!

git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3238 44740490-163a-0410-bde0-09ae8108e29a
2013-05-03 11:35:58 +00:00
olavmrk 84d3fc9151 Fix default configuration for consentAdmin & consentSimpleAdmin.
Thanks to François Kooman for providing this patch!

git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3237 44740490-163a-0410-bde0-09ae8108e29a
2013-04-29 05:59:20 +00:00
olavmrk af649c10b3 discopower: Get name for IdP from mdui:DisplayName.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3236 44740490-163a-0410-bde0-09ae8108e29a
2013-04-26 13:58:32 +00:00
olavmrk 895c88c242 saml: Add support for more contact types in SP metadata.
Thanks to François Kooman for implementing this!

git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3235 44740490-163a-0410-bde0-09ae8108e29a
2013-04-10 06:21:37 +00:00
olavmrk f923ee76e7 authX509: Make ldapusercert validation optional.
This patch makes it possible to skip validating the certificate
against an attribute in the LDAP directory, and instead trust that
Apache has checked it.

In addtition it contains some bugfixes and documentation fixes.

Thanks to Thijs Kinkhorst for this patch!

git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3234 44740490-163a-0410-bde0-09ae8108e29a
2013-04-08 08:59:04 +00:00
olavmrk c75a03a773 Add initial support for limiting redirect to trusted hosts.
Thanks to Daniel Tsosie for implementing this!

git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3233 44740490-163a-0410-bde0-09ae8108e29a
2013-04-08 08:44:05 +00:00
comel.ah 5748df4ad7 authtwitter: oauth_verifier fix (issue #546).
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3232 44740490-163a-0410-bde0-09ae8108e29a
2013-04-05 17:18:19 +00:00
jaimepc@gmail.com d936d2cf3f Small fix for issue #537 and refactor to make code more clear.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3231 44740490-163a-0410-bde0-09ae8108e29a
2013-04-03 11:27:50 +00:00
olavmrk 94938f6bd6 memcache: Check for existence of memcache extension.
The old test was faulty, since PHP would fail before reaching it. This
patch adds a specific test for the Memcache class before continuing.

Thanks to Thijs Kinkhorst for reporting this bug!

git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3230 44740490-163a-0410-bde0-09ae8108e29a
2013-04-03 06:25:51 +00:00
jaimepc@gmail.com e7c7d89c05 Fixes for issues #539, #540, #541 and #542. Thanks to Thijs Kinkhorst for the patches.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3229 44740490-163a-0410-bde0-09ae8108e29a
2013-03-21 09:04:47 +00:00
olavmrk 1d2c4c3a60 SAMLParser: Fix incorrect assertion & documentation in parseElement().
The parseElement()-function actually accepts a
SAML2_XML_md_EntityDescriptor object, not a DOMElement.

Thanks to François Kooman for reporting this bug and supplying a patch!

git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3228 44740490-163a-0410-bde0-09ae8108e29a
2013-03-13 07:07:35 +00:00
jaimepc@gmail.com e7e57573f2 Fix for issue #524. The get() method of the SimpleSAML_Store interface should always return NULL in case of failure.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3227 44740490-163a-0410-bde0-09ae8108e29a
2013-02-26 11:42:03 +00:00
jaimepc@gmail.com a80b517b30 Support for UIInfo elements in SP metadata. Bugfix with SP metadata signing.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3226 44740490-163a-0410-bde0-09ae8108e29a
2013-02-26 11:24:51 +00:00
jaimepc@gmail.com fbc85a9d53 Fix some typos with method Session::getTrackID()
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3225 44740490-163a-0410-bde0-09ae8108e29a
2013-01-23 14:01:48 +00:00
jach@wayf.dk a2f3ffd32a Removed WAYF metadata from metadata templates.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3224 44740490-163a-0410-bde0-09ae8108e29a
2013-01-23 09:27:27 +00:00
olavmrk 5e7ca1c273 core:GenerateGroups: Fix use of "/e" preg_replace modifier.
See: https://wiki.php.net/rfc/remove_preg_replace_eval_modifier

Thanks to Thijs Kinkhorst for providing this patch!

git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3223 44740490-163a-0410-bde0-09ae8108e29a
2013-01-17 07:59:34 +00:00
olavmrk 6e4a53fdae docs: Some fixes for Scoping documentation.
Thanks to Thijs Kinkhorst for providing this patch!

git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3222 44740490-163a-0410-bde0-09ae8108e29a
2013-01-17 07:59:25 +00:00
olavmrk ee9905a213 saml:PersistentNameID2TargetedID: New filter for storing persistent NameID in eduPersonTargetedID attribute.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3221 44740490-163a-0410-bde0-09ae8108e29a
2013-01-11 13:52:44 +00:00
olavmrk b564937009 SimpleSAML_Auth_Source::getSourcesOfType(): Fix typo in variable name.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3220 44740490-163a-0410-bde0-09ae8108e29a
2013-01-10 13:04:48 +00:00
olavmrk 0def4613f0 sanitycheck: Make configuration file optional.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3219 44740490-163a-0410-bde0-09ae8108e29a
2013-01-10 10:10:51 +00:00
comel.ah f20215326f SimpleSAML_Module: add module.enable configuration option for enabling/disabling modules (issue #475).
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3218 44740490-163a-0410-bde0-09ae8108e29a
2013-01-09 11:23:31 +00:00
comel.ah 7f342528e1 SimpleSAML_XHTML_Template: add language parameter options (issue #530).
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3217 44740490-163a-0410-bde0-09ae8108e29a
2013-01-08 11:56:19 +00:00
comel.ah 9da3e91a47 SimpleSAML_XHTML_Template: language cookie options (issue #527).
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3216 44740490-163a-0410-bde0-09ae8108e29a
2013-01-07 12:39:56 +00:00
olavmrk 278cad81a2 consent: Fix accented character in includeValues documentation.
Thanks to Matthew Slowe for providing this patch!

git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3214 44740490-163a-0410-bde0-09ae8108e29a
2013-01-03 08:33:06 +00:00
jaimepc@gmail.com 55cb2aa5c2 Fix for SLO in WS-Fed.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3213 44740490-163a-0410-bde0-09ae8108e29a
2012-12-13 13:08:44 +00:00
jaimepc@gmail.com d252b77846 Simple bugfix suggested by Emmanuel Dreyfus.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3212 44740490-163a-0410-bde0-09ae8108e29a
2012-12-13 11:32:28 +00:00
olavmrk 401545d4a6 docs: Fix documentation for NameIDFormat in SAML 2.0 SP remote reference.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3209 44740490-163a-0410-bde0-09ae8108e29a
2012-12-03 12:28:01 +00:00
olavmrk a00307a478 Fix inconsistency in email NameID format.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3208 44740490-163a-0410-bde0-09ae8108e29a
2012-12-03 12:27:53 +00:00
olavmrk 5fc1167b40 saml: Fix SAML 2.0 SP logout with PostgreSQL.
The PostgreSQL database server returns all column names in lowercase,
but we are using mixed case column names. This patch changes the query
to always request lowercase column names.

git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3207 44740490-163a-0410-bde0-09ae8108e29a
2012-12-03 12:27:43 +00:00
olavmrk 6153edc95a saml: Fix NULL return from saml_IdP_SAML2::getAssociationConfig().
This function should not return NULL, but did so due to a missing
return statement. This patch adds that return statement, and fixes
the documentation for the function.

git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3206 44740490-163a-0410-bde0-09ae8108e29a
2012-12-03 12:27:34 +00:00
olavmrk 8ac6cd7021 Utilities::fetch(): Workaround for SSL SNI extension not being correctly set.
See: https://bugs.php.net/bug.php?id=63519

Thanks to Marco Ferrante for implementing this workaround!

git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3205 44740490-163a-0410-bde0-09ae8108e29a
2012-11-22 08:03:28 +00:00
olavmrk 72e28ed1b7 Remove deprecated option session.requestcache from config-template.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3204 44740490-163a-0410-bde0-09ae8108e29a
2012-11-22 07:11:12 +00:00
olavmrk 9f156e26e3 Mark mcrypt-module as required.
It turns out that we are now always requiring the mcrypt module, so
mark it as required.

Thanks to Onivaldo Rosa Junior for reporting this bug!

git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3203 44740490-163a-0410-bde0-09ae8108e29a
2012-11-22 07:09:40 +00:00
jaimepc@gmail.com 9984bd8436 Make the previous commit safe for SPs and SSP acting as a proxy.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3202 44740490-163a-0410-bde0-09ae8108e29a
2012-11-16 13:02:39 +00:00
jaimepc@gmail.com 1afb34478a Fix for issue #522. A logout link is now provided in the 403 error page of the 'authorize' module.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3201 44740490-163a-0410-bde0-09ae8108e29a
2012-11-16 10:10:36 +00:00
jaimepc@gmail.com e5b2b9655a Fix for issue #519, metarefresh --help message improved.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3200 44740490-163a-0410-bde0-09ae8108e29a
2012-10-31 11:12:16 +00:00
olavmrk fc545b6ffe md:EntitiesDescriptor: Add sanitycheck for Name-attribute.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3199 44740490-163a-0410-bde0-09ae8108e29a
2012-10-30 13:47:26 +00:00
olavmrk 16141997ce md:EntityDescriptor: Add Name-attribute to output.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3198 44740490-163a-0410-bde0-09ae8108e29a
2012-10-30 13:45:37 +00:00
olavmrk 13adcfc23c SAML2_HTTPRedirect: Fix warning with value-less paramtere.
This patch fixes warnings from query strings like:

    http://.../endpoint.php?foo&bar=test

(Where the parameter "foo" doesn't have a value.)

git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3197 44740490-163a-0410-bde0-09ae8108e29a
2012-10-29 14:05:11 +00:00
olavmrk 2fe1194f43 ldap: Add option to disable following referrals.
Thanks to Daniel Tsosie for implementing this!

git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3196 44740490-163a-0410-bde0-09ae8108e29a
2012-10-26 10:31:03 +00:00
jaimepc@gmail.com 7ef889c8b8 OpenID library updated to commit 9a79bd5, except for lib/Auth/OpenID/Message.php, which introduces a bug with return_to parameter.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3195 44740490-163a-0410-bde0-09ae8108e29a
2012-10-18 12:10:50 +00:00
olavmrk ea296a1684 saml: Add separate option to enable HoK support on SP.
Instead of always adding the endpoint to the metadata, require
setting a separate option to enable it.

git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3194 44740490-163a-0410-bde0-09ae8108e29a
2012-10-18 10:31:00 +00:00
jaimepc@gmail.com 262c97a619 Fixes for compatibility with PHP 5.4.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3193 44740490-163a-0410-bde0-09ae8108e29a
2012-10-17 15:53:41 +00:00