2528 Commits

Author SHA1 Message Date
Josh Cummings
f2f19270da
Update to OpenSAML 4.3.0
Closes gh-13433
2023-07-10 17:56:42 -06:00
Marcus Da Coregio
a0540f5c65 Deprecate AbstractConfiguredSecurityBuilder#apply
Closes gh-13436
2023-06-30 11:53:47 -03:00
Marcus Da Coregio
1ff5eb6b57 Add with() method to apply SecurityConfigurerAdapter
This method is intended to replace .apply() because it will not be possible to chain configurations when .and() gets removed

Closes gh-13204
2023-06-29 14:52:30 -03:00
Josh Cummings
4855290a76
Merge branch '6.1.x' 2023-06-29 10:31:25 -06:00
Josh Cummings
87e07d59da
Merge branch '6.0.x' into 6.1.x
Closes gh-13199
2023-06-29 10:08:10 -06:00
Josh Cummings
1abfd2c801
Only Register as Advisor in Proxy Mode
Now that https://github.com/spring-projects/spring-framework/issues/30689
is addressed.

Closes gh-13198
2023-06-29 10:07:11 -06:00
Marcus Da Coregio
618847418f Automatically enable .cors() if CorsConfigurationSource bean is present
Closes gh-5011
2023-06-23 09:51:46 -03:00
Claudio Nave
52e12ad64b Replace deprecated methods 2023-06-22 13:19:55 -06:00
Marcus Da Coregio
8efdc5c926 Polish Contribution
Issue gh-13215
2023-06-22 16:00:47 -03:00
kandaguru17
401058d5ff Implemented AuthorizeHttpRequestsConfigurer to consider GrantedAuthorityDefaults for custom rolePrefix
Closes gh-13215
2023-06-22 16:00:46 -03:00
Evgeniy Cheban
c5461b17de EnableMethodSecurity annotation does not get imported when defined as a meta-annotation
Closes gh-12870
2023-06-22 15:15:25 -03:00
Josh Cummings
208fb62db9 Update Deprecated Usage
Issue gh-12629
2023-06-22 11:24:25 -06:00
Krzysztof Krason
9b603b99ab Using modern Java features 2023-06-22 11:24:25 -06:00
Kandaguru17
7e01ebdd92 Remove LazyCsrfTokenRepository usage
Closes gh-13194
2023-06-22 11:23:35 -06:00
Josh Cummings
fb910e2997
Prepare for Spring Security 6.2
Closes gh-14316
2023-06-22 11:03:28 -06:00
Marcus Da Coregio
acf1d34d94 Merge branch '6.0.x' 2023-06-19 11:13:57 -03:00
Marcus Da Coregio
2686af0c4d Revert "Only Register as Advisor in Proxy Mode"
This reverts commit 35ad1f85
2023-06-19 11:13:39 -03:00
Josh Cummings
fc1e465fd0
Merge branch '6.0.x' 2023-06-05 13:34:58 -06:00
Janne Valkealahti
c053f6f0c6 Make eclipse/vscode project import work
- Gradle projects contain cycles which comes from dependencies to
  test sources which is not a problem in gradle but eclipse metadata
  generation is getting confused. Thus we need settings to relax errors
  org.eclipse.jdt.core.circularClasspath=warning
  org.eclipse.jdt.core.incompleteClasspath=warning
- Additionally .classpath entries needs to be changes having
  without_test_code=false
  test=false
- Aspects end up getting source dirs `build/classes/java/main`
  and `build/resources/main` which never have sources. Vscode complains
  about that, eclipse is fine. Remove those from entries.
- In tests `htmlunit` depends on `xml-apis`. `xml-apis` are now part
  of jdk and eclipse complains about that. Excluse these in a gradle build.
- Both eclipse and vscode don't currently work with buildship, due to
  project cycles and buildship cannot be configured. It's possible to
  create metadata from `eclipse` task manually which then can be imported.
  For this we need to disable automatic import in vscode using buildship.
  This goes to `.vscode/settings.json` workspace config.
- Then with these changes user can do something like
  git clean -fxd && ./gradlew clean build cleanEclipse eclipse -x checkstyleNohttp -x test -x integrationTest
  and import projects manually.
2023-06-05 13:34:30 -06:00
Marcus Da Coregio
a939fa63a1 Merge branch '6.0.x'
Closes gh-13282
2023-06-05 16:04:27 -03:00
Marcus Da Coregio
4e3517e03a Merge branch '5.8.x' into 6.0.x
Closes gh-13281
2023-06-05 16:03:58 -03:00
Marcus Da Coregio
b47420f8a2 Merge branch '5.7.x' into 5.8.x
Closes gh-13280
2023-06-05 16:02:30 -03:00
Marcus Da Coregio
7250abc185 Does not apply a Configurer when disabled from another DSL
Closes gh-13203
2023-06-05 16:01:20 -03:00
Marcus Da Coregio
537e10cf9c Improve javadoc adding how to stick with defaults and link to documentation
Closes gh-13273
2023-06-02 15:05:17 -03:00
Josh Cummings
f566ed0afd
Update Symlink for 6.1
Issue gh-13131
2023-05-24 14:44:42 -06:00
Josh Cummings
ff0c82b019
Merge branch '6.0.x' 2023-05-24 14:41:55 -06:00
Josh Cummings
71703dc371
Update Symlink for 6.0
Issue gh-13131
2023-05-24 14:40:50 -06:00
Josh Cummings
90b37d6d07
Merge branch '5.8.x' into 6.0.x 2023-05-24 14:38:23 -06:00
Josh Cummings
73cb9862ad
Update Symlink for 5.8
Issue gh-13131
2023-05-24 14:37:18 -06:00
Josh Cummings
be409ada10
Merge branch '6.0.x'
Closes gh-13209
2023-05-22 15:43:43 -06:00
Josh Cummings
7c54c0e4fa
Merge branch '5.8.x' into 6.0.x
Closes gh-13208
2023-05-22 15:43:27 -06:00
Josh Cummings
62ede47d86
Merge branch '5.7.x' into 5.8.x
Closes gh-13207
2023-05-22 15:42:36 -06:00
Josh Cummings
1eefd433b6
Add spring-security.xsd symlink
Closes gh-13131
2023-05-22 15:42:02 -06:00
Josh Cummings
31f1604f66
Merge branch '6.0.x'
Closes gh-13199
2023-05-19 16:44:18 -06:00
Josh Cummings
7efa275abc
Merge branch '5.8.x' into 6.0.x
Closes gh-13198
2023-05-19 16:43:57 -06:00
Josh Cummings
35ad1f857e
Only Register as Advisor in Proxy Mode
Closes gh-13160
2023-05-19 16:33:46 -06:00
Josh Cummings
49366907e2
Merge branch '6.0.x'
Closes gh-13183
2023-05-15 17:31:48 -06:00
Josh Cummings
b438bc5384
Merge branch '5.8.x' into 6.0.x
Closes gh-13182
2023-05-15 17:30:14 -06:00
lukasz.migdalek
f4915890cc
Use Spec Order for Verifying Signatures
Closes gh-12346
2023-05-15 17:24:22 -06:00
Josh Cummings
5814f614c7
Merge branch '6.0.x'
Closes gh-13128
2023-05-02 16:56:37 -06:00
Josh Cummings
46ad9c122e
Merge branch '5.8.x' into 6.0.x
Closes gh-13127
2023-05-02 16:56:06 -06:00
Josh Cummings
e9a02bc6e9
RememberMeConfigurer Picks Up SecurityContextRepository
Closes gh-13104
2023-05-02 16:46:35 -06:00
Marcus Da Coregio
45efd48b93 Merge branch '6.0.x'
Closes gh-13122
2023-05-02 10:13:24 -03:00
Marcus Da Coregio
69338ecdfa Only Observe AuthenticationManager if it is not null
Closes gh-13084
2023-05-02 10:12:46 -03:00
SeasonPan
a44e91d044 fix javadoc typo 2023-04-24 16:41:17 -06:00
Josh Cummings
f261242db1
Merge branch '5.7.x' into 5.8.x 2023-04-24 16:33:29 -06:00
Ruslan Stelmachenko
caa4093619 Fix javadoc for migration from WebSecurityConfigurerAdapter 2023-04-24 16:32:16 -06:00
Josh Cummings
dd14bbb365
Merge branch '6.0.x' 2023-04-18 12:42:55 -06:00
Josh Cummings
1e25756ee6
Fix Import Order 2023-04-18 12:42:25 -06:00
Josh Cummings
68b198f091
Merge branch '6.0.x' 2023-04-18 12:20:44 -06:00