Josh Cummings
e8f920e0ee
Polish JdbcAssertingPartyMetadataRepository
...
- Remove GetBytes since it's not used yet
- Remove customizable RowMapper since this can be added
later
- Change signing_algorithms to be a String since the conversion
strategy is simple
- Standardize test names
- Simplify conversion of credentials using ThrowingFunction
- Change column names to match RelyingPartyRegistration
field names
Issue gh-16012
6 months ago
Josh Cummings
2bd05128ec
Add JdbcAssertingPartyMetadataRepository#save
...
Issue gh-16012
Co-Authored-By: chao.wang <chao.wang@zatech.com>
6 months ago
Josh Cummings
e2e42a5580
Fix Checkstyle
...
Issue gh-16012
6 months ago
chao.wang
16fd24c002
Add JdbcAssertingPartyMetadataRepository
...
Closes gh-16012
Signed-off-by: chao.wang <chao.wang@zatech.com>
6 months ago
Josh Cummings
9b724377ce
Rework Saml2 Authentication Statement
...
This commit separates the authentication principal, the assertion details,
and the relying party tenant into separate components. This allows the
principal to be completely decoupled from how Spring Security triggers and
processes SLO.
Specifically, it adds Saml2AssertionAuthentication, a new authentication
implementation that allows an Object principal and a Saml2ResponseAssertionAccessor
credential. It also moves the relying party registration id from
Saml2AuthenticatedPrincipal to Saml2AssertionAuthentication.
As such, Saml2AuthenticatedPrincipal is now deprecated in favor of
placing its assertion components in Saml2ResponseAssertionAccessor and
the relying party registration id in Saml2AssertionAuthentication.
Closes gh-10820
6 months ago
Christian Schuster
02a8c416aa
Add NameID to SAML 2.0 Authentication Info
...
Issue gh-10820
6 months ago
Christian Schuster
36c7b91fb9
SAML 2.0 Single Logout Uses Saml2AuthenticationInfo
...
This allows SLO to be triggered without the authentication
principal needing to implement a given interface.
Issue gh-10820
6 months ago
Josh Cummings
aa3135169d
Polish Documentation
...
Closes gh-14635
6 months ago
Liviu Gheorghe
3ddf201d66
Updated Copyrights
...
Signed-off-by: Liviu Gheorghe <liviu.gheorghe.ro@gmail.com>
6 months ago
1livv
edfd7b9b43
Addressed review comments
...
Signed-off-by: Liviu Gheorghe <liviu.gheorghe.ro@gmail.com>
6 months ago
Liviu Gheorghe
eaf8184142
Send saml logout response even when validation errors happen
...
Signed-off-by: Liviu Gheorghe <liviu.gheorghe.ro@gmail.com>
6 months ago
Josh Cummings
f73f253beb
Add Switch for Processing GET Requests
...
Issue gh-17099
7 months ago
Josh Cummings
32c7e8a6ee
Use Saml2Error Static Factories
7 months ago
Josh Cummings
3de7312658
Add Saml2Error Static Factories
7 months ago
Tran Ngoc Nhan
8953f464fb
Add Switch for Processing GET Requests
...
Closes gh-17099
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
7 months ago
Josh Cummings
868342b3a9
Add OpenSAML 5 Test
...
Issue gh-17008
8 months ago
Josh Cummings
5354e4d2c5
Check for Null Issuer
...
Closes gh-16989
8 months ago
Josh Cummings
834370d8eb
Update Deprecated Spring Web Usage
8 months ago
Josh Cummings
3f7f3dabe7
Correct JavaDoc Class Reference
8 months ago
Josh Cummings
f8d417dc03
Preserve Encrypted Elements
...
Closes gh-16367
8 months ago
Josh Cummings
3869b13e68
Add ResponseAuthenticationConverter
...
Aside from simplifying configuration, this commit also makes it possible
to provide a response authentication converter that doesn't need the
NameID element to be present.
Closes gh-12136
8 months ago
Josh Cummings
3e686abf50
Add ResponseValidator
...
Issue gh-14264
Closes gh-16915
8 months ago
Josh Cummings
a283700ef8
Add CacheSaml2AuthenticationRequestRepository
...
Closes gh-14793
9 months ago
Josh Cummings
67c21de1cf
Support Continue Filter Chain When No Relying Party
...
Closes gh-16000
9 months ago
Josh Cummings
5436fd5574
Remove Unecessary Code
9 months ago
Josh Cummings
91b0936189
Add AssertionValidator
...
- Ships with support for customizing the OpenSAML validators to use
- Or, you can supply your own instance of SAML20AssertionValidator
Closes gh-15578
9 months ago
Josh Cummings
99345537d6
Add RequestMatcher Migration Path for AbstractAuthenticationProcessingFilter
...
Issue gh-16417
9 months ago
Josh Cummings
de07b1108f
Use PathPatternRequestMatcher in Web Components
...
This commit changes filters and resolvers that were using AntPathRequestMatcher as their
default to using PathPatternRequestMatcher.
Issue gh-16632
9 months ago
Josh Cummings
50ad378a29
Polish MockHttpServletRequest Usage
...
This commit makes so that the requestURI is set to a value that makes
sense with the other properties being mocked.
Issue gh-16632
9 months ago
Filip Hrisafov
cd9d6ce5c9
Fix typos Open SAML 5 Javadoc referencing Open SAML 4
...
Signed-off-by: Filip Hrisafov <filip.hrisafov@gmail.com>
9 months ago
Rob Winch
04f530bc1b
opensamlFiveTest.extendsFrom testRuntimeOnly
...
Issue gh-16756
9 months ago
Rob Winch
adb303e152
Add testRuntimeOnly junit-platform-launcher
...
Closes gh-16755
9 months ago
Josh Cummings
f2d78a01c3
Fix JavaDoc Typos
10 months ago
Tran Ngoc Nhan
51e9f073dd
Fix format
...
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
10 months ago
Tran Ngoc Nhan
3cf1686c0b
Revert Nullable annotation
...
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
10 months ago
Tran Ngoc Nhan
5d089f680e
Consistently NonNull annotation
...
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
10 months ago
Josh Cummings
5ff87128b1
Make Saml2AuthenticationToken Serializable
...
Issue gh-16286
11 months ago
Tran Ngoc Nhan
bcc4b415b3
Make RelyingPartyRegistration Serializable
...
Closes gh-16286
11 months ago
Josh Cummings
4b5bacf71a
Make Saml2AuthenticationToken Serializable
...
Issue gh-16286
11 months ago
Tran Ngoc Nhan
e50415de85
Make RelyingPartyRegistration Serializable
...
Closes gh-16286
11 months ago
Josh Cummings
8735368d9e
Don't Support Serialization of Jackson Modules
...
Issu gh-16276
11 months ago
Josh Cummings
841c03fe3b
Add Serializable Compatilibity to Saml 2.0 Exceptions
...
Issue gh-16276
1 year ago
Josh Cummings
b9911fd522
Add serialVersionUID to Authentication classes
...
Issue gh-16276
1 year ago
Josh Cummings
e3cd4339b2
Add Serial Version
...
Closes gh-16163
1 year ago
Josh Cummings
7e83fd54aa
Add Test Saml 2.0 Test Objects
1 year ago
opensource
7b51eab9fe
Initialize OpenSAML in OpenSamlAssertingPartyMetadataRepository
...
Closes gh-16042
This commit adds a static initializer block to both OpenSaml4AssertingPartyMetadataRepository
and OpenSaml5AssertingPartyMetadataRepository. This ensures OpenSAML is initialized upon class
loading, preventing failures when methods like withMetadataLocation are invoked without prior
initialization.
1 year ago
Josh Cummings
726ab52e1a
DefaultSaml2AuthenticatedPrincipal Can Be a Map Key
...
Closes gh-15346
1 year ago
Josh Cummings
ecf6cace82
Re-Enable Disabled OpenSAML Tests
...
Issue gh-15395
1 year ago
Josh Cummings
c9d083717f
Apply OpenSAML Test Fix to Remaining Test
...
There was one test that wasn't converted and now it is.
Issue gh-15395
1 year ago
Josh Cummings
b91f10825e
Disable Flaky Tests
...
There was another flaky failure. While it seems clear what
needs to be done to repair it, this commit disables these
tests for now while the CI on a separate branch confirms
after a few days that the tests are stable again.
Issue gh-15395
1 year ago