Commit Graph

486 Commits

Author SHA1 Message Date
Josh Cummings e52c6de39c
Repair Flaky Tests
- Applying changes to OpenSaml4 tests that were already applied
to OpenSaml5 tests

Issue gh-15395
2024-08-09 08:22:05 -06:00
Josh Cummings f75cb17f35
Add Missing Delegate Call
Issue gh-11658
2024-08-06 18:14:12 -06:00
Josh Cummings 08d1be5774
Fix Build to Add Missing Tests
Issue gh-11658
2024-08-06 18:14:12 -06:00
Josh Cummings 1da383b360
Add OpenSAML 5 Support
Issue gh-11658
2024-08-06 18:14:11 -06:00
Josh Cummings c6d6bfd74f
Move OpenSAML 4 Support to Separate Source Directory
Issue gh-11658
2024-08-06 18:14:11 -06:00
Josh Cummings 1be596bb2f
Use OpenSAML API for registration
Issue gh-11658
2024-08-06 18:14:11 -06:00
Josh Cummings 78a0173cc1
Use OpenSAML API for web
Issue gh-11658
2024-08-06 18:14:11 -06:00
Josh Cummings bf5b334531
Use OpenSAML API for web.authentication
Issue gh-11658
2024-08-06 18:14:10 -06:00
Josh Cummings 51fc05630d
Use OpenSAML API for web.authentication.logout
Issue gh-11658
2024-08-06 18:14:10 -06:00
Josh Cummings ff9a925e88
Use OpenSAML API for metadata
Issue gh-11658
2024-08-06 18:14:10 -06:00
Josh Cummings 80b31820cd
Use OpenSAML API in authentication
Issue gh-11658
2024-08-06 18:14:10 -06:00
Josh Cummings 416859e70e
Use OpenSAML API in authentication.logout
Issue gh-11658
2024-08-06 18:14:10 -06:00
Josh Cummings 94431d1650
Add Internal OpenSAML API
This will be useful for exposing OpenSAML functionality at
a higher level. Each OpenSAML major version release should
provide a new implementation.

Issue gh-11658
2024-08-06 18:14:09 -06:00
Josh Cummings 54a4792b7a
Remove Unneeded OpenSAML 4 References
This will reduce the number of components that need to be
duplicated between the OpenSAML 4 and 5 support

Issue gh-11658
2024-08-06 18:14:09 -06:00
Josh Cummings ab842b74b9
Use OpenSAML ParserPool Defaults
Originally, Spring Security turned off various features
XML parsing feature for the underlying DocumentBuilderFactory
that OpenSAML uses.

Both OpenSAML 4 and 5 set these values by default, so we
can safely accept the defaults at this point.

Issue gh-11658
2024-08-06 18:14:09 -06:00
Josh Cummings 2f34824d0e Fix Formatting 2024-07-29 14:03:35 -07:00
Sanghyuk Jung 3e3f2ae8f0 Remove Duplicated "the" in JavaDoc 2024-07-29 14:03:35 -07:00
Josh Cummings 335dff63c1
Fix Formatting 2024-07-29 14:54:08 -06:00
Josh Cummings 0b0ffa01f7
Repair Flaky Tests
- MockWebServer seems to start failing to respond to connections
at a certain frequency of requests. This commit builds in a small
delay of 1 millisecond to address this.

Closes gh-15395
2024-07-29 14:45:48 -06:00
Josh Cummings 9d8888c5f0 Use AssertingPartyMetadata
Issue gh-15394
2024-07-19 18:48:23 -07:00
Josh Cummings dfa67fd8a1 Polish Tests
- Use test objects
- Ensure assertThat is checked

Issue gh-11725
2024-07-19 18:48:23 -07:00
Josh Cummings e6dfb63bdf Add OpenSamlAssertingPartyMetadataRepository
Closes gh-12116
Closes gh-15395
2024-07-19 18:48:23 -07:00
Josh Cummings 7ad9ee93cf Add AssertingPartyMetadataRepository
Closes gh-15394
2024-07-19 18:48:23 -07:00
Josh Cummings 796e4d6b6c
Add query parameter support for authn requests
Closes gh-15017
2024-07-13 23:57:57 -06:00
Josh Cummings 161b0f303d
Merge branch '6.3.x' 2024-07-10 17:13:04 -06:00
Josh Cummings 8951b6e0e1
Merge branch '6.2.x' into 6.3.x 2024-07-10 17:12:55 -06:00
Josh Cummings e1fdc61360
Merge branch '5.8.x' into 6.2.x 2024-07-10 17:12:43 -06:00
Josh Cummings 32e2735f45
Clarify Valid Metadata Locations 2024-07-10 17:10:49 -06:00
Josh Cummings dcf5cc9e06
Extract EntityDescriptor to AssertingPartyDetails Logic
Closes gh-15090
2024-07-10 17:08:36 -06:00
Josh Cummings 6bd2f1ca97
Deprecate OpenSamlRelyingPartyRegistration
Closes gh-15343
2024-07-01 19:50:54 -06:00
Josh Cummings 7b39800606
Add CachingRelyingPartyRegistrationRepository
Closes gh-15341
2024-07-01 19:43:09 -06:00
Josh Cummings 1e2900328b
Add IterableRelyingPartyRegistrationRepository
Closes gh-15027
2024-07-01 19:43:09 -06:00
James Howe 902aff451f Update OpenSaml4AuthenticationProvider.java
Fix level of log message.
2024-06-24 14:10:54 -06:00
Josh Cummings 672902a8f3
Add Metadata Content Type Test
Issue gh-15147
2024-06-21 16:01:29 -06:00
Josh Cummings a529607d42
Add samlmetadata Qualifier to Content Type
Closes gh-15147
2024-06-21 12:57:10 -06:00
Josh Cummings b73155df26
Merge branch '6.3.x' 2024-05-31 14:14:02 -06:00
Josh Cummings 3defed4c3d
Merge branch '6.2.x' into 6.3.x 2024-05-31 14:13:46 -06:00
Josh Cummings 1cc66faaef
Polish Update Signature Validator
Issue gh-15022
2024-05-31 14:13:23 -06:00
Josh Cummings c4d8693063
Merge branch '6.3.x' 2024-05-31 13:46:50 -06:00
Josh Cummings 0da7284ddd
Merge branch '6.2.x' into 6.3.x
Closes gh-15183
2024-05-31 13:46:32 -06:00
Josh Cummings 99f233f98c
Update Signature Validator
Closes gh-15022
2024-05-31 13:29:28 -06:00
Josh Cummings 6695784a3f
Polish Logging
Issue gh-14801
2024-05-31 12:48:07 -06:00
Max Batischev 801e808f67 Add support sign SAML metadata
Closes gh-14801
2024-05-31 12:43:19 -06:00
Josh Cummings 63e24a3026
Adjust JavaDoc Classpath
Issue gh-14931
2024-05-20 12:42:01 -06:00
Marcus Hert Da Coregio 08f11f06ab Revert unnecessary commits from main
Issue gh-15016
2024-05-08 13:49:18 -03:00
Josh Cummings c97b2aa4e0
Merge branch '6.1.x' into 6.2.x
Closes gh-14958
2024-04-25 16:12:05 -06:00
Josh Cummings d88f2e5133
Merge branch '5.8.x' into 6.1.x
Closes gh-14957
2024-04-25 16:08:47 -06:00
Josh Cummings c35e107744
Add ProxyRestriction Validator
Closes gh-14931
2024-04-25 16:04:37 -06:00
Josh Cummings 3f11622687
Polish Status Codes
Adjusted code styling to avoid nested ifs

Closes gh-11725
2024-03-22 11:24:55 -06:00
YoungKi Hong 6e45e65cac Update to return List of StatusCodes and add Saml2Error to result object and other formatting 2024-03-22 11:08:24 -06:00