Rob Winch
3b3ccb962d
Fix @Test(expected =
5 years ago
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/'
5 years ago
Rob Winch
e251abb1ae
more import cleanup
5 years ago
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)'
5 years ago
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;'
5 years ago
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 })/'
5 years ago
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;'
5 years ago
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'
5 years ago
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)/'
5 years ago
Rob Winch
e8c44e6390
Add SpringTestContextExtension
5 years ago
Rob Winch
b6ff4d3674
Fix mockito UnnecessaryStubbingException
5 years ago
Rob Winch
2a62c4d976
Fix NamespaceHttpInterceptUrlTests
5 years ago
Rob Winch
3e93b024d6
openrewrite Junit Migration
5 years ago
Eleftheria Stein
79054093c9
Add AuthenticationManager to Kotlin ServerHttpSecurityDsl
...
Closes gh-10053
5 years ago
Rob Winch
14240b2559
Remove Powermock
...
Powermock does not support JUnit5 yet, so we need to remove it
to support JUnit 5. Additionally, maintaining additional libraries
adds extra work for the team.
Mockito now supports final classes and static method mocking. This
commit replaces Powermock with mockito-inline.
Closes gh-6025
5 years ago
Eleftheria Stein
6a09ffe113
Add AuthenticationManager to Kotlin JwtDsl
...
Closes gh-10045
5 years ago
Eleftheria Stein
5c8e409d98
Add AuthenticationManager to Kotlin OpaqueTokenDsl
...
Closes gh-10044
5 years ago
Eleftheria Stein
b4f76b2314
Fix typo in Saml2Dsl
5 years ago
Eleftheria Stein
585788ad0a
Add AuthenticationManager to HttpSecurity
...
Closes gh-10040
5 years ago
Evgeniy Cheban
d121ab9565
Support A Well-Known URL for Changing Passwords
...
Closes gh-8657
5 years ago
Josh Cummings
e91cacfdaf
Polish no-parameter authorizeHttpRequests
...
- Cleaned up JavaDoc
- Updated implementation to align with no-parameter authorizeRequests
- Updated test names and content for clarity, specifically identified
tests that target no-parameter authorizeHttpRequests with noParameter in
the name
- Switched order of methods to match others in HttpSecurity
- Updated copyright year
Issue gh-9498
5 years ago
sdratler1
3820f0f3a3
Add no-parameter authorizeHttpRequests method
...
Closes gh-9498
5 years ago
/usr/local/ΕΨΗΕΛΩΝ
2c1126c5aa
Improve AuthenticationManagerBeanDefinitionParser XML parsing
...
Closes gh-7282
5 years ago
/usr/local/ΕΨΗΕΛΩΝ
5b1221a846
Improve AuthenticationManagerBeanDefinitionParser XML parsing
...
Closes gh-7282
5 years ago
/usr/local/ΕΨΗΕΛΩΝ
50a17f58db
Improve AuthenticationManagerBeanDefinitionParser XML parsing
...
Closes gh-7282
5 years ago
/usr/local/ΕΨΗΕΛΩΝ
61284ce22d
Improve AuthenticationManagerBeanDefinitionParser XML parsing
...
Closes gh-7282
5 years ago
/usr/local/ΕΨΗΕΛΩΝ
fe99c3b83b
https://stackoverflow.com/questions/67520600/redirect-to-different-page-after-login-based-on-user-role-with-spring-security/67531436#67531436
...
Closes gh-7282
5 years ago
Eleftheria Stein
e313e6b89a
Apply DefaultLoginPageConfigurer before logout
...
If they are not applied in this order, then the LogoutConfigurer cannot
set the logoutSuccessUrl, because the DefaultLoginPageGeneratingFilter
does not exist yet.
This impacts users that inject the default HttpSecurity bean.
Closes gh-9973
5 years ago
Eleftheria Stein
fdd017d935
Apply DefaultLoginPageConfigurer before logout
...
If they are not applied in this order, then the LogoutConfigurer cannot
set the logoutSuccessUrl, because the DefaultLoginPageGeneratingFilter
does not exist yet.
This impacts users that inject the default HttpSecurity bean.
Closes gh-9973
5 years ago
Eleftheria Stein
94a3adb928
Apply DefaultLoginPageConfigurer before logout
...
If they are not applied in this order, then the LogoutConfigurer cannot
set the logoutSuccessUrl, because the DefaultLoginPageGeneratingFilter
does not exist yet.
This impacts users that inject the default HttpSecurity bean.
Closes gh-9973
5 years ago
Marcus Da Coregio
b0d22d1a03
Revert "Lock Dependencies"
...
This reverts commit eb300c78bd .
5 years ago
Steve Riesenberg
c17767883f
Revert "Lock Dependencies for Release"
...
This reverts commit d71be4ca28afa6e9ed9c0d30ee5dae74a5eb1987.
5 years ago
Josh Cummings
d71be4ca28
Lock Dependencies for Release
5 years ago
Marcus Da Coregio
eb300c78bd
Lock Dependencies
5 years ago
Eleftheria Stein
f91608dcba
Disable default logout page when logout disabled
...
Closes gh-9475
5 years ago
Eleftheria Stein
442c9cbf38
Disable default logout page when logout disabled
...
Closes gh-9475
5 years ago
Eleftheria Stein
0c1bce5c82
Disable default logout page when logout disabled
...
Closes gh-9475
5 years ago
Eleftheria Stein
cb4bb463da
Disable default logout page when logout disabled
...
Closes gh-9475
5 years ago
Eleftheria Stein
dfd0047f0b
Disable default logout page when logout disabled
...
Closes gh-9475
5 years ago
Thomas Vitale
b44d0fb319
Load ReactiveJwtAuthenticationConverter bean in OAuth2 Resource Server config
...
When a bean of type ReactiveJwtAuthenticationConverter is defined,
the OAuth2 Resource Server configuration will use it automatically
when no other converter is defined through the DSL.
Closes gh-9698
5 years ago
Eleftheria Stein
aeed286e8a
Add AuthenticationManager to saml2Login Kotlin DSL
...
Closes gh-9905
5 years ago
Marcus Hert da Coregio
5a4cfe1226
Fix Adding Filter Relative to Custom Filter
...
Closes gh-9787
5 years ago
Marcus Hert da Coregio
e16b88c9d5
Fix Adding Filter Relative to Custom Filter
...
Closes gh-9787
5 years ago
Marcus Hert da Coregio
ac371d5de6
Fix Adding Filter Relative to Custom Filter
...
Closes gh-9787
5 years ago
Marcus Hert da Coregio
53870ab3de
Fix Adding Filter Relative to Custom Filter
...
Closes gh-9787
5 years ago
Marcus Hert da Coregio
9d2db89838
Fix Adding Filter Relative to Custom Filter
...
Closes gh-9787
5 years ago
Josh Cummings
65239e93f9
Update Copyright Header
...
Issue gh-9845
5 years ago
Josh Cummings
5b49433ed1
Add GlobalMethodSecurityConfiguration Test
...
Issue gh-9845
5 years ago
Kay-Uwe Janssen
7a233c41f0
Some infrastructure beans are not marked properly
...
Added missing infrastructure role to methodSecurityMetadataSource bean
and move the post processing of the defaultMethodExpressionHandler to
the end of afterSingletonsInstantiated.
Closes gh-9845
5 years ago
theexiile1305
3074ad4136
Migrate Kotlin tests from java Mockito to Mockk
...
Closes gh-9785
5 years ago