Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dex
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
dex
Commits
2b8caf9b
Commit
2b8caf9b
authored
Apr 19, 2017
by
Eric Chiang
Committed by
GitHub
Apr 19, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #906 from ericchiang/fix-saml-test
connector/saml/testdata: fix bad status test case
parents
2edfec5d
00b5c99f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
13 deletions
+7
-13
bad-status.tmpl
connector/saml/testdata/bad-status.tmpl
+0
-3
bad-status.xml
connector/saml/testdata/bad-status.xml
+7
-10
No files found.
connector/saml/testdata/bad-status.tmpl
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"
>
...
...
connector/saml/testdata/bad-status.xml
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"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment