7732 Commits

Author SHA1 Message Date
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
Marek Sabo
7cfb17a8a3 Finer variables for OAuth2 redirectUriTemplate expansion
Fixes #6239
2019-06-07 12:08:21 -05:00
Eleftheria Stein
d285c6ab4c Migrate JeeConfigurerTests groovy->java
Issue: gh-4939
2019-06-07 12:05:25 -05:00
Eleftheria Stein
8e6db95048 Fix HttpSecurity Javadoc for jee() method
Fixes: gh-6958
2019-06-07 11:21:05 -05:00
Rob Winch
855d000408 Polish Path Variables in Message Expressions
Issue gh-4469
2019-06-07 11:10:30 -05:00
Rob Winch
1f7ba47ce9 Test Javadoc for RoleHiearchy
Issue gh-6954
2019-06-07 10:59:42 -05:00
Rob Winch
fcb4def4ac Polish Path Variables in Message Expressions
Issue gh-4469
2019-06-07 10:27:23 -05:00
Daniel Bustamante Ospina
f97ac4daa6 Support Path Variables in Message Expressions
Extract path variables expressed in SimpDestinationMessageMatcher's pattern.

Issue: gh-4469
2019-06-07 10:27:23 -05:00
Daniel Meier
fcd8a38f0b Add success handler modification of OAuth2LoginSpec
Add the ability to modify the success handler used in OAuth2LoginSpec. The
default success handler remains unchanged.

Closes #6863
2019-06-05 13:25:34 -04:00
Rob Winch
8716a3e644 Update to nohttp 0.0.2.RELEASE
Closes gh-6955
2019-06-05 09:52:24 -05:00
Joe Grandja
132a78ddde Fix test
Issue gh-6245
2019-06-04 20:34:08 -04:00
Joe Grandja
aa767ec8bf Externalize coercion in ClaimAccessor
Fixes gh-6245
2019-06-04 17:16:39 -04:00
Rob Winch
3c7aa4243f DefaultServerOAuth2AuthorizationRequestResolver uses fromUri
Fixes gh-6952
2019-06-04 15:28:29 -05:00
Eleftheria Stein
abe7da6b85 Migrate RememberMeConfigurerTests groovy->java
Issue: gh-4939
2019-06-04 15:12:11 -05:00
Eleftheria Stein
06d3b60947 Replace bean method calls with injection
This is so that our configuration classes do not rely on CGLIB to proxy bean methods.

Fixes gh-6818
2019-06-03 15:45:28 -05:00
Eleftheria Stein
4f042a4ff1 Migrate ChannelSecurityConfigurerTests groovy->java
Issue: gh-4939
2019-06-03 11:09:49 -04:00
Josh Cummings
97a01260f1 Reinstate docs and schema deployments
Fixes: gh-6929
2019-05-31 22:05:40 -06:00
Josh Cummings
47d13ac4d0
Temporarily remove docs and schema deployments
Issue: gh-6929
2019-05-31 13:39:30 -06:00
Josh Cummings
700ad020ee
Adding JAVA_HOME for JDK 8
Fixes: gh-6928
2019-05-31 13:39:30 -06:00
Eleftheria Stein
be651d9d16 Migrate CsrfConfigurerTests groovy->java
Issue: gh-4939
2019-05-31 13:18:55 -06:00
Joe Grandja
38ba70bbdd client_credentials client should not set Authorization header when ClientAuthenticationMethod.POST
Fixes gh-6911
2019-05-31 14:54:17 -04:00
Eleftheria Stein
6148eef689 Migrate SecurityContextConfigurerTests groovy->java
Issue: gh-4939
2019-05-31 12:07:28 -06:00
Eleftheria Stein
16b0d782f4 Migrate HeadersConfigurerTests groovy->java
Issue: gh-4939
2019-05-31 11:57:01 -06:00
Eleftheria Stein
7806ac21aa Migrate RequestMatcherConfigurerTests groovy->java
Issue: gh-4939
2019-05-31 11:48:34 -06:00
Daniel Meier
56f1991240 Update AssertJ to version 3.12.2
Update the AssertJ dependency to version 3.12.2. Additionally fix
some tests not compiling due to API changes of AssertJ.

Fixes gh-6786
2019-05-31 11:45:20 -06:00