Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
simplesamlphp
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Perun
Perun ProxyIdP
v1
simplesamlphp
Commits
2ec19aab
Commit
2ec19aab
authored
9 years ago
by
Jaime Perez Crespo
Browse files
Options
Downloads
Patches
Plain Diff
Fix an issue with data types returned by SimpleSAML_Store.
parent
b2a27c03
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
lib/SimpleSAML/SessionHandler.php
+1
-0
1 addition, 0 deletions
lib/SimpleSAML/SessionHandler.php
lib/SimpleSAML/Store.php
+2
-2
2 additions, 2 deletions
lib/SimpleSAML/Store.php
modules/saml/lib/SP/LogoutStore.php
+2
-1
2 additions, 1 deletion
modules/saml/lib/SP/LogoutStore.php
with
5 additions
and
3 deletions
lib/SimpleSAML/SessionHandler.php
+
1
−
0
View file @
2ec19aab
...
...
@@ -110,6 +110,7 @@ abstract class SimpleSAML_SessionHandler
if
(
$store
===
false
)
{
self
::
$sessionHandler
=
new
SimpleSAML_SessionHandlerPHP
();
}
else
{
/** @var SimpleSAML_Store $store At this point, $store can only be an object */
self
::
$sessionHandler
=
new
SimpleSAML_SessionHandlerStore
(
$store
);
}
}
...
...
This diff is collapsed.
Click to expand it.
lib/SimpleSAML/Store.php
+
2
−
2
View file @
2ec19aab
...
...
@@ -14,7 +14,7 @@ abstract class SimpleSAML_Store
*
* This is false if the data store isn't enabled, and null if we haven't attempted to initialize it.
*
* @var SimpleSAML_Store|
boolean
|null
* @var SimpleSAML_Store|
false
|null
*/
private
static
$instance
;
...
...
@@ -22,7 +22,7 @@ abstract class SimpleSAML_Store
/**
* Retrieve our singleton instance.
*
* @return SimpleSAML_Store|
boolean
The data store, or false if it isn't enabled.
* @return SimpleSAML_Store|
false
The data store, or false if it isn't enabled.
*/
public
static
function
getInstance
()
{
...
...
This diff is collapsed.
Click to expand it.
modules/saml/lib/SP/LogoutStore.php
+
2
−
1
View file @
2ec19aab
...
...
@@ -125,7 +125,7 @@ class sspmod_saml_SP_LogoutStore {
/**
* Retrieve all session IDs from a key-value store.
*
* @param SimpleSAML_Store
_SQL
$store The datastore.
* @param SimpleSAML_Store $store The datastore.
* @param string $authId The authsource ID.
* @param string $nameId The hash of the users NameID.
* @param array $sessionIndexes The session indexes.
...
...
@@ -234,6 +234,7 @@ class sspmod_saml_SP_LogoutStore {
/* We cannot fetch all sessions without a SQL store. */
return
FALSE
;
}
else
{
/** @var SimpleSAML_Store $sessions At this point the store cannot be false */
$sessions
=
self
::
getSessionsStore
(
$store
,
$authId
,
$strNameId
,
$sessionIndexes
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment