Skip to content
Snippets Groups Projects
Commit 7cd05c42 authored by Olav Morken's avatar Olav Morken
Browse files

Shib13: Include SubjectConfirmation in AttributeStatement.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@777 44740490-163a-0410-bde0-09ae8108e29a
parent 8908be9c
No related branches found
No related tags found
No related merge requests found
......@@ -286,6 +286,7 @@ class SimpleSAML_XML_Shib13_AuthnResponse extends SimpleSAML_XML_AuthnResponse {
$encodedattributes .= '<AttributeStatement>
<Subject>
<NameIdentifier Format="urn:mace:shibboleth:1.0:nameIdentifier" NameQualifier="' . htmlspecialchars($namequalifier) . '">' . htmlspecialchars($nameid) . '</NameIdentifier>
<SubjectConfirmation><ConfirmationMethod>urn:oasis:names:tc:SAML:1.0:cm:bearer</ConfirmationMethod></SubjectConfirmation>
</Subject>';
foreach ($attributes AS $name => $value) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment