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
a395329b
Commit
a395329b
authored
6 years ago
by
Tim van Dijen
Browse files
Options
Downloads
Patches
Plain Diff
Fixes for modules/consentAdmin
parent
4ce25482
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
modules/consentAdmin/hooks/hook_configpage.php
+1
-1
1 addition, 1 deletion
modules/consentAdmin/hooks/hook_configpage.php
modules/consentAdmin/www/consentAdmin.php
+11
-1
11 additions, 1 deletion
modules/consentAdmin/www/consentAdmin.php
with
12 additions
and
2 deletions
modules/consentAdmin/hooks/hook_configpage.php
+
1
−
1
View file @
a395329b
...
...
@@ -3,8 +3,8 @@
* Hook to add the consentAdmin module to the config page.
*
* @param \SimpleSAML\XHTML\Template $template The template that we should alter in this hook.
* @return void
*/
function
consentAdmin_hook_configpage
(
\SimpleSAML\XHTML\Template
&
$template
)
{
$template
->
data
[
'links'
][
'consentAdmin'
]
=
[
...
...
This diff is collapsed.
Click to expand it.
modules/consentAdmin/www/consentAdmin.php
+
11
−
1
View file @
a395329b
...
...
@@ -14,6 +14,16 @@
/*
* Runs the processing chain and ignores all filter which have user
* interaction.
*
* @param array $idp_metadata
* @param string $source
* @param array $sp_metadata
* @param string $sp_entityid
* @param array $attributes
* @param string $userid
* @param bool $hashAttributes
* @param array $excludeAttributes
* @return array
*/
function
driveProcessingChain
(
$idp_metadata
,
...
...
@@ -107,7 +117,6 @@ $metadata = \SimpleSAML\Metadata\MetaDataStorageHandler::getMetadataHandler();
* Get IdP id and metadata
*/
$idp_entityid
=
$metadata
->
getMetaDataCurrentEntityID
(
'saml20-idp-hosted'
);
$idp_metadata
=
$metadata
->
getMetaData
(
$idp_entityid
,
'saml20-idp-hosted'
);
...
...
@@ -176,6 +185,7 @@ if ($action !== null && $sp_entityid !== null) {
'consentAdmin:consentadminajax.php'
,
'consentAdmin:consentadmin'
);
$translator
=
$t
->
getTranslator
();
// Get SP metadata
$sp_metadata
=
$metadata
->
getMetaData
(
$sp_entityid
,
'saml20-sp-remote'
);
...
...
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