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
7 years ago
Rob Winch
8716a3e644
Update to nohttp 0.0.2.RELEASE
...
Closes gh-6955
7 years ago
Joe Grandja
132a78ddde
Fix test
...
Issue gh-6245
7 years ago
Joe Grandja
aa767ec8bf
Externalize coercion in ClaimAccessor
...
Fixes gh-6245
7 years ago
Rob Winch
3c7aa4243f
DefaultServerOAuth2AuthorizationRequestResolver uses fromUri
...
Fixes gh-6952
7 years ago
Eleftheria Stein
abe7da6b85
Migrate RememberMeConfigurerTests groovy->java
...
Issue: gh-4939
7 years ago
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
7 years ago
Josh Cummings
97a01260f1
Reinstate docs and schema deployments
...
Fixes: gh-6929
7 years ago
Josh Cummings
47d13ac4d0
Temporarily remove docs and schema deployments
...
Issue: gh-6929
7 years ago
Josh Cummings
700ad020ee
Adding JAVA_HOME for JDK 8
...
Fixes: gh-6928
7 years ago
Eleftheria Stein
be651d9d16
Migrate CsrfConfigurerTests groovy->java
...
Issue: gh-4939
7 years ago
Joe Grandja
38ba70bbdd
client_credentials client should not set Authorization header when ClientAuthenticationMethod.POST
...
Fixes gh-6911
7 years ago
Eleftheria Stein
6148eef689
Migrate SecurityContextConfigurerTests groovy->java
...
Issue: gh-4939
7 years ago
Eleftheria Stein
16b0d782f4
Migrate HeadersConfigurerTests groovy->java
...
Issue: gh-4939
7 years ago
Eleftheria Stein
7806ac21aa
Migrate RequestMatcherConfigurerTests groovy->java
...
Issue: gh-4939
7 years ago
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
7 years ago
Clement Ng
e66369f6c6
Added null checks and tests to constructors
...
RequestKey, JaasGrantedAuthority, and SwitchUserGrantedAuthority
assume certain final members are non-null.
Issue: gh-6892
7 years ago
Florian Aumeier
9fe8949883
Add @transient to OAuth2IntrospectionAuthenticationToken
...
fixes gh-6829
7 years ago
Eleftheria Stein
e15922322e
Migrate LogoutConfigurerTests groovy->java
...
Issue: gh-4939
7 years ago
Josh Cummings
af3c6d4972
JwtAuthenticationTokenTests Polish
...
Using Jwt.Builder to clean up some of this test's config.
Issue: gh-6893
7 years ago
Josh Cummings
936d28d328
JwtAuthenticationToken Polish
...
Aligned JavaDoc and added tests to better assess getName's
functionality.
Issue: gh-6893
7 years ago
HaydenMeloche
f84ab3a255
Added constructors to support custom principal name
...
closes #6893
7 years ago
Eleftheria Stein
d660084538
Migrate HttpBasicConfigurerTests groovy->java
...
Issue: gh-4939
7 years ago
Josh Cummings
d0f5b42884
Mock Jwt Test Support and Jwt.Builder Polish
...
Simplified the initial support to introduce fewer classes and only the
features described in the ticket.
Changed tests to align with existing patterns in the repository.
Added JavaDoc to remaining public methods introduced for this feature.
Issue: gh-6634
Issue: gh-6851
7 years ago
Jérôme Wacongne
e59d8a529b
Mock Jwt Test Support and Jwt.Builder
...
Fixes: gh-6634
Fixes: gh-6851
7 years ago
Kirill Gavrilov
f6998547b8
Remove '.html' from interface name
7 years ago
Kirill Gavrilov
9078885a1a
Remove redundant for
7 years ago
Eleftheria Stein
f5f965b6aa
Fix JavaDoc for defaultSuccessUrl
...
Fixes gh-3337
7 years ago
Eleftheria Stein
e7f93f221d
Update to Spring 5.2.0.M2
...
Fixes gh-6864
7 years ago
Josh Cummings
5840e25732
Polish OAuth2TokenIntrospectionClient
...
Placed URI.create in constructor so that the code doesn't do that
processing on each request. Also moved the construction helper methods
up by the constructor for added readability.
Issue: gh-6798
7 years ago
MD Sayem Ahmed
0bc60dca69
Add custom parameters to token introspection requests
...
Added support for providing custom parameters to an OAuth 2.0 token
introspection request. This is done by explicitly instantiating a
NimbusOAuth2TokenIntrospectionClient instance and then setting a custom
Converter implementation.
Fixes gh-6798
7 years ago
Eleftheria Stein
69e4e3ed88
Update to Reactor Dysprosium-M1
...
Fixes gh-6867
7 years ago
Jérôme Wacongne
b04f55830f
Git ignore .attach_pid* files
7 years ago
Akane Shimamuko
59a9feda7d
Add messages_ja.properties
7 years ago
Josh Cummings
047bd16b51
Propagate Exception in NimbusReactiveJwtDecoder
...
Fixes: gh-6823
7 years ago
Josh Cummings
1ed9e3a1c6
Resource Server AuthenticationManager
...
Making the authentication manager for jwt() and opaqueToken()
configurable.
Fixes: gh-6832
Fixes: gh-6849
7 years ago
Josh Cummings
7200fa2dce
Copy Token Introspection Attributes Map
...
Dereference Map passed into constructor for
OAuth2IntrospectionAuthenticationToken.
Fixes: gh-6843
7 years ago
Rob Winch
ead28a3cee
Add create issue for features
7 years ago
Eleftheria Stein
c4b6cdea3f
Fix OAuth2 multitenancy sample
...
Allowing requests with valid tokens, and fixed documentation.
Fixes: gh-6834
7 years ago
Joe Grandja
5aa50500cf
oauth2Login does not auto-redirect for XHR request
...
Fixes gh-6812
7 years ago
Tadaya Tsuyukubo
aef3f514fe
Set "rolePrefix" in ReactiveMethodSecurityConfiguration
...
Currently, `GrantedAuthorityDefaults` is not considered in
`ReactiveMethodSecurityConfiguration`.
This commit updates the configuration to be aware of
`GrantedAuthorityDefaults` and update `rolePrefix` when the bean is
available.
Also, use the same instance of `DefaultMethodSecurityExpressionHandler`
when constructing `ExpressionBasedAnnotationAttributeFactory`.
7 years ago
Rob Winch
342ef6c287
Update to nohttp 0.0.1.RELEASE
...
Issue gh-6819
7 years ago
Sharad Alury
2850b273ea
Reactive JwkSource Builder Parameter Type
...
Changed the parameter type from JWT to SignedJWT
Fixes: gh-6771
7 years ago
Wessel Nieboer
6f5fa1b610
Make AccountStatusUserDetailsChecker implement MessageSourceAware
...
Fixes: gh-3980
7 years ago
httpain
98a8467e4c
Fix javadoc typo
7 years ago
Elena Felder
e6ac9759e2
Extract bearer token from arbitrary header.
7 years ago
Josh Cummings
cf0c5f9026
Various NamespaceHttp*Tests groovy->java
...
Issue: gh-4939
7 years ago
Josh Cummings
b1195e7789
Opaque Token Intermediate Type
...
Introducing OAuth2TokenIntrospectionClient and also
ReactiveOAuth2TokenIntrospectionClient as configuration points.
The DSL looks in the application context for these types in the same
way it looks for JwtDecoder and ReactiveJwtDecoder, and exposes
similar configuration methods.
Fixes: gh-6632
7 years ago
Maksim Vinogradov
59acda04cf
Fix NPE ExpressionBasedPreInvocationAdviceTests
...
Getting NPE if @PreFilter argument filterType is not provided
and method accept more then one argument.
Add related exception message.
fixes gh-6803
7 years ago
Rob Winch
82ce9aa6f8
Add nohttp
...
Closes gh-6819
7 years ago