Commit Graph

9587 Commits

Author SHA1 Message Date
Eleftheria Stein aa413edc95 Update org.aspectj to 1.9.7
Closes gh-10095
2021-07-16 17:18:07 +02:00
Eleftheria Stein 749bba30f7 Update htmlunit to 2.51.0
Closes gh-10094
2021-07-16 17:18:07 +02:00
Eleftheria Stein c15d694da2 Update io.rsocket to 1.1.1
Closes gh-10093
2021-07-16 17:18:06 +02:00
Eleftheria Stein abb7df1cc4 Update io.projectreactor to 2020.0.9
Closes gh-10091
2021-07-16 17:18:06 +02:00
Eleftheria Stein d9d394030e Update mockk to 1.12.0
Closes gh-10090
2021-07-16 17:18:06 +02:00
Eleftheria Stein 2656b1412c Update com.nimbusds to 9.10.1
Closes gh-10089
2021-07-16 17:18:05 +02:00
Eleftheria Stein 6bc511312f Update jackson-bom to 2.12.4
Closes gh-10086
2021-07-16 17:18:05 +02:00
Eleftheria Stein 9adcfebbdf Include minor version bump 2021-07-16 17:12:37 +02:00
Nick McKinney 5c8fb254c2 Add AuthenticationDetailsSource to OAuth2 Login Kotlin DSL
Closes gh-9838
2021-07-16 15:42:00 +02:00
Nick McKinney b1612b1283 Add AuthenticationDetailsSource to Form Login Kotlin DSL
Closes gh-9837
2021-07-16 15:42:00 +02:00
Rob Winch c71498ae5f Disable ApacheDSContainerTests on Windows
Closes gh-10084
2021-07-15 20:28:57 -05:00
Rob Winch 715f06c4c2 useJUnitPlatform for integration tests
Issue gh-9467
2021-07-15 14:12:12 -05:00
Eleftheria Stein bff377904a Fix Javadoc formatting 2021-07-14 12:53:06 +02:00
Eleftheria Stein bfc9d2a5c1 Add missing LDAP setAuthoritiesMapper Javadoc 2021-07-13 18:58:56 +02:00
Steve Riesenberg f5266c7511 Remove wildcard from generics in converter
Polish gh-9779
2021-07-12 23:42:47 -05:00
Josh Cummings c4e53e51d7
Close zip file
Issue gh-9467
2021-07-12 15:12:54 -06:00
Rob Winch f73f213f50 Remove DependencySetPlugin
Closes gh-10070
2021-07-12 15:31:38 -05:00
Josh Cummings 01af7877ea
Polish RsaKeyConverters
- Remove potential for returning null
- Remove potential for parsing more than one header

Issue gh-9736
2021-07-12 14:21:23 -06:00
shazin 5f7d871258 Add X.509 Certificate Support
Closes gh-9736
2021-07-12 14:21:08 -06:00
Rob Winch c173e801c5 Convert buildSrc to JUnit 5
Closes gh-9467
2021-07-12 11:43:31 -05:00
Rob Winch 5cf40ab9da Migrate to JUnit 5
Issue gh-9467
2021-07-09 16:11:06 -05:00
Rob Winch f800d2c993 Add hamcrest dependency 2021-07-09 15:57:21 -05:00
Rob Winch 793cd71a5e Remove remaining junit code 2021-07-09 15:57:21 -05:00
Rob Winch 04fbe03a9e remove junit 2021-07-09 15:57:21 -05:00
Rob Winch 342884e851 kotlin uses @ExtendWith(SpringTestContextExtension::class)
cd config/src/test/kotlin
rg 'SpringTestContext' -l | xargs sed -i '/^import org.junit.jupiter.api.Test/a import org.junit.jupiter.api.extension.ExtendWith'
rg 'SpringTestContext' -l | xargs sed -i '/^import org.springframework.security.config.test.SpringTestContext/a import org.springframework.security.config.test.SpringTestContextExtension'
rg 'SpringTestContext' -l | xargs sed -i '/^class .*/i @ExtendWith(SpringTestContextExtension::class)'
2021-07-09 15:57:21 -05:00
Rob Winch cc732bda3b Use @ExtendWith(SpringExtension::class) 2021-07-09 15:57:21 -05:00
Rob Winch 3b3ccb962d Fix @Test(expected = 2021-07-09 15:57:21 -05:00
Rob Winch 2bd55f0f62 @Test to JUnit 5 for kotlin
rg -g "*.kt" "import org.junit.Test" -l | xargs sed -i 's/import org.junit.Test/import org.junit.jupiter.api.Test/'
2021-07-09 15:57:21 -05:00
Rob Winch 98bd772b67 format 2021-07-09 14:49:47 -05:00
Rob Winch e251abb1ae more import cleanup 2021-07-09 14:49:47 -05:00
Rob Winch 3c4e15264c Add @ExtendWith(SpringTestContextExtension.class)
rg 'import org.springframework.security.config.test.SpringTestContext' -l -g "*.java" | xargs rg '@ExtendWith' --files-without-match | xargs sed -i '/^public class/i @ExtendWith(SpringTestContextExtension.class)'
2021-07-09 14:49:46 -05:00
Rob Winch 7dfd169ece Add import ExtendWith
rg 'import org.springframework.security.config.test.SpringTestContext' -l -g "*.java" | xargs rg '@ExtendWith' --files-without-match | xargs sed -i '/^import org.junit.jupiter.api.Test;/a import org.junit.jupiter.api.extension.ExtendWith;'
2021-07-09 14:49:45 -05:00
Rob Winch e4b09f62f0 Add SpringTestContextExtension to existing ExtendWith
rg 'import org.springframework.security.config.test.SpringTestContext' -l -g "*.java" | xargs rg '@ExtendWith' -l | xargs sed -E -i 's/@ExtendWith\((.*)\)/@ExtendWith({ \1, SpringTestContextExtension.class })/'
2021-07-09 14:49:42 -05:00
Rob Winch 5133340bf8 Add import SpringTestContextExtension
rg 'import org.springframework.security.config.test.SpringTestContext' -l -g "*.java" | xargs sed -i '/^import org.springframework.security.config.test.SpringTestContext;/a import org.springframework.security.config.test.SpringTestContextExtension;'
2021-07-09 14:47:54 -05:00
Rob Winch 60078df62a remove @Rule
rg '@Rule' -g '!buildSrc/**' -l | xargs sed -i '/@Rule/d'
rg 'import org.junit.Rule' -g '!buildSrc/**' -l | xargs sed -i '/import org.junit.Rule/d'
2021-07-09 14:46:51 -05:00
Rob Winch 671040bb27 SpringTestRule to SpringTestContext
rg 'new SpringTestRule()' -l | xargs sed -i 's/new SpringTestRule()/new SpringTestContext(this)/'
rg 'val spring = SpringTestRule()' -l | xargs sed -i 's/val spring = SpringTestRule()/val spring = SpringTestContext(this)/'
2021-07-09 14:41:51 -05:00
Rob Winch c838d3a25c Use SpringExtension instead of rules 2021-07-09 14:35:10 -05:00
Rob Winch e8c44e6390 Add SpringTestContextExtension 2021-07-09 14:35:10 -05:00
Rob Winch e998d4ec8a Fix serialization due to mocking 2021-07-09 14:35:10 -05:00
Rob Winch b6ff4d3674 Fix mockito UnnecessaryStubbingException 2021-07-09 14:35:10 -05:00
Rob Winch 2a62c4d976 Fix NamespaceHttpInterceptUrlTests 2021-07-09 14:32:52 -05:00
Rob Winch d67f0bf291 Remove AbstractTransactionalJUnit4SpringContextTests 2021-07-09 14:32:52 -05:00
Rob Winch f873ef9e8c JdbcAclServiceTests fix setup ordering 2021-07-09 14:32:52 -05:00
Rob Winch bb00268922 Revert "Add openrewrite"
openrewrite is no longer necessary now that the migration is done
2021-07-09 14:32:52 -05:00
Rob Winch 3e93b024d6 openrewrite Junit Migration 2021-07-09 14:32:52 -05:00
Rob Winch 8652f01269 useJUnitPlatform 2021-07-09 14:05:48 -05:00
Rob Winch 1047e09fee Add JUnit 5 Dependencies 2021-07-09 14:05:48 -05:00
Rob Winch a61057d66c Add openrewrite 2021-07-09 13:55:20 -05:00
Marcus Da Coregio ff47086d56 Update SAML docs to point to correct api url
Closes gh-9953
2021-07-09 11:09:55 -03:00
Eleftheria Stein 79054093c9 Add AuthenticationManager to Kotlin ServerHttpSecurityDsl
Closes gh-10053
2021-07-09 10:34:57 +02:00