simplesamlphp / saml2

SimpleSAMLphp low-level SAML2 PHP library
https://www.simplesamlphp.org
GNU Lesser General Public License v2.1
284 stars 135 forks source link

Fix AttributeValue to deal with complex content #340

Closed tvdijen closed 1 year ago

tvdijen commented 1 year ago

First of all, this PR fixes the saml:AttributeValue so it will properly deal with complex content. Second of all a slightly modified version of the EncryptedElementTrait was added to be able to deal with specific requirements for encrypted elements in the SAML spec.

codecov[bot] commented 1 year ago

Codecov Report

Merging #340 (c9864b9) into master (cae2604) will decrease coverage by 0.01%. The diff coverage is 93.44%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #340 +/- ## ============================================ - Coverage 88.83% 88.83% -0.01% - Complexity 1642 1643 +1 ============================================ Files 186 187 +1 Lines 6764 6788 +24 ============================================ + Hits 6009 6030 +21 - Misses 755 758 +3 ```