7956 Commits

Author SHA1 Message Date
Bagyoni Attila
878d262a26 Reimplement some hashCodes according to the currently recommended pattern.
These hashCode implementations seemed suspicious (field hashCodes XORed together with 31).
Included caseSensitive in AntPathRequestMatcher.hashCode() to be consistent with equals().
2019-06-18 12:44:57 -06:00
Daniel Meier
f44eb0b7be Update Mockito-Core to version 2.27.0
Update Mockito-Core to version 2.27.0 and Byte Buddy to version 1.9.10.

Closes #6790
2019-06-18 08:00:01 -06:00
Dennis Devriendt
b7ea7083c9 OAuth2LoginAuthenticationFilter sets AuthenticationDetails
Fixes gh-6866
2019-06-17 15:44:41 -05:00
sandmannn
23a7c3010c Added jwt injection for reactive test mocks
Added new implementation of jwt() method that
makes it possible to directly provide a previously
prepared JWT token to WebTestClient mutator.

Fixes: spring-projectsgh-6896
2019-06-15 10:01:57 -06:00
Eleftheria Stein
c0f64aa2d2 Next Development Version 2019-06-14 16:14:19 -04:00
Eleftheria Stein
77235e1f1d Release 5.2.0.M3 5.2.0.M3 2019-06-14 14:57:10 -04:00
Eleftheria Stein
a01ef4d215 Update to Spring Data Moore-RC1
Fixes gh-7008
2019-06-14 11:40:45 -04:00
Eleftheria Stein
609228de5f Jenkins build performs git clean
Fixes gh-7006
2019-06-14 07:43:22 -06:00
Eleftheria Stein
b00345575b Revert "Update to org.aspectj 1.9.4"
This reverts commit 0c41ed0948b1367c7cb1991469792a1928b848bf.

Fixes gh-7001
2019-06-13 16:45:17 -04:00
Eleftheria Stein
32d964334e Revert "Release 5.2.0.M3"
This reverts commit 0e1bd178d2f789f1db0f316675432e06ec430dbb.
2019-06-13 16:03:47 -04:00
Eleftheria Stein
0e1bd178d2 Release 5.2.0.M3 2019-06-13 15:48:13 -04:00
Eleftheria Stein
d3bcae475c Update to org.seleniumhq.selenium:htmlunit-driver 2.35.1
Fixes gh-6981
2019-06-13 13:30:24 -06:00
Eleftheria Stein
dc9a2eacf8 Update to hsqldb 2.5.0
Fixes gh-6982
2019-06-13 13:30:24 -06:00
Eleftheria Stein
d4af16d52b Update to Jetty 9.4.19.v20190610
Fixes gh-6983
2019-06-13 13:30:24 -06:00
Eleftheria Stein
a6491c944c Update to org.bouncycastle 1.62
Fixes gh-6984
2019-06-13 13:30:24 -06:00
Eleftheria Stein
2fb45201d5 Update to thymeleaf-layout-dialect 2.4.1
Fixes gh-6985
2019-06-13 13:30:24 -06:00
Eleftheria Stein
b62e69b94f Update to net.sourceforge.htmlunit:htmlunit 2.35.0
Fixes gh-6986
2019-06-13 13:30:24 -06:00
Eleftheria Stein
ebb5ca955a Update to unboundid-ldapsdk 4.0.11
Fixes gh-6987
2019-06-13 13:30:24 -06:00
Eleftheria Stein
be4f85b7f6 Update to jaxb-impl 2.3.2
Fixes gh-6988
2019-06-13 13:30:24 -06:00
Eleftheria Stein
225786a1d7 Update to mockwebserver 3.14.2
Fixes gh-6989
2019-06-13 13:30:24 -06:00
Eleftheria Stein
488277e978 Update to oauth2-oidc-sdk 6.13
Fixes gh-6990
2019-06-13 13:30:24 -06:00
Eleftheria Stein
602fcb05b2 Update to hibernate-entitymanager 5.4.3.Final
Fixes gh-6991
2019-06-13 13:30:24 -06:00
Eleftheria Stein
351e3aa881 Update to Spring Data Moore-M4
Fixes gh-6992
2019-06-13 13:30:24 -06:00
Eleftheria Stein
81b28d9afa Update to Spring Boot 2.2.0.M3
Fixes gh-6993
2019-06-13 13:30:24 -06:00
Eleftheria Stein
7450bd1334 Update to org.powermock 2.0.2
Fixes gh-6994
2019-06-13 13:30:24 -06:00
Eleftheria Stein
0c41ed0948 Update to org.aspectj 1.9.4
Fixes gh-6995
2019-06-13 13:30:24 -06:00
Eleftheria Stein
57ffaded72 Update to nimbus-jose-jwt 7.2.1
Fixes gh-6996
2019-06-13 13:30:24 -06:00
Eleftheria Stein
72a3044d1d Update to GAE 1.9.75
Fixes gh-6997
2019-06-13 13:30:24 -06:00
Eleftheria Stein
8fb464857c Update to jackson.core 2.9.9
Fixes gh-6998
2019-06-13 13:30:24 -06:00
Eleftheria Stein
e34a0e345c Update to cglib-nodep 3.2.12
Fixes gh-6999
2019-06-13 13:30:24 -06:00
joos-edia
0e7462272f Move log statement
Moved after removeSessionInformation() is called for comprehensible output to log file. The log statements are now written in correct order. Before the change, this could be confusing when debugging an application, since it seemed that the registered session was immediately removed when only looking at the logs.
2019-06-13 11:19:51 -05:00
Rafiullah Hamedy
f6ed1db702 Introduced ReactiveAuthenticationManagerResolver
Suitable for multi-tenant reactive applications needing to branch
authentication strategies based on request details.
2019-06-13 08:52:19 -06:00
Eleftheria Stein
e0e66c62fc Update to Spring 5.2.0.M3
Fixes gh-6961
2019-06-13 10:45:09 -04:00
Eleftheria Stein
759e47ba84 Migrate OpenIDLoginConfigurerTests groovy->java
Issue: gh-4939
2019-06-12 15:23:47 -04:00
sandmannn
9323d8e821 Extended testing api for JWT
Added new implementation of jwt() method that
makes it possible to directly provide a previously
prepared JWT token to the MockMvc request builder.

Issue: spring-projectsgh-6896
2019-06-12 10:09:32 -06:00
Fan Zhang
78cde52194 FIX #6954(RoleHierarchy Comments are misleading) 2019-06-12 10:14:31 -05:00
Tadaya Tsuyukubo
71dc4f39be Allow configuring scheduler on ReactiveAuthenticationManagerAdapter
Currently, authentication logic will be performed on hardcoded elastic
scheduler in ReactiveAuthenticationManagerAdapter.
This commit makes the authentication logic scheduler configureable.
2019-06-12 09:54:32 -05:00
Eleftheria Stein
e6ace0891f Migrate X509ConfigurerTests groovy->java
Issue: gh-4939
2019-06-11 17:31:53 -04:00
Joe Grandja
ac38232a9e ID Token validation uses JwtTimestampValidator
Fixes gh-6964
2019-06-11 16:11:48 -04:00
Eleftheria Stein
6ad46da426 Migrate ExpressionUrlAuthorizationConfigurerTests groovy->java
Issue: gh-4939
2019-06-11 15:46:37 -04:00
Eleftheria Stein
56b716d9f7 Migrate SessionManagementConfigurerTests groovy->java
Issue: gh-4939
2019-06-11 09:24:42 -04:00
Eleftheria Stein
1ec040e554 Disable bean proxying in configuration classes
Fixes gh-6967
2019-06-10 20:40:06 -05:00
Eleftheria Stein
371a3b9c7f Migrate CorsConfigurerTests groovy->java
Issue: gh-4939
2019-06-10 16:36:38 -04:00
Eleftheria Stein-Kousathana
c4dd800653
Merge pull request #6944 from eleftherias/gh-4939-channel-security-groovy-to-java
Migrate ChannelSecurityConfigurerTests groovy->java
2019-06-10 15:28:42 -04:00
Luca Graf
c43e632a6d Fix typo in OAuth2TokenValidator doc
Fixes gh-6925
2019-06-10 11:07:20 -06:00
David Lozano Jarque
8e5dd19b3b Updates modules.adoc (typo fix)
Typo fix
2019-06-10 11:06:19 -06:00
Tadaya Tsuyukubo
3cb0975860 Accept Converter in ReactiveJwtAuthenticationConverterAdapter
Currently, "ReactiveJwtAuthenticationConverterAdapter" takes
"JwtAuthenticationConverter" as its constructor argument. However,
this limits the usage of this adapter.
In this commit, widen the constructor to take "Converter<Jwt,
AbstractAuthenticationToken>" and allow this adapter to be used by
generic converters.
2019-06-10 10:47:43 -06:00
Josh Cummings
1739ef8d3c
Polish ClientRegistrations, (Reactive)JwtDecoders
Simplifed some of the branching logic in the implementations. Updated
the JavaDocs. Simplified some of the test support.

Issue: gh-6500
2019-06-10 10:31:30 -06:00
Rafiullah Hamedy
f5b7706942
Support for OAuth 2.0 Authorization Server Metadata
Added support for OAuth 2.0 Authorization Server Metadata as per the
RFC 8414 specification. Updated the existing implementation of OpenId to
comply with the Compatibility Section of RFC 8414 specification.

Fixes: gh-6500
2019-06-10 10:31:30 -06:00
Vishal Raj
b6e8997e95 Updates OAuth2ResourceServer configuration tests
Refactores collapsed imports
2019-06-07 11:56:03 -06:00