Commit Graph

8499 Commits

Author SHA1 Message Date
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
Joe Grandja 204a612be1 Deprecate Implicit Grant
Fixes gh-8013
2020-02-23 19:34:52 -05:00
Joe Grandja c8cc9717c9 Fix package tangles
Issue #7699 #7840
2020-02-23 07:24:36 -05:00
Joe Grandja f2da2c56be Resolve OAuth2Error from WWW-Authenticate header
Issue gh-7699
2020-02-21 15:12:58 -05:00
Joe Grandja 69156b741d Add OAuth2Authorization success/failure handlers
Fixes gh-7840
2020-02-21 15:12:58 -05:00
Josh Cummings 1b68cdb650
Polish DefaultAuthenticationEventPublisherTests
Fixed checkstyle violation

Issue gh-7824
2020-02-21 12:59:44 -07:00
Attoumane AHAMADI bfc2832c6c
Authentication Event Publisher Mappings
Fixes gh-7824
2020-02-21 12:49:04 -07:00
Rob Winch 7eb8a3daf5 Polish Authentication Docs Structure 2020-02-21 11:33:36 -06:00
Rob Winch 7d845447ec Extract AuthenticationManager Docs
Closes gh-8006
2020-02-21 10:52:52 -06:00
Rob Winch 21bd3d9a88 Polish Docs
Issue gh-8005
2020-02-21 10:52:52 -06:00