Josh Cummings
561c786726
Repair Flaky Tests
...
The issue turned out to be that OpenSAML first sends two HEAD
requests before sending a GET to retrieve the metadata. The way
the MockWebServer dispatcher was configured, it would send back
the metadata on each request. This created a situation where sockets
were being closed by the client before the server had sent all the
response, resulting in a broken pipe.
The tests would succeed most of the time due to lucky timing between
the client closing the socket and the server having sent all of its
(unrequested) data.
This version sends an expected HEAD response when requested.
Issue gh-15395
1 year ago
Marcus Hert Da Coregio
229a8d2fad
Remove unused imports
1 year ago
Josh Cummings
d7138cdb67
Repair Flaky Tests
...
The error between MockWebServer and OpenSAML still happens on
occasion. This commit uses MockWebServer's default queue dispatcher
to remove any customization that might be contributing to
the flakiness.
Issue gh-15395
1 year ago
Josh Cummings
e52c6de39c
Repair Flaky Tests
...
- Applying changes to OpenSaml4 tests that were already applied
to OpenSaml5 tests
Issue gh-15395
1 year ago
Josh Cummings
f75cb17f35
Add Missing Delegate Call
...
Issue gh-11658
1 year ago
Josh Cummings
08d1be5774
Fix Build to Add Missing Tests
...
Issue gh-11658
1 year ago
Josh Cummings
1da383b360
Add OpenSAML 5 Support
...
Issue gh-11658
1 year ago
Josh Cummings
c6d6bfd74f
Move OpenSAML 4 Support to Separate Source Directory
...
Issue gh-11658
1 year ago
Josh Cummings
1be596bb2f
Use OpenSAML API for registration
...
Issue gh-11658
1 year ago
Josh Cummings
78a0173cc1
Use OpenSAML API for web
...
Issue gh-11658
1 year ago
Josh Cummings
bf5b334531
Use OpenSAML API for web.authentication
...
Issue gh-11658
1 year ago
Josh Cummings
51fc05630d
Use OpenSAML API for web.authentication.logout
...
Issue gh-11658
1 year ago
Josh Cummings
ff9a925e88
Use OpenSAML API for metadata
...
Issue gh-11658
1 year ago
Josh Cummings
80b31820cd
Use OpenSAML API in authentication
...
Issue gh-11658
1 year ago
Josh Cummings
416859e70e
Use OpenSAML API in authentication.logout
...
Issue gh-11658
1 year ago
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
1 year ago
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
1 year ago
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
1 year ago
Josh Cummings
2f34824d0e
Fix Formatting
1 year ago
Sanghyuk Jung
3e3f2ae8f0
Remove Duplicated "the" in JavaDoc
1 year ago
Josh Cummings
335dff63c1
Fix Formatting
1 year ago
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
1 year ago
Josh Cummings
9d8888c5f0
Use AssertingPartyMetadata
...
Issue gh-15394
1 year ago
Josh Cummings
dfa67fd8a1
Polish Tests
...
- Use test objects
- Ensure assertThat is checked
Issue gh-11725
1 year ago
Josh Cummings
e6dfb63bdf
Add OpenSamlAssertingPartyMetadataRepository
...
Closes gh-12116
Closes gh-15395
1 year ago
Josh Cummings
7ad9ee93cf
Add AssertingPartyMetadataRepository
...
Closes gh-15394
1 year ago
Josh Cummings
796e4d6b6c
Add query parameter support for authn requests
...
Closes gh-15017
1 year ago
Josh Cummings
32e2735f45
Clarify Valid Metadata Locations
1 year ago
Josh Cummings
dcf5cc9e06
Extract EntityDescriptor to AssertingPartyDetails Logic
...
Closes gh-15090
1 year ago
Josh Cummings
6bd2f1ca97
Deprecate OpenSamlRelyingPartyRegistration
...
Closes gh-15343
2 years ago
Josh Cummings
7b39800606
Add CachingRelyingPartyRegistrationRepository
...
Closes gh-15341
2 years ago
Josh Cummings
1e2900328b
Add IterableRelyingPartyRegistrationRepository
...
Closes gh-15027
2 years ago
James Howe
902aff451f
Update OpenSaml4AuthenticationProvider.java
...
Fix level of log message.
2 years ago
Josh Cummings
672902a8f3
Add Metadata Content Type Test
...
Issue gh-15147
2 years ago
Josh Cummings
a529607d42
Add samlmetadata Qualifier to Content Type
...
Closes gh-15147
2 years ago
Josh Cummings
1cc66faaef
Polish Update Signature Validator
...
Issue gh-15022
2 years ago
Josh Cummings
99f233f98c
Update Signature Validator
...
Closes gh-15022
2 years ago
Josh Cummings
6695784a3f
Polish Logging
...
Issue gh-14801
2 years ago
Max Batischev
801e808f67
Add support sign SAML metadata
...
Closes gh-14801
2 years ago
Josh Cummings
63e24a3026
Adjust JavaDoc Classpath
...
Issue gh-14931
2 years ago
Marcus Hert Da Coregio
08f11f06ab
Revert unnecessary commits from main
...
Issue gh-15016
2 years ago
Josh Cummings
c35e107744
Add ProxyRestriction Validator
...
Closes gh-14931
2 years ago
Josh Cummings
3f11622687
Polish Status Codes
...
Adjusted code styling to avoid nested ifs
Closes gh-11725
2 years ago
YoungKi Hong
6e45e65cac
Update to return List of StatusCodes and add Saml2Error to result object and other formatting
2 years ago
youngkih
76331a5653
Add test for status code returning parent and child status code
2 years ago
youngkih
e1bcd778f0
Update copywrite to 2024
2 years ago
youngkih
994e064412
Use Optional in case child status code is null
2 years ago
YoungKi Hong
01e2971085
[ISSUE-11725] Add secondary statusCode messages on error
2 years ago
Josh Cummings
e8c93fdc98
Move Saml Class
...
Closes gh-14628
2 years ago
smallbun
ceb5100ba3
Optimize Saml2MetadataFilter
2 years ago