Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate metadata generation to new SAML2-library #1901

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

tvdijen
Copy link
Member

@tvdijen tvdijen commented Nov 20, 2023

This PR aims to partially migrate to the new SAML2 library. First run: metadata generation!

To do:

  • Raise coverage on the MetadataBuilder class.
  • Create a MetadataParser class as a replacement of the old SAMLParser class. This class should be able to parse XML metadata into SimpleSAMLphp's array-format. The Signer class should become obsolete.
  • Convert the ADFS module to use the new MetadataBuilder class. This also requires us to add a few missing classes to the ws-security library and . Missing classes are:
    • wst:RequestSecurityTokenResponse
    • wst:RequestSecurityToken
    • wsp:AppliesTo

Copy link

codecov bot commented Nov 20, 2023

Codecov Report

Merging #1901 (74d478c) into master (d456913) will decrease coverage by 0.49%.
Report is 3 commits behind head on master.
The diff coverage is 52.95%.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1901      +/-   ##
============================================
- Coverage     44.59%   44.10%   -0.49%     
+ Complexity     3743     3720      -23     
============================================
  Files           166      165       -1     
  Lines         12728    12728              
============================================
- Hits           5676     5614      -62     
- Misses         7052     7114      +62     

…ta (#2082)

* MetaDataStorageHandler::getGenerated uses a hook to allow ADFS metadata

* fix coding style

---------

Co-authored-by: Tim van Dijen <tvdijen@gmail.com>
@tvdijen tvdijen force-pushed the master branch 2 times, most recently from 5c9fb2c to 0970efc Compare May 27, 2024 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants