8725 Commits

Author SHA1 Message Date
Josh Cummings
bf10837ea6
Update to Gradle 6.2.2
Fixes gh-8065
2020-03-04 10:28:03 -07:00
Josh Cummings
68a4621b1a
Update to Kotlin 1.3.70
Fixes gh-8064
2020-03-04 10:27:50 -07:00
Josh Cummings
e36fbfa8a7
Update to Spring Boot 2.2.5
Fixes gh-8063
2020-03-04 10:27:32 -07:00
Josh Cummings
edb6665103
Update What's New Section
Fixes gh-8062
2020-03-04 09:04:45 -07:00
Joe Grandja
b42f0f50ab Document JdbcOAuth2AuthorizedClientService
Fixes gh-8061
2020-03-04 10:14:16 -05:00
Joe Grandja
62d01d2dfc Add oauth2login xml sample
Fixes gh-8060
2020-03-04 07:50:47 -05:00
Hrushikesh Salunkhe
558924e88e Typo fix
users passwords changed to users' passwords
2020-03-04 06:41:04 -06:00
Rob Winch
23f762844c Update to spring-build-conventions:0.0.31.RELEASE
Closes gh-8058 gh-8025
2020-03-03 23:19:13 -06:00
Eleftheria Stein
603eb1e647 Add OAuth2 Kotlin samples to docs
Issue: gh-5558
2020-03-03 22:24:14 -05:00
Josh Cummings
b4cab71fd3
Fix broken doc links
Issue gh-8050
2020-03-03 17:26:15 -07:00
Josh Cummings
85b0e468ad
Add missing calls to principalName
Issue gh-8054
2020-03-03 17:11:42 -07:00
Josh Cummings
3766322f03
Added OAuth 2.0 MockMvc Test Support Docs
Issue gh-8050
2020-03-03 16:33:08 -07:00
Josh Cummings
2064214f39
Add principal name to oauth2Client Test Support
Fixes gh-8054
2020-03-03 16:33:08 -07:00
Josh Cummings
3bc1b7a933
Simplify opaqueToken support
Remove scopes convenience method to alleviate potential confusion with
the "scope" attribute.

Issue gh-7827
Issue gh-7712
2020-03-03 16:24:43 -07:00
Josh Cummings
689fc9df0c
Align Test Support Claims
Make all sub claims 'user' and all scopes 'read' to align with
existing support for JWT

Issue gh-7828
Issue gh-7789
Issue gh-7680
Issue gh-7618
2020-03-03 16:24:43 -07:00
Josh Cummings
30adabb685
Simplify oauth2Login Test Support
Remove nameAttributeKey as this is easily done by constructing
a DefaultOAuth2User instance.

Issue gh-7789
Issue gh-7828
2020-03-03 15:48:04 -07:00
Josh Cummings
c729fee7bc
Malformed Bearer Token Returns 401 for WebFlux
Fixes gh-7668
2020-03-03 15:42:02 -07:00
Josh Cummings
80ee6627ba
Change Diagram Font to Sans-serif
Fixes gh-8057
2020-03-03 15:27:01 -07:00
Rob Winch
5c2074f01b Add SecurityFilterChain Figure
Closes gh-8055
2020-03-03 15:04:25 -06:00
Rob Winch
81e41f124b Add anchors to SAML 2.0 documentation
Closes gh-8049
2020-03-03 08:01:36 -06:00
Rob Winch
4f25641ee4 Polish Authentication 2020-03-02 22:46:22 -06:00
Eleftheria Stein
0bf59186a3 Add Kotlin Configuration section to docs 2020-03-02 14:51:39 -06:00
Joe Grandja
c111099640 Polish client-registration xsd attributes
Issue gh-4557
2020-03-02 15:02:46 -05:00
Josh Cummings
e97396b9c7 Add Resource Server XML Support
Fixes gh-5185
2020-03-02 11:51:40 -07:00
Josh Cummings
f1a2d69968 Add AuthenticationProvider List Configurability
Issue gh-5185
2020-03-02 11:51:40 -07:00
Josh Cummings
34b40deb38 Add By-RequestMatcher Exception Handling
Issue gh-5185
2020-03-02 11:51:40 -07:00
Josh Cummings
98a2ca3bbc Add Csrf Ignore Configurability
Issue gh-5185
2020-03-02 11:51:40 -07:00
Rob Winch
0ba3ff6df2 Update UserDetailsService Docs
Closes gh-8048
2020-03-02 11:58:03 -06:00
AmitB
2ce9eef95e Fix typo in AntPathRequestMatcher contructor comment 2020-03-02 07:14:27 -06:00
Rob Winch
6bb056607f Fix Basic Figure Formating
Issue gh-8039
2020-03-01 19:23:31 -06:00
Rob Winch
57ac2207f2 Add Figures to Basic Authentication Docs
Closes gh-8039
2020-02-28 16:48:23 -06:00
Josh Cummings
19584884b3
Register Authentication Provider in Init Phase
Fixes gh-8031
2020-02-28 15:32:27 -07:00
Rob Winch
bc16f1a526 Fix Link that is Code Styling
Closes gh-8038
2020-02-28 13:52:43 -06:00
Rob Winch
562c1d939e Remove Duplicated Docs 2020-02-28 12:19:40 -06:00
Rob Winch
4d8d95163f Polish Invalid === in Docs 2020-02-28 12:15:24 -06:00
Rob Winch
0cf9364d92 Fix DispatcherServlet Link
Issue gh-8036
2020-02-28 12:15:19 -06:00
Rob Winch
c554a3fc41 Add Link to DispatcherServlet in Filter Review Doc
Closes gh-8036
2020-02-28 11:39:22 -06:00
Rob Winch
805ef55d9a Add Figures to Form Log In Docs
Closes gh-8035
2020-02-28 11:36:04 -06:00
Filip Hanik
3257349045 Support POST binding for AuthNRequest
Has been tested with

- Keycloak
- SSOCircle
- Okta
- SimpleSAMLPhp

This PR extends (builds on previous commits and adds user configuration
options)
https://github.com/spring-projects/spring-security/pull/7758
2020-02-28 09:15:26 -08:00
Rob Winch
ec61462566 Remove Duplicate Docs 2020-02-27 23:01:40 -06:00
Rob Winch
f4d032a762 Polish Extract Doc Sections 2020-02-27 22:10:02 -06:00
Rob Winch
ecc63f7c8c Extract Separate Sections of Docs 2020-02-27 22:04:20 -06:00
Rob Winch
5023aa6cf1 Add Request Credentials Figure
Closes gh-8030
2020-02-27 21:56:15 -06:00
Rob Winch
b7091ff794 Switch palette to template
Issue gh-8000
2020-02-27 21:56:15 -06:00
Rob Winch
d009a7b1de Add ProviderManager to Reference
Closes gh-8029
2020-02-27 21:56:15 -06:00
Josh Cummings
bd593a3431
Add Opaque Token WebTestClient Support
Fixes gh-7827
2020-02-27 11:29:55 -07:00
Roman Matiushchenko
9d66f2ccce polish gh-7996
Make defensive collection copy as Collections.unmodifiableCollection
does not protect from the source collection direct modification.
Use Mono#map instead of Mono#flatMap as it allocates less.
Use less operators to reduce allocations.
Use lambda parameter instead of outer method parameter
in authenticationManagers#computeIfAbsent()
to make it non capturing so it could be cached by JVM.
Propagate cause for InvalidBearerTokenException.
2020-02-27 09:29:43 -07:00
Roman Matiushchenko
04e671fb4d Instantiate exceptions lazily
Add lazy Exception instantiation to reduce allocations

Fixes gh-7995
2020-02-27 09:29:43 -07:00
Rob Winch
727fee1e12 Polish HeaderWriterSpec
Assert.notNull(Object,Supplier) is for when then message passed in
requires concatenation and avoids doing extra work. Since this does
not require concatenation, we can use Assert.notNull(Object,String)

Issue gh-7636
2020-02-27 07:57:51 -06:00
Ankur Pathak
480c5bc87e Custom ServerHttpHeadersWriter to HeaderSpec
Add the ability to have a custom ServerHttpHeadersWriter to HeaderSpec
Fixes gh-7636
2020-02-27 07:55:30 -06:00