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
0
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
de23b00a
Commit
de23b00a
authored
9 years ago
by
Jaime Perez Crespo
Browse files
Options
Downloads
Patches
Plain Diff
Update documentation to point to the new SimpleSAML\Logger and SimpleSAML\Module classes.
parent
54be5838
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
docs/simplesamlphp-advancedfeatures.txt
+2
-2
2 additions, 2 deletions
docs/simplesamlphp-advancedfeatures.txt
docs/simplesamlphp-customauth.txt
+2
-2
2 additions, 2 deletions
docs/simplesamlphp-customauth.txt
docs/simplesamlphp-modules.txt
+1
-1
1 addition, 1 deletion
docs/simplesamlphp-modules.txt
with
5 additions
and
5 deletions
docs/simplesamlphp-advancedfeatures.txt
+
2
−
2
View file @
de23b00a
...
...
@@ -124,13 +124,13 @@ Example code for the function with GeoIP country check:
}
if (!function_exists('geoip_country_code_by_name')) {
SimpleSAML
_
Logger::warning('geoip php module required.');
SimpleSAML
\
Logger::warning('geoip php module required.');
return TRUE;
}
$stored_remote_addr = $session->getData($data_type, $data_key);
if ($stored_remote_addr === NULL) {
SimpleSAML
_
Logger::warning('Stored data not found.');
SimpleSAML
\
Logger::warning('Stored data not found.');
return FALSE;
}
...
...
This diff is collapsed.
Click to expand it.
docs/simplesamlphp-customauth.txt
+
2
−
2
View file @
de23b00a
...
...
@@ -315,14 +315,14 @@ The class follows:
$row = $st->fetch(PDO::FETCH_ASSOC);
if (!$row) {
/* User not found. */
SimpleSAML
_
Logger::warning('MyAuth: Could not find user ' . var_export($username, TRUE) . '.');
SimpleSAML
\
Logger::warning('MyAuth: Could not find user ' . var_export($username, TRUE) . '.');
throw new SimpleSAML_Error_Error('WRONGUSERPASS');
}
/* Check the password. */
if (!$this->checkPassword($row['password_hash'], $password)) {
/* Invalid password. */
SimpleSAML
_
Logger::warning('MyAuth: Wrong password for user ' . var_export($username, TRUE) . '.');
SimpleSAML
\
Logger::warning('MyAuth: Wrong password for user ' . var_export($username, TRUE) . '.');
throw new SimpleSAML_Error_Error('WRONGUSERPASS');
}
...
...
This diff is collapsed.
Click to expand it.
docs/simplesamlphp-modules.txt
+
1
−
1
View file @
de23b00a
...
...
@@ -110,7 +110,7 @@ www
`https://.../simplesamlphp/module.php/example/login.php`.
: To retrieve this URL, the
`SimpleSAML
_
Module::getModuleURL($resource)`-function can be used.
`SimpleSAML
\
Module::getModuleURL($resource)`-function can be used.
This function takes in a resource on the form `<module>/<file>`.
This function will then return a URL to the given file in the
`www`-directory of `module`.
...
...
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