Commit Graph

737 Commits

Author SHA1 Message Date
Joe Grandja
d6da4d20b4 Set AuthenticationEventPublisher on each AuthenticationManagerBuilder
Fixes gh-6009
2018-10-23 14:49:44 -04:00
Rob Winch
87a5c16b53 Add @Configuration to ServerHttpSecurityConfiguration
Fixes: gh-5635
2018-08-03 09:39:17 -05:00
mhyeon.lee
eb897ac69c Fix oauth2login loginProcessingUrl NPE for java config
Java Config http.oauth2Login().loginProcessingUrl("url"); throws NPE.
Override loginProcessingUrl method and cached config url.
Then when the config is initialized,
it calls the super method to complete the configuration.

Fixes gh-5488
2018-07-13 11:42:43 -04:00
Denys Ivano
7b8fa90d96 Add accessDeniedHandler method to ExceptionHandlingSpec
This allows to configure accessDeniedHandler in ExceptionTranslationWebFilter through ServerHttpSecurity.

Issue: gh-5257
2018-05-07 16:23:32 -05:00
Rob Winch
f7f6798f71 DefaultWebSecurityExpressionHandler uses PermissionEvaluator Bean
The default instance of DefaultWebSecurityExpressionHandler uses the
PermissionEvaluator Bean by default.

Fixes: gh-5272
2018-04-30 12:16:34 -05:00
Rob Winch
151b545ed0 Polish Javadoc
Fixes: gh-5186
2018-03-29 15:33:31 -05:00
Rob Winch
c67ce144b9 Polish HeadersSpec
Fixes: gh-5187
2018-03-29 15:33:31 -05:00
Rob Winch
a7a71d6cef Fix @since on GlobalAuthenticationConfigurerAdapter
Fixes: gh-5109
2018-03-13 14:25:40 -05:00
Rob Winch
210a510bba Use HttpFirewall Bean
Fixes: gh-5022
2018-02-15 17:18:28 -06:00
Rob Winch
0eef5b4b42 Add StrictHttpFirewall 2018-01-24 11:06:08 -06:00
Joe Grandja
900ab1df81 Add javadoc for the OAuth 2.0 Security Configurer's
Fixes gh-4972
2018-01-24 06:18:08 -05:00
Kazuki Shimizu
444e2dade3 Support GrantedAuthoritiesMapper @Bean for oauth2Login
Fixes gh-4880
2018-01-23 09:51:14 -05:00
Rob Winch
91ef7ce1cf AuthenticationEventPublisher Bean used by Default
Fixes: gh-4940
2018-01-18 08:59:27 -06:00
Adolfo Eloy
196f02748d Migrate UserDetailsManagerConfigurerTests groovy->java 2018-01-10 16:13:08 -06:00
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
Aygiz Shaymardanov
cfe40358bd typo in java doc 2017-12-21 14:18:41 -06:00
Johnny Lim
316fd0572f Remove @Nullable annotations in UserDetailsMapFactoryBean 2017-12-21 14:08:05 -06:00
Eddú Meléndez
c16456623f Remove unused imports 2017-12-20 16:05:38 -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
Filip Hanik
ab6df7d154 Format security ilters enums for readability 2017-11-28 14:06:55 -06:00
Joe Grandja
3f1b09c248 Update javadoc for HttpSecurity.oauth2Login()
Fixes gh-4875
2017-11-27 13:17:19 -05:00
Rob Winch
691bf2e11d PasswordEncoder Bean for AuthenticationManagerBuilder
Issue: gh-4873
2017-11-27 11:42:56 -06:00
Rob Winch
9afee9e4e2 PasswordEncoder as Bean default for XML
Issue: gh-4873
2017-11-27 11:42:56 -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
0b1618d8b4 Fix RequestCache
Issue: gh-4789
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
5f79fdd3eb requiresLogoutMatcher naming polish
Issue: gh-4822
2017-11-14 16:42:41 -06:00
Rob Winch
11f6e0477c serverLogoutSuccessHandler->logoutSuccessHandler
Issue: gh-4822
2017-11-14 16:42:36 -06:00
Rob Winch
bf570854b8 serverLogoutHandler->logoutHandler
Issue: gh-4822
2017-11-14 16:42:33 -06:00
Rob Winch
2cbdb4ba02 serverCsrfTokenRepository->csrfTokenRepository
Issue: gh-4822
2017-11-14 16:42:27 -06:00
Rob Winch
3bfda6cff7 serverAccessDeniedHandler->accessDeniedHandler
Issue: gh-4822
2017-11-14 16:42:24 -06:00
Rob Winch
9e82fc0b83 serverAuthenticationEntryPoint->authenticationEntryPoint
Issue: gh-4822
2017-11-14 16:42:20 -06:00
Rob Winch
520e0a5a68 serverAuthenticationSuccessHandler->authenticationSuccessHandler
Issue: gh-4822
2017-11-14 16:42:14 -06:00
Rob Winch
5c83f92ddc serverAuthenticationFailureHandler->authenticationFailureHandler
Issue: gh-4822
2017-11-14 16:42:10 -06:00
Rob Winch
692233e431 ServerSecurityContextRepository members to securityContextRepository
Issue: gh-4822
2017-11-14 16:42:06 -06:00
Rob Winch
9956de8f29 LogoutBuilder->LogoutSpec
Issue: gh-4822
2017-11-14 16:41:58 -06:00
Rob Winch
7619556066 FormLoginBuilder->FormLoginSpec
Issue: gh-4822
2017-11-14 16:41:55 -06:00
Rob Winch
83d4abb1c6 RequestCacheBuilder->RequestCacheSpec
Issue: gh-4822
2017-11-14 16:41:51 -06:00
Rob Winch
eb7edf7092 HttpBasicBuilder->HttpBasicSpec
Issue: gh-4822
2017-11-14 16:41:47 -06:00
Rob Winch
01154614d1 ExceptionHandlingBuilder->ExceptionHandlingSpec
Issue: gh-4822
2017-11-14 16:41:38 -06:00
Rob Winch
903cbd7c35 CsrfBuilder->CsrfSpec
Issue: gh-4822
2017-11-14 16:41:31 -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