6845 Commits

Author SHA1 Message Date
Rob Winch
6a0833165a AuthorizationWebFilter handles null Authentication
If the AuthorizationManager used the Authentication and the Authentication
was null the AuthorizationWebFilter would produce a NullPointerException

This commit fixes the test to ensure that Authentication is subscribed to
and ensures that the Authentication is not null

Fixes: gh-4966
2018-01-22 15:16:58 -06:00
Joe Grandja
e6cac604f3 Add javadoc for spring-security-oauth2-core
Fixes gh-4883
2018-01-18 16:00:26 -05:00
Rob Winch
91ef7ce1cf AuthenticationEventPublisher Bean used by Default
Fixes: gh-4940
2018-01-18 08:59:27 -06:00
Rob Winch
65c3862da9 Password Troubleshooting Reference Fix
Correct the package to NoOpPasswordEncoder within the reference

Fixes: gh-4965
2018-01-18 08:25:52 -06:00
Rob Winch
450600cbb8 Polish reference 2018-01-12 09:17:05 -06:00
Rob Winch
0991f31613 Document exchange password for short term credential
Fixes gh-4959
2018-01-12 09:15:35 -06:00
Joe Grandja
aa900065b8 Document OAuth2UserService delegation-based strategy for authorities mapping
Fixes gh-4909
2018-01-11 10:07:58 -05:00
Michael J. Simons
6c0b510c98 Remove hardcoded Spring versions from namespaces
This fixes #4945.
2018-01-10 16:47:20 -06:00
Michael J. Simons
b634b49f9f Migrate xml-jaas groovy->java 2018-01-10 16:44:59 -06:00
Michael J. Simons
cd3449b312 Migrate javaconfig-form groovy->java
See #4939
2018-01-10 16:41:36 -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
Michael J. Simons
a4701bcd52 Migrate javaconfig-jdbc groovy->java
See #4939.
2018-01-10 16:03:39 -06:00
Joe Grandja
1d32fffc1d Make OAuth2Error Serializable
Fixes gh-4944
2018-01-10 10:40:54 -05:00
Rob Winch
4d310b7bf3 spring-build-conventions 0.0.9.RELEASE
Issue gh-4954
2018-01-09 12:51:57 -06:00
Rob Winch
e49e430538 Use spring-build-conventions Bom plugin
Fixes gh-4954
2018-01-09 11:27:34 -06:00
Rob Winch
803cdcf01e Test Jackson HashMap in Whitelist
Issue: gh-4889
2018-01-03 16:17:23 -06:00
Chris Burrell
cf97e16379 Add HashMap to Jackson whitelist
Issue: gh-4889
2018-01-03 16:17:23 -06:00
Adolfo Eloy
1d862c3836 Add tip to install Groovy Eclipse plugin on newer STS versions 2018-01-03 12:55:08 -06:00
Rob Winch
22737dce7e Polish
DelegatingPasswordEncoder copies the provided Map. This ensures that
references to the Map do not update the state of DelegatingPasswordEncoder
and NullPointerException is avoided for implementations that do not allow
a null key.

Issue: gh-4936
2018-01-03 10:11:04 -06:00
Michael J. Simons
2b66793535 Catch possible NullPointerException
Some maps may throw a NullPointerException when get is called with null. This commit catches the exceptions and just leaves the delegate null.

Fixes gh-4936
2018-01-03 09:46:58 -06:00
Michael J. Simons
718052932a Migrate xml-helloworld groovy->java
This is a suggestion how to migrate the GebSpec based tests to Java / Selenium based tests.

Issue: gh-4939
2018-01-03 09:35:28 -06:00
Michael J. Simons
f9083614be Remove duplicate dependency 2018-01-03 09:35:28 -06:00
Rob Winch
b9152701a6 Javadoc Polish 2017-12-21 16:43:11 -06:00
Rob Winch
df3dd23772 Update to hibernate-validator 6.0.5.Final 2017-12-21 15:30:39 -06:00
Johnny Lim
e9f3cfe814 Update to hibernate-validator 6.0.4.Final 2017-12-21 15:27:11 -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
Eddú Meléndez
9b84204e10 Remove spring-security-bom in dependencyManagement
spring-security-bom it provides dependency management for itself. This
commit avoids adding it to the dependency management section.

Fixes gh-4878
2017-12-20 16:02:53 -06:00
Rob Winch
c856c376df Fix UTF-8 in JdbcDaoImplTests 2017-12-20 15:50:23 -06:00
Rob Winch
b011076d2b .travis continue on failure
Fixes gh-4925
2017-12-20 15:38:22 -06:00
Rob Winch
2ba8c8bf02 Fix Travis build URL in README
Fixes gh-4924
2017-12-20 15:36:10 -06:00
Rob Winch
67bb91bb76 webflux-form sample uses Tomcat
Work around gh-4923
2017-12-20 15:08:49 -06:00
Joe Grandja
268a1dc06e DefaultOAuth2User is Serializable
Fixes gh-4917
2017-12-19 09:07:17 -05: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
Joe Grandja
0c708976c6 Update oauth2Login sample to use master
Fixes gh-4910
2017-12-12 15:31:00 -05:00
Joe Grandja
4814267ef1 Update to Spring Boot 2.0.0.M7
Fixes gh-4908
2017-12-12 15:18:46 -05:00
Rob Winch
8db41665a9 --stacktrace for Sonar 2017-12-12 11:41:21 -06:00
Joe Grandja
e19fdb6cc1 Remove AuthenticatedPrincipal from UserDetails
Issue gh-4877
2017-11-30 10:52:24 -05:00
Joe Grandja
50d1a81458 AbstractAuthenticationToken.getName() uses UserDetails.getUsername()
Fixes gh-4877
2017-11-30 09:17:42 -05:00
Filip Hanik
ab6df7d154 Format security ilters enums for readability 2017-11-28 14:06:55 -06:00
Rob Winch
f7b18fc398 Next Developement Version 5.0.0.1.BUILD-SNAPSHOT 2017-11-27 14:26:47 -06:00
Rob Winch
62e7762e8f Release 5.0.0.RELEASE 5.0.0.RELEASE 2017-11-27 13:45:31 -06:00
Rob Winch
67031a277d Use spring-build-conventions:0.0.8.RELEASE 2017-11-27 13:45:31 -06:00
Joe Grandja
3f1b09c248 Update javadoc for HttpSecurity.oauth2Login()
Fixes gh-4875
2017-11-27 13:17:19 -05:00
Rob Winch
ae664c33b1 Polish
Fix compile warnings in ClientRegistrationTests
2017-11-27 12:12:59 -06:00