- Dec 29, 2022
-
-
Patrick Radtke authored
* Fix return type * Change how static $sessionHandler assigned so psalm can detect it is no longer null.
-
- May 29, 2022
-
-
Tim van Dijen authored
-
- Mar 16, 2022
-
-
Tim van Dijen authored
-
Tim van Dijen authored
-
Tim van Dijen authored
-
- Feb 22, 2022
-
-
Tim van Dijen authored
-
- Aug 30, 2021
-
-
Tim van Dijen authored
-
Tim van Dijen authored
-
- Jan 22, 2021
-
-
Tim van Dijen authored
-
- Dec 15, 2020
-
-
Thijs Kinkhorst authored
-
- Nov 05, 2020
-
-
Tim van Dijen authored
-
- Sep 15, 2020
-
-
Tim van Dijen authored
-
- Sep 10, 2020
-
-
Tim van Dijen authored
-
- May 11, 2020
-
-
Tim van Dijen authored
-
- Feb 15, 2020
-
-
Tim van Dijen authored
-
Tim van Dijen authored
-
Tim van Dijen authored
* Remove deprecated classes * Remove support for certificate fingerprints * Remove many deprecated methods and pieces of code * Remove SAML1.1/Shib1.3 support * Remove many superfluous annotations * Update unit test to work with new PHPunit Closes #1268 Closes #1020 Closes #431 Closes #167 Closes #151
-
- Dec 24, 2019
-
-
Tim van Dijen authored
-
- Sep 16, 2019
-
-
Jaime Pérez Crespo authored
This could happen when the handler is depending on a PHP extension, or connection to a database fails, or any other circumstance that may trigger an exception in the constructor of the session handler itself. We should be aware of this when using the session handler, therefore we update the phpdoc here to reflect that.
-
- Aug 31, 2019
-
-
Tim van Dijen authored
-
- Jul 24, 2019
-
-
Guy Halse authored
Add support for RFC6265bis SameSite cookie attribute
-
- Feb 03, 2019
-
-
Tim van Dijen authored
Fixes for the remainder of lib/SimpleSAML
-
- Oct 17, 2018
-
-
Arno van der Vegt authored
-
- Aug 18, 2018
-
-
Tim van Dijen authored
-
- May 31, 2018
-
-
Tim van Dijen authored
-
Tim van Dijen authored
-
- Jan 21, 2018
-
-
Tim van Dijen authored
All descendants overload this function anyway
-
- Jun 09, 2017
-
-
Dane Powell authored
-
- Apr 01, 2017
-
-
Sergio Gómez authored
-
- Dec 05, 2016
-
-
Sergio Gomez authored
-
- Jul 02, 2016
-
-
Jaime Pérez authored
Historically, SimpleSAML_SessionHandler::newSessionId() has also created the session, sending the cookies to the browser. This is problematic both because given the name of the method one would not assume such behaviour, and also because even for transient sessions the handler would then try to set cookies. When we are using a transient session, it is likely to be because we cannot set cookies or because there was a temporary error when loading the session. If we try to set the cookies even for transient sessions, we could either get an error because cookies cannot be set, or overwrite the previous session cookies with transient ones, trashing a legitimate session in case a temporary error occurs. As a side effect, this can also cause behaviours like the one described in issue #413. There's no point in trying to set the cookies when it's not possible, so we shouldn't even try, and save us the errors. To fix this, we made SimpleSAML_SessionHandler::setCookie() abstract, forcing each extending class to implement it. The former implementation is moved to SimpleSAML_SessionHandlerCookie, and the SimpleSAML_SessionHandlerPHP gets a new method that starts the session, effectively sending the cookie. SimpleSAML_Session would then be responsible to call the setCookie() method of the session handler when creating a regular session, and skip it when creating a transient one. This introduces a bug, since SimpleSAML_Session was trying to set the auth token cookie calling the same setCookie() method in the session handler. We fixed that by using SimpleSAML\Utils\HTTP::setCookie() instead, in 8756835b. This resolves #413.
-
- Apr 07, 2016
-
-
Jaime Perez Crespo authored
Add a method to SimpleSAMLphp_SessionHandlerPHP to restore a session existing previously to our own session. This can be used in SimpleSAML_Session to restore the PHP session status previous to calling our API, while also guaranteeing that our session is correctly saved. The documentation has been updated to reflect this and recommend how to deal with conflicting PHP sessions. This closes #244 and resolves #349.
-
- Oct 26, 2015
-
-
Jaime Perez Crespo authored
-
- Aug 05, 2015
-
-
Jaime Perez Crespo authored
-
- Aug 04, 2015
-
-
Jaime Perez Crespo authored
-
- Aug 03, 2015
-
-
Jaime Perez Crespo authored
-
Jaime Perez Crespo authored
-
- Apr 21, 2015
-
-
Jaime Perez Crespo authored
Move SimpleSAML_Utilities:: setCookie() to SimpleSAML\Utils\HTTP:: setCookie() and deprecate the former.
-
- Jul 09, 2014
-
-
Thijs Kinkhorst authored
-
- Sep 13, 2013
-
-
Andjelko Horvat authored
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@3275 44740490-163a-0410-bde0-09ae8108e29a
-