diff options
author | Olav Morken <olav.morken@uninett.no> | 2008-07-10 08:39:32 +0000 |
---|---|---|
committer | Olav Morken <olav.morken@uninett.no> | 2008-07-10 08:39:32 +0000 |
commit | 7cd05c42f14ddc1cf48c83c4f269264bfca032c7 (patch) | |
tree | 5c1078ac3ee08acd77701a9ea8d3219ea8a0f740 /lib/SimpleSAML/XML | |
parent | 8908be9cd957e3f7309b64187f5533b1c118038d (diff) | |
download | simplesamlphp-7cd05c42f14ddc1cf48c83c4f269264bfca032c7.zip simplesamlphp-7cd05c42f14ddc1cf48c83c4f269264bfca032c7.tar.gz simplesamlphp-7cd05c42f14ddc1cf48c83c4f269264bfca032c7.tar.bz2 |
Shib13: Include SubjectConfirmation in AttributeStatement.
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@777 44740490-163a-0410-bde0-09ae8108e29a
Diffstat (limited to 'lib/SimpleSAML/XML')
-rw-r--r-- | lib/SimpleSAML/XML/Shib13/AuthnResponse.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/SimpleSAML/XML/Shib13/AuthnResponse.php b/lib/SimpleSAML/XML/Shib13/AuthnResponse.php index 2a990b4..013dc2f 100644 --- a/lib/SimpleSAML/XML/Shib13/AuthnResponse.php +++ b/lib/SimpleSAML/XML/Shib13/AuthnResponse.php @@ -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) { |