Sébastien Deleuze
48854c3ac9
Deprecate Jackson 2 support
...
This commit does not cover webauthn which is a special case (uses
jackson sub-package for Jackson 2 support) which will be handled in
a distinct commit.
See gh-17832
Signed-off-by: Sébastien Deleuze <sdeleuze@users.noreply.github.com>
2 months ago
Sébastien Deleuze
65a14d6c6d
Add Jackson 3 support
...
This commit adds support for Jackson 3 which has the following
major differences with the Jackson 2 one:
- jackson subpackage instead of jackson2
- Jackson type prefix instead of Jackson2
- JsonMapper instead of ObjectMapper
- For configuration, JsonMapper.Builder instead of ObjectMapper
since the latter is now immutable
- Remove custom support for unmodifiable collections
- Use safe default typing via a PolymorphicTypeValidator
Jackson 3 changes compared to Jackson 2 are documented in
https://cowtowncoder.medium.com/jackson-3-0-0-ga-released-1f669cda529a
and
https://github.com/FasterXML/jackson/blob/main/jackson3/MIGRATING_TO_JACKSON_3.md .
This commit does not cover webauthn which is a special case (uses
jackson sub-package for Jackson 2 support) which will be handled in
a distinct commit.
See gh-17832
Signed-off-by: Sébastien Deleuze <sdeleuze@users.noreply.github.com>
2 months ago
Rob Winch
d18431a78d
Move FACTOR_ constants to FactorGrantedAuthority
...
Previously GrantedAuthorities had an implicit package tangle because it
was located in ~.core and FactorGrantedAuthority is in ~.core.authority
and FactorGrantedAuthority's authority property was implicitly expected
to be constants found in `GrantedAuthorities`.
This commit moves the constants to the FactorGrantedAuthority which
resolves this tangle. It wasn't initially done because
FactorGrantedAuthority did not exist at that time.
Closes gh-18030
2 months ago
Rob Winch
3f74991ce9
Authentication adds FactorGrantedAuthority
...
Closes gh-18001
3 months ago
Rob Winch
b2d76dfe66
Add GrantedAuthorities.FACTOR_*_AUTHORITY
...
Closes gh-17952
3 months ago
Josh Cummings
6e7a181eac
Polish Authentication Factors
...
Issue gh-17933
3 months ago
Josh Cummings
758b35df9c
Add Factor Tests for Authentication Providers
...
Issue gh-17933
3 months ago
Josh Cummings
39e2bb67fc
Create Authentication Only Once
...
Issue gh-17933
3 months ago
Josh Cummings
e8accd0499
Add Factory Authority When Authentication Succeeds
...
Issue gh-17933
3 months ago
Josh Cummings
c64b086878
Add SecurityAssertions
...
This commit introduces a simple, internal test API for
verifying aspects of an Authentication, like its name
and authorities.
Closes gh-17844
3 months ago
Josh Cummings
40898775ec
Update to UnboundID 7.0.3
...
Closes gh-17730
4 months ago
Josh Cummings
eeb383ac46
Fix Checkstyle
...
Issue gh-17623
4 months ago
Josh Cummings
6d1a886f92
Deprecate SERIAL_VERSION_UID
...
Closes gh-17623
4 months ago
Rob Winch
f6cb0bd610
Merge Use 2004-present Copyright Header
...
The original merge into main did not apply the changes. This fixes it.
Closes gh-17635
5 months ago
Rob Winch
392129b616
Use 2004-present Copyright Header
...
The Spring portfolio is changing to use <inception-year>-present in
the copyright headers to simplify keeping headers up to date. This
commit updates the headers and the checkstyle accordingly.
The commit updated etc/checkstyle/header.txt
It also updated the copyright headers using the following find/replace:
Find: (Copyright \d{4})\s*(\-\d{4})? the original author or authors.
Replace: Copyright 2004-present the original author or authors.
Closes gh-17633
5 months ago
Rob Winch
23cf29ba17
UnboundIdContainer Disables Pauses for Ephemeral Port
...
Closes gh-17543
5 months ago
Rob Winch
f96b9bb5cc
Work Around UnboundIdContainer Fails with TestContext
...
See gh-17543
5 months ago
Andrey Litvitski
fdf52f021d
Use `LdapName` instead of `DistinguishedName`
...
Closes gh-17301
Signed-off-by: Andrey Litvitski <andrey1010102008@gmail.com>
5 months ago
Josh Cummings
6ddb964c61
Remove ApacheDS Support
...
Closes gh-13852
6 months ago
Josh Cummings
215547f8c8
Use UsernameNotFoundException Factory
...
Issue gh-17179
7 months ago
Rob Winch
adb303e152
Add testRuntimeOnly junit-platform-launcher
...
Closes gh-16755
9 months ago
Josh Cummings
e1e5970a24
Support Serialization for LDAP Components
...
Issue gh-16276
11 months ago
Josh Cummings
244fd2eb51
Support Serialization in Exceptions
...
Issue gh-16276
11 months ago
Josh Cummings
8735368d9e
Don't Support Serialization of Jackson Modules
...
Issu gh-16276
11 months ago
Josh Cummings
018e1ae1a4
Added Serialization Values
...
Issue gh-16276
1 year ago
Josh Cummings
b9911fd522
Add serialVersionUID to Authentication classes
...
Issue gh-16276
1 year ago
Joe Grandja
a8c4d6cead
Require Locale argument for toLower/toUpperCase usage
1 year ago
Joe Grandja
a7bf8f7cc6
Require Locale argument for toLower/toUpperCase usage
1 year ago
Joe Grandja
0eaffb37e7
Require Locale argument for toLower/toUpperCase usage
1 year ago
Josh Cummings
981fbd5c2c
Polish Tests
...
Closes gh-14768
1 year ago
kwonyonghyun
b8aa78829c
Improve readability of empty collection checks
1 year ago
Daniel Garnier-Moiroux
b731623b3a
Fix checkstyle errors with @Deprecated
1 year ago
Daniel Garnier-Moiroux
b92ed92548
Fix checkstyle errors with @Deprecated
1 year ago
Daniel Garnier-Moiroux
79fb0113c8
Bump io-spring-javaformat from 0.0.42 to 0.0.43
...
Bumps `io-spring-javaformat` from 0.0.42 to 0.0.43.
Updates `io.spring.javaformat:spring-javaformat-checkstyle` from 0.0.42 to 0.0.43
- [Release notes](https://github.com/spring-io/spring-javaformat/releases )
- [Commits](spring-io/spring-javaformat@v0.0.42...v0.0.43)
Updates `io.spring.javaformat:spring-javaformat-gradle-plugin` from 0.0.42 to 0.0.43
- [Release notes](https://github.com/spring-io/spring-javaformat/releases )
- [Commits](spring-io/spring-javaformat@v0.0.42...v0.0.43)
---
updated-dependencies:
- dependency-name: io.spring.javaformat:spring-javaformat-checkstyle
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: io.spring.javaformat:spring-javaformat-gradle-plugin
dependency-type: direct:production
update-type: version-update:semver-patch
...
---
Manual updates:
- Adhere to rule where `@Deprecated` annotations and `@deprecated` javadoc comments MUST
be used together
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
Daniel Garnier-Moiroux
2caf1fb6b4
Bump io-spring-javaformat from 0.0.42 to 0.0.43
...
Bumps `io-spring-javaformat` from 0.0.42 to 0.0.43.
Updates `io.spring.javaformat:spring-javaformat-checkstyle` from 0.0.42 to 0.0.43
- [Release notes](https://github.com/spring-io/spring-javaformat/releases )
- [Commits](spring-io/spring-javaformat@v0.0.42...v0.0.43)
Updates `io.spring.javaformat:spring-javaformat-gradle-plugin` from 0.0.42 to 0.0.43
- [Release notes](https://github.com/spring-io/spring-javaformat/releases )
- [Commits](spring-io/spring-javaformat@v0.0.42...v0.0.43)
---
updated-dependencies:
- dependency-name: io.spring.javaformat:spring-javaformat-checkstyle
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: io.spring.javaformat:spring-javaformat-gradle-plugin
dependency-type: direct:production
update-type: version-update:semver-patch
...
---
Manual updates:
- Adhere to rule where `@Deprecated` annotations and `@deprecated` javadoc comments MUST
be used together
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
Daniel Garnier-Moiroux
109da2719f
Use explicit types everywhere instead of var
1 year ago
Roman Zabaluev
ea2ec04633
Clarify url Parameter Usage in AD Provider
...
Closes gh-7760
1 year ago
Josh Cummings
e4e82d89d9
Add UnboundId Compatibility Check
...
Closes gh-15400
1 year ago
Josh Cummings
78d2be9bd5
Polish LDAP Module
...
Issue gh-3834
2 years ago
Josh Cummings
55895f3b08
Update Deprecated Usage
...
Issue gh-3834
2 years ago
Josh Cummings
ef5c1a72db
Support Handling Javax-based Bind Exceptions
...
Closes gh-3834
2 years ago
Marcus Hert Da Coregio
08f11f06ab
Revert unnecessary commits from main
...
Issue gh-15016
2 years ago
Josh Cummings
92da6b143f
Restore Acegi Copyright
...
Issue gh-2083
2 years ago
Roman Zabaluev
1509a987eb
Impl custom rolePrefix in LdapUserDetailsManager
...
Closes gh-2083
2 years ago
Josh Cummings
4aed6797ef
Polish ActiveDirectoryLdapAuthenticationProvider#setAuthoritiesPopulator
...
Issue gh-4490
2 years ago
Roman Zabaluev
98f0a2120e
Add ActiveDirectoryLdapAuthenticationProvider#setAuthoritiesPopulator
...
Closes gh-4490
2 years ago
Josh Cummings
85d60580e7
Mark Container As Not Running
...
Closes gh-14095
2 years ago
Steve Riesenberg
9db33f33c7
Revert unnecessary merges on 6.0.x
...
This commit removes unnecessary main-branch merges starting from
8750608b5b and adds the following
needed commit(s) that were made afterward:
- 5dce82c48b
2 years ago
Marcus Da Coregio
64e2a2ff8b
Apply updated Code Style
...
Closes gh-13881
2 years ago
Marcus Da Coregio
27f0ab9eee
Fix formatting
...
Issue gh-13851
2 years ago