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
700125a4
Commit
700125a4
authored
10 years ago
by
Jaime Perez Crespo
Browse files
Options
Downloads
Patches
Plain Diff
Add NameID to attributes status page.
parent
7af07d30
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dictionaries/status.definition.json
+9
-0
9 additions, 0 deletions
dictionaries/status.definition.json
modules/core/www/authenticate.php
+2
-0
2 additions, 0 deletions
modules/core/www/authenticate.php
with
11 additions
and
0 deletions
dictionaries/status.definition.json
+
9
−
0
View file @
700125a4
...
...
@@ -23,6 +23,15 @@
"sessionsize"
:
{
"en"
:
"Session size: %SIZE%"
},
"subject_header"
:
{
"en"
:
"SAML Subject"
},
"subject_notset"
:
{
"en"
:
"not set"
},
"subject_format"
:
{
"en"
:
"Format"
},
"attributes_header"
:
{
"en"
:
"Your attributes"
},
...
...
This diff is collapsed.
Click to expand it.
modules/core/www/authenticate.php
+
2
−
0
View file @
700125a4
...
...
@@ -51,6 +51,8 @@ $t = new SimpleSAML_XHTML_Template($config, 'status.php', 'attributes');
$t
->
data
[
'header'
]
=
'{status:header_saml20_sp}'
;
$t
->
data
[
'attributes'
]
=
$attributes
;
// if saml:sp:IdP is set, this is SAML auth so we can pass a NameId
$t
->
data
[
'nameid'
]
=
!
is_null
(
$as
->
getAuthData
(
'saml:sp:IdP'
)
)
?
$as
->
getAuthData
(
'saml:sp:NameID'
)
:
FALSE
;
$t
->
data
[
'logouturl'
]
=
SimpleSAML_Utilities
::
selfURLNoQuery
()
.
'?as='
.
urlencode
(
$asId
)
.
'&logout'
;
$t
->
show
();
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