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
c838d3a25c
Use SpringExtension instead of rules
5 years ago
Rob Winch
e8c44e6390
Add SpringTestContextExtension
5 years ago
Rob Winch
e998d4ec8a
Fix serialization due to mocking
5 years ago
Rob Winch
b6ff4d3674
Fix mockito UnnecessaryStubbingException
5 years ago
Rob Winch
2a62c4d976
Fix NamespaceHttpInterceptUrlTests
5 years ago
Rob Winch
d67f0bf291
Remove AbstractTransactionalJUnit4SpringContextTests
5 years ago
Rob Winch
f873ef9e8c
JdbcAclServiceTests fix setup ordering
5 years ago
Rob Winch
bb00268922
Revert "Add openrewrite"
...
openrewrite is no longer necessary now that the migration is done
5 years ago
Rob Winch
3e93b024d6
openrewrite Junit Migration
5 years ago
Rob Winch
8652f01269
useJUnitPlatform
5 years ago
Rob Winch
1047e09fee
Add JUnit 5 Dependencies
5 years ago
Rob Winch
a61057d66c
Add openrewrite
5 years ago
Marcus Da Coregio
ff47086d56
Update SAML docs to point to correct api url
...
Closes gh-9953
5 years ago
Eleftheria Stein
79054093c9
Add AuthenticationManager to Kotlin ServerHttpSecurityDsl
...
Closes gh-10053
5 years ago
Rob Winch
2809a3309b
Update to org.mockito 3.11.2
...
Closes gh-10054
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
Luke Quinane
e30b45c6fb
Fix typos
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
Eleftheria Stein
88a3f5ad39
Fix README local Maven install command
...
Switching from the maven to maven-publish plugin means users should use publishToMavenLocal to install jars into their local Maven cache.
Closes gh-10047
5 years ago
Marcus Da Coregio
510842ff2f
Ensure line endings for .bat are not modified
...
Closes gh-10039
5 years ago
Josh Cummings
bd88f37a50
Document PasswordManagementConfigurer
...
Issue gh-8657
5 years ago
Evgeniy Cheban
d121ab9565
Support A Well-Known URL for Changing Passwords
...
Closes gh-8657
5 years ago
Marcus Da Coregio
85e95719a0
Update docs links to point to minor version branches
...
Closes gh-9986
5 years ago
Marcus Da Coregio
bb4facaafd
Add samplesBranch property
...
Closes gh-10019
5 years ago
Josh Cummings
81ded2a0e5
Polish Assertion
...
By using the supplier version of Assert.notNull, the
string concatenation is delayed.
Issue gh-3403
5 years ago
Marcus Da Coregio
19aa44af41
Improve Error Message for Invalid Properties
...
Closes gh-3403
5 years ago
Daniel Garnier-Moiroux
298068503b
Fix Saml2WebSsoAuthenticationRequestFilter javadoc
5 years ago
Marcus Hert da Coregio
03ded987af
Allow Defining Custom SAML Response Validator
...
Add a setter method into OpenSaml4AuthenticationProvider that allows defining a custom ResponseValidator
Closes gh-9721
5 years ago
Marcus Hert da Coregio
6474a9e76e
Allow Creating RelyingPartyRegistration from Metadata InputStream
...
Update SAML2 Login reference documentation to reflect the changes
Closes gh-9558
5 years ago
Marcus Da Coregio
58ebacc06f
Use springFrameworkVersion property in docs links
...
Closes gh-9987
5 years ago
Marcus Da Coregio
f0f6047888
Add springFrameworkVersion property in gradle
...
Closes gh-9954
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
Josh Cummings
0080aeee94
Add OpenSAML 3 and 4 Explanation
...
Closes gh-10014
5 years ago
Josh Cummings
5940b8dee7
Update to use OpenSaml4AuthenticationProvider
...
Closes gh-10013
5 years ago
Josh Cummings
8d3e58f074
Polish Whitespace
...
Issue gh-10013
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
da9d7414bd
Add remaining Kotlin samples to reference docs
...
Closes gh-8172
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
Rob Winch
e98b6c617b
Add Name for Check Milestone
...
Issue gh-9989
5 years ago
Rob Winch
3656e08b49
Notify if Milestone Invalid
...
Issue gh-9989
5 years ago
Rob Winch
1545ccb406
Add milestone-spring-releasetrain.yml
...
Check if milestones are part of the release train
Closes gh-9989
5 years ago