Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dex
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hdacloud
dex
Commits
2b8caf9b
Commit
2b8caf9b
authored
8 years ago
by
Eric Chiang
Committed by
GitHub
8 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #906 from ericchiang/fix-saml-test
connector/saml/testdata: fix bad status test case
parents
2edfec5d
00b5c99f
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
connector/saml/testdata/bad-status.tmpl
+0
-3
0 additions, 3 deletions
connector/saml/testdata/bad-status.tmpl
connector/saml/testdata/bad-status.xml
+7
-10
7 additions, 10 deletions
connector/saml/testdata/bad-status.xml
with
7 additions
and
13 deletions
connector/saml/testdata/bad-status.tmpl
+
0
−
3
View file @
2b8caf9b
...
@@ -20,9 +20,6 @@
...
@@ -20,9 +20,6 @@
</Signature>
</Signature>
<saml2:Issuer
xmlns:saml2=
"urn:oasis:names:tc:SAML:2.0:assertion"
Format=
"urn:oasis:names:tc:SAML:2.0:nameid-format:entity"
>
http://www.okta.com/exk91cb99lKkKSYoy0h7
</saml2:Issuer>
<saml2:Issuer
xmlns:saml2=
"urn:oasis:names:tc:SAML:2.0:assertion"
Format=
"urn:oasis:names:tc:SAML:2.0:nameid-format:entity"
>
http://www.okta.com/exk91cb99lKkKSYoy0h7
</saml2:Issuer>
<saml2p:Status
xmlns:saml2p=
"urn:oasis:names:tc:SAML:2.0:protocol"
>
<saml2p:Status
xmlns:saml2p=
"urn:oasis:names:tc:SAML:2.0:protocol"
>
<!-- Status code indicates an error. Ensure this fails to authenticate a user -->
<saml2p:StatusCode
Value=
"urn:oasis:names:tc:SAML:2.0:status:AuthnFailed"
/>
<saml2p:StatusCode
Value=
"urn:oasis:names:tc:SAML:2.0:status:AuthnFailed"
/>
</saml2p:Status>
</saml2p:Status>
<saml2:Assertion
xmlns:saml2=
"urn:oasis:names:tc:SAML:2.0:assertion"
xmlns:xs=
"http://www.w3.org/2001/XMLSchema"
ID=
"id199065211253338521862321146"
IssueInstant=
"2017-04-04T04:34:59.330Z"
Version=
"2.0"
>
<saml2:Assertion
xmlns:saml2=
"urn:oasis:names:tc:SAML:2.0:assertion"
xmlns:xs=
"http://www.w3.org/2001/XMLSchema"
ID=
"id199065211253338521862321146"
IssueInstant=
"2017-04-04T04:34:59.330Z"
Version=
"2.0"
>
...
...
This diff is collapsed.
Click to expand it.
connector/saml/testdata/bad-status.xml
+
7
−
10
View file @
2b8caf9b
...
@@ -10,15 +10,15 @@
...
@@ -10,15 +10,15 @@
<Transform
Algorithm=
"http://www.w3.org/2001/10/xml-exc-c14n#"
/>
<Transform
Algorithm=
"http://www.w3.org/2001/10/xml-exc-c14n#"
/>
</Transforms>
</Transforms>
<DigestMethod
Algorithm=
"http://www.w3.org/2000/09/xmldsig#sha1"
/>
<DigestMethod
Algorithm=
"http://www.w3.org/2000/09/xmldsig#sha1"
/>
<DigestValue>
96Mymeqjk6Mm0azcGKf6nD6SFWY
=
</DigestValue>
<DigestValue>
6a1wCEwD2CQ3tYWkRrVs/upMJ10
=
</DigestValue>
</Reference>
</Reference>
</SignedInfo>
</SignedInfo>
<SignatureValue>
AbzrvvisCPqcZ0OnkYNaFeuC8wIkivlIL479c3HJmFJycXLxm6LzS7wILw47huzP
<SignatureValue>
J/yFKDQIAKkfoJyK/5Apylg6KFaK7Kwr/gn1stAUJqAab7I61gx/fVw4TCCGH5Nv
/8r2FnZ3MT/qJdibz53zNFXBADu2af/lSx9bkuxZpYN5J91cgCjUt68xF8Xvo4d8
6yXdw1f/QN6CBoNXA9sus2tG5KQ7od/lrPs+kmyaDVTp87Q6mqvQBD/Ekt2N/SQ6
j
qOKq3H3C7DqU52QyF+XoPKHaBWUcefJoeLQEwUm9C+U6mSP5AZ82m1DoqyhOuWk
j
vlK70BGjJibVGoZf20EZdojpZEgvDdNa2YsVws0ZEuY4/XMsmddJnY76UDZvR8X
UYTjVUjVro+J1x9Bp/dyZ8OczaN+S9vIYm6AbsV5klYPQug951da5KJ/K8fvure9
NVryuMuK8rYWXMl8tLaZo5k/LgxxeDDWWwcicBQcWIOl/tuGbfssixgBHFWY4ye3
OIHaLnEb4BtQb7qDA8+3jPU7c88XvP+27FtSqiWM0vGGSc9pq4kS5hHmsrdbIkyl
HD8ChdxfS7sxHxAbipZ03BoutVriGQBeO3f+nI4TEIZov7V41YUqSyfcRGb3+WT4
Ajr+mNXxlNnXRQNEsqE+Gw
==
</SignatureValue>
dm7kMaNn6GUyv3/TXuGIQg
==
</SignatureValue>
<KeyInfo>
<KeyInfo>
<X509Data>
<X509Data>
<X509Certificate>
MIIDGTCCAgGgAwIBAgIJAKLbLcQajEf8MA0GCSqGSIb3DQEBCwUAMCMxDDAKBgNV
<X509Certificate>
MIIDGTCCAgGgAwIBAgIJAKLbLcQajEf8MA0GCSqGSIb3DQEBCwUAMCMxDDAKBgNV
...
@@ -43,9 +43,6 @@ esSffLKbWcabtyMtCr5QyEwZiozd567oWFWZYeHQyEtd+w6tAFmz9ZslipdQEa/j
...
@@ -43,9 +43,6 @@ esSffLKbWcabtyMtCr5QyEwZiozd567oWFWZYeHQyEtd+w6tAFmz9ZslipdQEa/j
</Signature>
</Signature>
<saml2:Issuer
xmlns:saml2=
"urn:oasis:names:tc:SAML:2.0:assertion"
Format=
"urn:oasis:names:tc:SAML:2.0:nameid-format:entity"
>
http://www.okta.com/exk91cb99lKkKSYoy0h7
</saml2:Issuer>
<saml2:Issuer
xmlns:saml2=
"urn:oasis:names:tc:SAML:2.0:assertion"
Format=
"urn:oasis:names:tc:SAML:2.0:nameid-format:entity"
>
http://www.okta.com/exk91cb99lKkKSYoy0h7
</saml2:Issuer>
<saml2p:Status
xmlns:saml2p=
"urn:oasis:names:tc:SAML:2.0:protocol"
>
<saml2p:Status
xmlns:saml2p=
"urn:oasis:names:tc:SAML:2.0:protocol"
>
<!-- Status code indicates an error. Ensure this fails to authenticate a user -->
<saml2p:StatusCode
Value=
"urn:oasis:names:tc:SAML:2.0:status:AuthnFailed"
/>
<saml2p:StatusCode
Value=
"urn:oasis:names:tc:SAML:2.0:status:AuthnFailed"
/>
</saml2p:Status>
</saml2p:Status>
<saml2:Assertion
xmlns:saml2=
"urn:oasis:names:tc:SAML:2.0:assertion"
xmlns:xs=
"http://www.w3.org/2001/XMLSchema"
ID=
"id199065211253338521862321146"
IssueInstant=
"2017-04-04T04:34:59.330Z"
Version=
"2.0"
>
<saml2:Assertion
xmlns:saml2=
"urn:oasis:names:tc:SAML:2.0:assertion"
xmlns:xs=
"http://www.w3.org/2001/XMLSchema"
ID=
"id199065211253338521862321146"
IssueInstant=
"2017-04-04T04:34:59.330Z"
Version=
"2.0"
>
...
...
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