Commit Graph

9600 Commits

Author SHA1 Message Date
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
Rob Winch 2809a3309b Update to org.mockito 3.11.2
Closes gh-10054
2021-07-08 13:43:58 -05:00
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
2021-07-08 12:35:32 -05:00
Luke Quinane e30b45c6fb Fix typos 2021-07-08 09:17:47 -03:00
Eleftheria Stein 6a09ffe113 Add AuthenticationManager to Kotlin JwtDsl
Closes gh-10045
2021-07-08 13:50:09 +02:00
Eleftheria Stein 5c8e409d98 Add AuthenticationManager to Kotlin OpaqueTokenDsl
Closes gh-10044
2021-07-08 12:46:50 +02:00
Eleftheria Stein b4f76b2314 Fix typo in Saml2Dsl 2021-07-08 12:03:29 +02:00
Eleftheria Stein 585788ad0a Add AuthenticationManager to HttpSecurity
Closes gh-10040
2021-07-07 15:44:42 +02:00
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
2021-07-07 12:01:57 +02:00
Marcus Da Coregio 510842ff2f Ensure line endings for .bat are not modified
Closes gh-10039
2021-07-05 14:11:49 -03:00
Josh Cummings bd88f37a50
Document PasswordManagementConfigurer
Issue gh-8657
2021-07-01 16:58:43 -06:00
Evgeniy Cheban d121ab9565 Support A Well-Known URL for Changing Passwords
Closes gh-8657
2021-07-01 16:57:53 -06:00
Marcus Da Coregio 85e95719a0 Update docs links to point to minor version branches
Closes gh-9986
2021-07-01 09:01:25 -03:00
Marcus Da Coregio bb4facaafd Add samplesBranch property
Closes gh-10019
2021-07-01 09:01:25 -03:00
Josh Cummings 81ded2a0e5
Polish Assertion
By using the supplier version of Assert.notNull, the
string concatenation is delayed.

Issue gh-3403
2021-06-30 10:12:27 -06:00
Marcus Da Coregio 19aa44af41 Improve Error Message for Invalid Properties
Closes gh-3403
2021-06-30 10:07:21 -06:00
Daniel Garnier-Moiroux 298068503b Fix Saml2WebSsoAuthenticationRequestFilter javadoc 2021-06-30 13:41:52 +02:00
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
2021-06-30 08:26:42 -03:00
Marcus Hert da Coregio 6474a9e76e Allow Creating RelyingPartyRegistration from Metadata InputStream
Update SAML2 Login reference documentation to reflect the changes

Closes gh-9558
2021-06-30 08:02:24 -03:00
Marcus Da Coregio 58ebacc06f Use springFrameworkVersion property in docs links
Closes gh-9987
2021-06-29 13:20:47 -03:00
Marcus Da Coregio f0f6047888 Add springFrameworkVersion property in gradle
Closes gh-9954
2021-06-29 13:20:47 -03:00
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
2021-06-28 15:45:24 -06:00
sdratler1 3820f0f3a3
Add no-parameter authorizeHttpRequests method
Closes gh-9498
2021-06-28 15:34:49 -06:00
Josh Cummings 0080aeee94
Add OpenSAML 3 and 4 Explanation
Closes gh-10014
2021-06-28 13:25:07 -06:00
Josh Cummings 5940b8dee7
Update to use OpenSaml4AuthenticationProvider
Closes gh-10013
2021-06-28 13:25:02 -06:00
Josh Cummings 8d3e58f074
Polish Whitespace
Issue gh-10013
2021-06-28 13:24:57 -06:00
/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
2021-06-28 11:48:07 +02:00
Eleftheria Stein da9d7414bd Add remaining Kotlin samples to reference docs
Closes gh-8172
2021-06-24 11:49:13 +02:00
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
2021-06-24 10:26:13 +02:00
Rob Winch e98b6c617b Add Name for Check Milestone
Issue gh-9989
2021-06-22 14:04:37 -05:00
Rob Winch 3656e08b49 Notify if Milestone Invalid
Issue gh-9989
2021-06-22 13:54:18 -05:00
Rob Winch 1545ccb406 Add milestone-spring-releasetrain.yml
Check if milestones are part of the release train

Closes gh-9989
2021-06-22 13:49:54 -05:00
Marcus Hert da Coregio bbf5614a9c Fix Broken Links in Docs
Closes gh-9869
2021-06-21 10:42:55 -03:00
Marcus Hert da Coregio 7075296deb Add a link checker to docs build
Closes gh-9818
2021-06-21 10:42:55 -03:00
Marcus Da Coregio 0aa93b18d6 Update links to point to migrated samples
Closes gh-9816
2021-06-21 10:42:55 -03:00
Marcus Hert da Coregio d60981fd59 Add messaging to documentation about sample migration
Closes gh-9815
2021-06-21 10:42:55 -03:00
Alexey Markevich 3219fd554d DigestAuthenticationFilter decodes nonce only once
Closes gh-8455
2021-06-18 15:25:00 -04:00
Eleftheria Stein b51c18b37b Add missing WebFlux CORS Reference
Closes gh-9951
2021-06-18 16:31:02 +02:00