323 Commits

Author SHA1 Message Date
Johnny Lim
f3830eec7d Rename userDetailsRepository to userDetailsService 2018-01-10 16:04:48 -06:00
Johnny Lim
921157cdcd Remove explicit super() calls 2017-12-21 15:11:51 -06:00
Johnny Lim
57353d18e5 Use diamond type 2017-12-21 15:09:00 -06:00
Kazuki Shimizu
9f6af4f3b8 Remove address and phone from default scope for Google
Fixes gh-4895
2017-12-12 16:05:02 -05:00
Kazuki Shimizu
bd5d0bc6fd Change default scope to 'read:user' for GitHub
Fixes gh-4893
2017-12-12 15:31:25 -05:00
Rob Winch
9afee9e4e2 PasswordEncoder as Bean default for XML
Issue: gh-4873
2017-11-27 11:42:56 -06:00
Rob Winch
5cf2883afc AuthenticationManagerBeanDefinitionParserTests uses SpringTestContext
Issue: gh-4870
2017-11-27 11:42:56 -06:00
Rob Winch
4d8f11a5a9 SpringTestContext improvements
Fixes gh-4870
2017-11-27 11:42:56 -06:00
Rob Winch
d55db837e1 CsrfWebFilter places Mono<CsrfToken>
Fixes: gh-4855
2017-11-20 16:30:29 -06:00
Johnny Lim
701933c7f7 Fix copyright start years
See gh-4655
See gh-4725
2017-11-17 10:14:32 -06:00
Johnny Lim
b6895e6359 Apply Checkstyle WhitespaceAfterCheck module 2017-11-16 11:18:31 -06:00
Rob Winch
3e7e80a836 Accept */* triggers 401 by Default
Fixes gh-4831
2017-11-16 09:58:29 -06:00
Joe Grandja
dd33f0a7de ClientRegistration.redirectUri -> redirectUriTemplate
Fixes gh-4827
2017-11-15 14:51:35 -05:00
Joe Grandja
e098c3707e Update default redirect-uri to use 'baseUrl' template variable
Fixes gh-4826
2017-11-15 14:51:35 -05:00
Rob Winch
a6733fae50 Polish 2017-11-15 12:50:54 -06:00
Rob Winch
942b51dba7 Reactive Basic does not create session by default
Fixes: gh-4825
2017-11-15 12:50:29 -06:00
Rob Winch
520e0a5a68 serverAuthenticationSuccessHandler->authenticationSuccessHandler
Issue: gh-4822
2017-11-14 16:42:14 -06:00
Rob Winch
9956de8f29 LogoutBuilder->LogoutSpec
Issue: gh-4822
2017-11-14 16:41:58 -06:00
Rob Winch
fd4726afaf HeadersBuilder-HeadersSpec
Issue: gh-4822
2017-11-14 16:41:25 -06:00
Rob Winch
53ddbfc0ab AuthorizedExchangeBuilder->AuthorizedExchangeSpec
Issue: gh-4822
2017-11-14 16:41:08 -06:00
Johnny Lim
d900f2a623 Remove unused imports
This commit also adds UnusedImportsCheck Checkstyle module.
2017-11-14 14:41:08 -06:00
Rob Winch
1b70efce2b Add ServerRequestCache
Fixes: gh-4789
2017-11-13 15:49:34 -06:00
Rob Winch
3c7fb977fe WebTestClientHtmlUnitDriverBuilder uses WebTestClient for localhost
Fixes gh-4815
2017-11-13 15:48:52 -06:00
Rob Winch
adec62cdf2 EnableWebFluxSecurity creates CsrfRequestDataValueProcessor
Fixes gh-4762
2017-11-07 22:25:48 -06:00
Rob Winch
7622826b69 WebSessionServerCsrfTokenRepository saves on getToken
Fixes gh-4801
2017-11-07 22:25:23 -06:00
Rob Winch
c7c84e0996 Fix CustomLoginPage test
Fixes gh-4797
2017-11-07 22:24:21 -06:00
Rob Winch
1506dcd413 SpringTestContext.getContext()
Add accessor method for SpringTestContext.getContext()

Fixes gh-4796
2017-11-07 22:24:15 -06:00
Rob Winch
21aec19d42 Add FormLoginBuilder.serverAuthenticationSuccessHandler
Fixes: gh-4786
2017-11-03 08:47:59 -05:00
Rob Winch
1d4c7da1e1 Fix WebTestClientWebConnection for redirects 2017-11-03 08:46:56 -05:00
Craig Walls
06c4bffc5f Use id field instead of name field for GitHub and Facebook providers.
Fixes gh-4764
2017-11-01 10:48:57 -04:00
Rob Winch
5280ac40e9 WebMvcConfigurerAdapter->WebMvcConfigurer
Fixes gh-4612
2017-10-30 01:30:08 -05:00
Kazuki Shimizu
3d5989dea4 Change a default realm name
Change a default realm name of Basic Authentication for XML namespace to 'Realm'.

Fixes gh-4220
2017-10-30 00:59:39 -05:00
Antoine
e0aca04a28 Polish AssertJ assertions
Polish AssertJ assertions
2017-10-29 22:22:34 -05:00
Rob Winch
5a5ec58ca4 Add LogoutPageGeneratingWebFilter
Fixes gh-4735
2017-10-29 00:12:23 -05:00
Rob Winch
8da2c7f657 Add WebFlux CSRF Protection
Fixes gh-4734
2017-10-28 22:59:24 -05:00
Joe Grandja
34668e05af Polish class names in oauth2-core
Fixes gh-4720
2017-10-27 20:42:58 -04:00
Rob Winch
9c31041dce EnableWebFluxSecurityTests fixes
Issue: gh-4719
2017-10-27 18:17:25 -05:00
Rob Winch
747473257f Use ReactorSecurityContextHolder
Issue gh-4713
2017-10-26 20:11:42 -05:00
Joe Grandja
70543dcb30 Move oidc package in oauth2-core and oauth2-client
Fixes gh-4710
2017-10-26 21:06:28 -04:00
Joe Grandja
942b647c0d OAuth2LoginAuthenticationFilter processes uri /login/oauth2/code/*
Issue gh-4687
2017-10-26 14:20:19 -04:00
Johnny Lim
875aae012b Polish 2017-10-26 07:50:32 -05:00
Rob Winch
44b41e78cd Flux member variables in favor of Collections
Fix gh-4694
2017-10-25 07:41:37 -05:00
Joe Grandja
0fb32a052e OAuth2LoginAuthenticationFilter processes uri /login/oauth2/*
Fixes gh-4687
2017-10-24 15:24:26 -04:00
Rob Winch
8291f20796 DaoAuthenticationProvider uses DelegatingPasswordEncoder
This means that passwords will be encoded with BCrypt by default

Fixes: gh-2775
2017-10-24 07:56:28 -05:00
Rob Winch
d19b222b55 UserDetailsRepositoryReactiveAuthenticationManager uses DelegatingPasswordEncoder
This means passwords will be encoded with BCrypt by default

Issue: gh-2775
2017-10-24 07:56:28 -05:00
Rob Winch
cdc992b132 Remove SaltSource
Fixes gh-4681
2017-10-24 07:56:28 -05:00
Rob Winch
3a4a32e654 Remove LdapShaPasswordEncoder from core
Issue: gh-4674
2017-10-24 07:56:20 -05:00
Rob Winch
40fd8d7aa7 Remove ShaPasswordEncoder from core
Issue: gh-4674
2017-10-23 22:27:16 -05:00
Rob Winch
e98fc3556e Remove Md5PasswordEncoder from core
Issue: gh-4674
2017-10-23 22:27:16 -05:00
Joe Grandja
eb82a79068 OAuth2 login url starts with /login/
Fixes gh-4659
2017-10-19 17:32:21 -04:00