Commit Graph

8708 Commits

Author SHA1 Message Date
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
Eleftheria Stein bb72206eef Add Kotlin samples to docs
Issue: gh-5558
2020-02-26 10:11:24 -05:00
Eleftheria Stein 87ca71473e Fix typo in in-memory Kotlin example 2020-02-25 16:39:17 -05:00
Josh Cummings 968ebb194b
baseUrl placeholder for OidcLogoutSuccessHandlers
Fixes gh-7842
2020-02-25 13:35:50 -07:00
Josh Cummings 283e451cad
Update JwtDecoders tests
Issue gh-7860
2020-02-25 13:33:20 -07:00
Zeeshan Adnan 431cd6000b
Add JwtClaimValidator
Fixes gh-7860
2020-02-25 13:32:41 -07:00
Josh Cummings e09edf6ad3
Update Nimbus to use latest.release
Fixes gh-8007
2020-02-25 12:49:47 -07:00
Josh Cummings b33ed416e1
Polish Tests
Tests should use an absolute path to address mock endpoints
2020-02-25 12:47:25 -07:00
Eleftheria Stein 2fb3d3d5a2 Add hasRole to authorizeRequests in Kotlin DSL
Fixes: gh-8023
2020-02-25 08:29:26 -05:00
Joe Grandja fb2bbd74dc OAuth2AccessTokenResponseHttpMessageConverter handles JSON object parameters
Fixes gh-6463
2020-02-24 15:36:53 -05:00
Joe Grandja fa73b1397a Add missing @FunctionalInterface in oauth2 modules
Fixes gh-8020
2020-02-24 11:53:30 -05:00
Joe Grandja 3e5600f83f Add configurable Clock in OidcIdTokenValidator
Fixes gh-8019
2020-02-24 11:21:03 -05:00
Joe Grandja 7734d049eb Polish javadoc gh-7511 2020-02-24 10:35:58 -05:00
Joe Grandja d32c98b1c5 Add OAuth2AuthorizeRequest.Builder.principal(String)
Fixes gh-8018
2020-02-24 09:58:38 -05:00
Joe Grandja c6da7b2dd6 Polish gh-7840 2020-02-24 09:28:00 -05:00
Joe Grandja 65b5d468fb Deprecate UnAuthenticatedServerOAuth2AuthorizedClientRepository
Fixes gh-8016
2020-02-24 06:50:58 -05:00
Joe Grandja 4e2f1988f2 Polish Fix package tangles
Issue #7699 #7840
2020-02-24 06:42:00 -05:00
Joe Grandja 82cd203791 Remove unnecessary mocking
Fixes gh-8012
2020-02-23 19:35:16 -05:00