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
6918dc34
Commit
6918dc34
authored
4 years ago
by
Tim van Dijen
Browse files
Options
Downloads
Patches
Plain Diff
Fix indentation
parent
d5b3b77c
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
lib/SimpleSAML/Error/ErrorCodes.php
+6
-6
6 additions, 6 deletions
lib/SimpleSAML/Error/ErrorCodes.php
tests/lib/SimpleSAML/Metadata/SAMLParserTest.php
+6
-7
6 additions, 7 deletions
tests/lib/SimpleSAML/Metadata/SAMLParserTest.php
with
12 additions
and
13 deletions
lib/SimpleSAML/Error/ErrorCodes.php
+
6
−
6
View file @
6918dc34
...
@@ -82,9 +82,9 @@ class ErrorCodes
...
@@ -82,9 +82,9 @@ class ErrorCodes
{
{
return
[
return
[
'ACSPARAMS'
=>
Translate
::
noop
(
'{errors:descr_ACSPARAMS}'
),
'ACSPARAMS'
=>
Translate
::
noop
(
'{errors:descr_ACSPARAMS}'
),
'ARSPARAMS'
=>
Translate
::
noop
(
""
.
'ARSPARAMS'
=>
Translate
::
noop
(
""
.
"You accessed the Artifact Resolution Service interface, but did not "
.
"You accessed the Artifact Resolution Service interface, but did not "
.
"provide a SAML ArtifactResolve message. Please note that this endpoint is"
.
"provide a SAML ArtifactResolve message. Please note that this endpoint is"
.
" not intended to be accessed directly."
),
" not intended to be accessed directly."
),
'AUTHSOURCEERROR'
=>
Translate
::
noop
(
'{errors:descr_AUTHSOURCEERROR}'
),
'AUTHSOURCEERROR'
=>
Translate
::
noop
(
'{errors:descr_AUTHSOURCEERROR}'
),
'BADREQUEST'
=>
Translate
::
noop
(
'{errors:descr_BADREQUEST}'
),
'BADREQUEST'
=>
Translate
::
noop
(
'{errors:descr_BADREQUEST}'
),
...
@@ -112,9 +112,9 @@ class ErrorCodes
...
@@ -112,9 +112,9 @@ class ErrorCodes
'PROCESSAUTHNREQUEST'
=>
Translate
::
noop
(
'{errors:descr_PROCESSAUTHNREQUEST}'
),
'PROCESSAUTHNREQUEST'
=>
Translate
::
noop
(
'{errors:descr_PROCESSAUTHNREQUEST}'
),
'RESPONSESTATUSNOSUCCESS'
=>
Translate
::
noop
(
'{errors:descr_RESPONSESTATUSNOSUCCESS}'
),
'RESPONSESTATUSNOSUCCESS'
=>
Translate
::
noop
(
'{errors:descr_RESPONSESTATUSNOSUCCESS}'
),
'SLOSERVICEPARAMS'
=>
Translate
::
noop
(
'{errors:descr_SLOSERVICEPARAMS}'
),
'SLOSERVICEPARAMS'
=>
Translate
::
noop
(
'{errors:descr_SLOSERVICEPARAMS}'
),
'SSOPARAMS'
=>
Translate
::
noop
(
""
.
'SSOPARAMS'
=>
Translate
::
noop
(
""
.
"You accessed the Single Sign On Service interface, but did not provide a "
.
"You accessed the Single Sign On Service interface, but did not provide a "
.
"SAML Authentication Request. Please note that this endpoint is not "
.
"SAML Authentication Request. Please note that this endpoint is not "
.
"intended to be accessed directly."
),
"intended to be accessed directly."
),
'UNHANDLEDEXCEPTION'
=>
Translate
::
noop
(
'{errors:descr_UNHANDLEDEXCEPTION}'
),
'UNHANDLEDEXCEPTION'
=>
Translate
::
noop
(
'{errors:descr_UNHANDLEDEXCEPTION}'
),
'UNKNOWNCERT'
=>
Translate
::
noop
(
'{errors:descr_UNKNOWNCERT}'
),
'UNKNOWNCERT'
=>
Translate
::
noop
(
'{errors:descr_UNKNOWNCERT}'
),
...
...
This diff is collapsed.
Click to expand it.
tests/lib/SimpleSAML/Metadata/SAMLParserTest.php
+
6
−
7
View file @
6918dc34
...
@@ -300,8 +300,8 @@ XML
...
@@ -300,8 +300,8 @@ XML
$entities
=
SAMLParser
::
parseDescriptorsElement
(
$document
->
documentElement
);
$entities
=
SAMLParser
::
parseDescriptorsElement
(
$document
->
documentElement
);
$this
->
assertArrayHasKey
(
'theEntityID'
,
$entities
);
$this
->
assertArrayHasKey
(
'theEntityID'
,
$entities
);
$metadata
=
$entities
[
'theEntityID'
]
->
getMetadata20IdP
();
$metadata
=
$entities
[
'theEntityID'
]
->
getMetadata20IdP
();
$this
->
assertArrayHasKey
(
'hide.from.discovery'
,
$metadata
);
$this
->
assertArrayHasKey
(
'hide.from.discovery'
,
$metadata
);
$this
->
assertTrue
(
$metadata
[
'hide.from.discovery'
]);
$this
->
assertTrue
(
$metadata
[
'hide.from.discovery'
]);
}
}
...
@@ -333,8 +333,8 @@ XML
...
@@ -333,8 +333,8 @@ XML
$entities
=
SAMLParser
::
parseDescriptorsElement
(
$document
->
documentElement
);
$entities
=
SAMLParser
::
parseDescriptorsElement
(
$document
->
documentElement
);
$this
->
assertArrayHasKey
(
'theEntityID'
,
$entities
);
$this
->
assertArrayHasKey
(
'theEntityID'
,
$entities
);
$metadata
=
$entities
[
'theEntityID'
]
->
getMetadata20IdP
();
$metadata
=
$entities
[
'theEntityID'
]
->
getMetadata20IdP
();
$this
->
assertArrayNotHasKey
(
'hide.from.discovery'
,
$metadata
);
$this
->
assertArrayNotHasKey
(
'hide.from.discovery'
,
$metadata
);
}
}
/**
/**
...
@@ -362,8 +362,7 @@ XML
...
@@ -362,8 +362,7 @@ XML
$entities
=
SAMLParser
::
parseDescriptorsElement
(
$document
->
documentElement
);
$entities
=
SAMLParser
::
parseDescriptorsElement
(
$document
->
documentElement
);
$this
->
assertArrayHasKey
(
'theEntityID'
,
$entities
);
$this
->
assertArrayHasKey
(
'theEntityID'
,
$entities
);
$metadata
=
$entities
[
'theEntityID'
]
->
getMetadata20IdP
();
$metadata
=
$entities
[
'theEntityID'
]
->
getMetadata20IdP
();
$this
->
assertArrayNotHasKey
(
'hide.from.discovery'
,
$metadata
);
$this
->
assertArrayNotHasKey
(
'hide.from.discovery'
,
$metadata
);
}
}
}
}
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