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
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
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
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
olavmrk
550bfbe983
Session: Clamp session lifetime to session.duration.
...
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3105 44740490-163a-0410-bde0-09ae8108e29a
2012-05-24 06:08:23 +00:00
comel.ah
6b3d4d841b
Add session.disable_fallback option (issue #492 ).
...
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3082 44740490-163a-0410-bde0-09ae8108e29a
2012-05-03 11:53:56 +00:00
olavmrk
dee4703ca0
Session: Fix missing quotes in assert-statements.
...
This ensures that the assert-statements gives move informative output
when they fail.
(This patch also changes the file to use utf-8 encoding.)
Thanks to Ryan Panning for providing this patch.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3066 44740490-163a-0410-bde0-09ae8108e29a
2012-04-12 08:09:26 +00:00
olavmrk
3334ac43cd
Session: Don't attempt to fetch new sessions from session handlers.
...
Thanks to Synacor, Inc. for providing this patch!
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@3025 44740490-163a-0410-bde0-09ae8108e29a
2012-01-30 07:35:49 +00:00
comel.ah
d3f251af99
lib/SimpleSAML/Session.php: $globalConfig fix.
...
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@2875 44740490-163a-0410-bde0-09ae8108e29a
2011-07-26 15:07:05 +00:00
olavmrk
beee523cca
Make SimpleSAMLAuthToken cookie name configurable.
...
Thanks to Stein Welberg for implementing this!
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@2871 44740490-163a-0410-bde0-09ae8108e29a
2011-07-12 12:35:01 +00:00
olavmrk
d460dec793
Session: Add support for multiple authentication sessions.
...
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@2636 44740490-163a-0410-bde0-09ae8108e29a
2010-11-16 14:30:23 +00:00
olavmrk
bab823e152
Session: Various cleanups.
...
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@2635 44740490-163a-0410-bde0-09ae8108e29a
2010-11-16 14:30:16 +00:00
olavmrk
2e3a499d47
Session: Remove clean()-function.
...
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@2634 44740490-163a-0410-bde0-09ae8108e29a
2010-11-16 14:30:03 +00:00
olavmrk
259617b846
Session: Remove generation of SessionIndex.
...
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@2633 44740490-163a-0410-bde0-09ae8108e29a
2010-11-16 14:29:50 +00:00
olavmrk
1f62f3801d
Session: Remove NameID conversion code.
...
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@2632 44740490-163a-0410-bde0-09ae8108e29a
2010-11-16 14:29:42 +00:00
olavmrk
772c47f334
Session: Log error when save fails.
...
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@2504 44740490-163a-0410-bde0-09ae8108e29a
2010-08-09 08:52:56 +00:00
olavmrk
de7e35babc
Session: Support loading session with a specific id.
...
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@2498 44740490-163a-0410-bde0-09ae8108e29a
2010-08-09 08:52:08 +00:00
olavmrk
49c9a8ba18
Session: Track session ID in session object.
...
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@2495 44740490-163a-0410-bde0-09ae8108e29a
2010-08-09 08:51:46 +00:00
olavmrk
56d77c1d08
Remove code which was present to allow replacing a in-use IdP from 1.5 to 1.6.
...
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@2422 44740490-163a-0410-bde0-09ae8108e29a
2010-07-22 08:24:32 +00:00
olavmrk
c1878fb405
SessionHandler: Replace set & get with saveSession & loadSession.
...
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@2416 44740490-163a-0410-bde0-09ae8108e29a
2010-07-13 11:56:01 +00:00
olavmrk
41dd222dd2
Inline SimpleSAML_Utilities::generateTrackID.
...
Only used in the SimpleSAML_Session class, so move it there.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@2404 44740490-163a-0410-bde0-09ae8108e29a
2010-07-09 12:41:41 +00:00
olavmrk
d4b8c58da2
Session: Log exception when failing to initialize session.
...
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@2383 44740490-163a-0410-bde0-09ae8108e29a
2010-07-07 08:22:44 +00:00
olavmrk
450504b5ae
Session: Add protection against session fixation attack.
...
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@2382 44740490-163a-0410-bde0-09ae8108e29a
2010-07-07 08:22:37 +00:00
olavmrk
ce36e7c55c
Session: arrray->array.
...
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@2322 44740490-163a-0410-bde0-09ae8108e29a
2010-05-26 07:10:09 +00:00
olavmrk
29a486f621
Session: Reintroduce get_sp_list().
...
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@2321 44740490-163a-0410-bde0-09ae8108e29a
2010-05-26 06:06:52 +00:00
olavmrk
f53200c561
Session: Remove useless session saving code.
...
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@2300 44740490-163a-0410-bde0-09ae8108e29a
2010-05-18 12:36:35 +00:00
olavmrk
f40e5f9c38
Session: Remove deprecated functions init() and setAuthenticated().
...
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@2276 44740490-163a-0410-bde0-09ae8108e29a
2010-04-28 08:39:34 +00:00
olavmrk
aca59e0758
Session: Remove unnecessary clearNeedAuthFlag function.
...
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@2275 44740490-163a-0410-bde0-09ae8108e29a
2010-04-28 08:16:22 +00:00
olavmrk
a6e4520705
Add PersistentAuthData option to save a subset of the state array in the session.
...
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@2269 44740490-163a-0410-bde0-09ae8108e29a
2010-04-26 08:59:58 +00:00
olavmrk
334933b419
Session: Use transient session if headers are already sent.
...
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@2190 44740490-163a-0410-bde0-09ae8108e29a
2010-02-24 09:52:55 +00:00
olavmrk
578e65b09f
Session: Add support for transient sessions.
...
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@2189 44740490-163a-0410-bde0-09ae8108e29a
2010-02-24 09:52:44 +00:00
olavmrk
3d8a30bf61
Session: New SP association infrastructure.
...
Fixes issue 180.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@2145 44740490-163a-0410-bde0-09ae8108e29a
2010-01-28 07:41:07 +00:00
olavmrk
d387128812
Session: Don't delete SP associations on logout.
...
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@2141 44740490-163a-0410-bde0-09ae8108e29a
2010-01-27 09:26:48 +00:00
olavmrk
a1c64630cb
Session: Add getAuthnInstant().
...
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@2136 44740490-163a-0410-bde0-09ae8108e29a
2010-01-26 10:07:25 +00:00
olavmrk
b132d420ab
Add code to detect whether the session cookie is set.
...
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@2014 44740490-163a-0410-bde0-09ae8108e29a
2009-12-02 11:51:44 +00:00
olavmrk
c1e401f5ae
Session: Clear idp when logging out.
...
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@1954 44740490-163a-0410-bde0-09ae8108e29a
2009-11-05 06:33:47 +00:00
olavmrk
3bbd078b95
SimpleSAML_Session: Update isValid() to require a authority string.
...
This patch updates the isValid function to require a valid authority.
All users of isValid in the simpleSAMLphp source pass the authority
parameter. If anyone uses isValid() without a valid authority they
must update their source code.
This change is made to make it more difficult to use simpleSAMLphp in
an insecure way.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@1826 44740490-163a-0410-bde0-09ae8108e29a
2009-10-07 09:11:48 +00:00
freek@ruc.dk
f7e56cdde9
Fixed clean method - set the dirty flag.
...
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@1769 44740490-163a-0410-bde0-09ae8108e29a
2009-09-22 09:59:13 +00:00
olavmrk
8de04b8dcf
Give default values for all configuration options from config.php
...
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@1665 44740490-163a-0410-bde0-09ae8108e29a
2009-08-14 11:07:44 +00:00
olavmrk
fa6bd40d7c
Upgrade NameId array format.
...
Change all users of the nameId arrays to use 'Value' instead of
'value'. 'value' was the old name, but this is changed to 'Value' in
order to be consistent with other attributes.
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@1654 44740490-163a-0410-bde0-09ae8108e29a
2009-08-12 14:21:33 +00:00
olavmrk
faa3c3fd88
Session: Allow $id to getData to be NULL.
...
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@1286 44740490-163a-0410-bde0-09ae8108e29a
2009-02-18 09:02:35 +00:00
olavmrk
6583982408
Session: Add data timeout value which indicates that the data should be deleted on logout.
...
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@982 44740490-163a-0410-bde0-09ae8108e29a
2008-11-10 13:01:09 +00:00
olavmrk
0586d4f515
Auth/Source: Add logout state to authentication sources.
...
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@978 44740490-163a-0410-bde0-09ae8108e29a
2008-11-10 12:59:46 +00:00
andreassolberg
22e8222054
A lot of bugfixes and improvements to iFrame SLO.
...
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@832 44740490-163a-0410-bde0-09ae8108e29a
2008-08-25 19:56:28 +00:00
olavmrk
d1b4b6bd77
Session: Added deleteData function, which deletes data from the data store.
...
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@804 44740490-163a-0410-bde0-09ae8108e29a
2008-08-12 11:05:55 +00:00
olavmrk
a7bfac1778
SAML2: Fix transient NameId for logout.
...
git-svn-id: http://simplesamlphp.googlecode.com/svn/trunk@787 44740490-163a-0410-bde0-09ae8108e29a
2008-07-18 06:31:29 +00:00