Phillip Webb
71bc145ae4
Remove superfluous comments
...
Use '^\s+//\ \~\ .*$' and '^\s+//\ ============+$' regular expression
searches to remove superfluous comments.
Prior to this commit, many classes would have comments to indicate
blocks of code (such as constructors/methods/instance fields). These
added a lot of noise and weren't all that helpful, especially given
the outline views available in most modern IDEs.
Issue gh-8945
6 years ago
Phillip Webb
b7fc18262d
Reformat code using spring-javaformat
...
Run `./gradlew format` to reformat all java files.
Issue gh-8945
6 years ago
Phillip Webb
81d9c6cac5
Add spring-javaformat plugin
...
Add spring-javaformat plugin but disable it for all sample projects.
Issue gh-8945
6 years ago
Phillip Webb
9caa39e370
Fix malformed formatter-on/off javadoc
...
Remove the formatter-on/formatter-off comments from Javadoc examples
so that they don't confuse checkstyle. The comments are not necessary
in the Javadoc since `pre` blocks are not formatted in the same
way as code.
Issue gh-8945
6 years ago
Phillip Webb
8e092f8d2c
Add noformat blocks around withDefaultPasswordEncoder
...
Find `withDefaultPasswordEncoder` calls and protect them against
formatting.
Issue gh-8945
6 years ago
Phillip Webb
6979125ccf
Add noformat blocks around User.withUsername
...
Find `User.withUsername` calls and protect them against formatting.
Issue gh-8945
6 years ago
Phillip Webb
63b5998fad
Add noformat blocks around auth config
...
Find `auth` config using a regex search of `^\s*auths*$` and protect
them against formatting.
Issue gh-8945
6 years ago
Phillip Webb
103d822e46
Add noformat blocks around http config
...
Find `http` config using a regex search of `^\s*https*$` and protect
them against formatting.
Issue gh-8945
6 years ago
Phillip Webb
27ac046d8a
Rename *Test.java -> *Tests.java
...
Rename a few test classes that accidentally ended in `Test` instead of
`Tests`.
Issue gh-8945
6 years ago
Rob Winch
94cf4d1de7
Fix SNAPSHOT builds
...
- Stop using deprecated RSocket APIs
- Update SNAPSHOT build to use Boot SNAPSHOT
6 years ago
Eleftheria Stein
12a8795c3d
Fix typo in resource server docs
6 years ago
Rob Winch
7cc10ed277
Fix Email notifications
6 years ago
Joe Grandja
a30541fcd9
Next Development Version
...
NOTE:
The 5.4.0-RC1 release has been tagged at 74b42ba956
as it includes a fix related to RSocket integration tests.
6 years ago
Joe Grandja
1d74d556c2
Revert "Lock Dependency Versions for 5.4.0-RC1"
...
This reverts commit f3a1e5d40c .
6 years ago
Rob Winch
74b42ba956
Move RSocket integration tests to integration tests
...
Closes gh-8944
6 years ago
Joe Grandja
10dbe140c9
Release 5.4.0-RC1
6 years ago
Joe Grandja
f3a1e5d40c
Lock Dependency Versions for 5.4.0-RC1
6 years ago
Josh Cummings
a701555318
Polish Saml2AuthenticationTokenConverter
...
Issue gh-8768
6 years ago
Josh Cummings
f82190b414
Add RelyingPartyRegistrations
...
Closes gh-8484
6 years ago
Josh Cummings
506786f46e
Replaced Spaces with Tabs
...
Updated the .gradle file for SAML 2.0 Service Provider to use tabs
6 years ago
Josh Cummings
b999faa5a0
Complete SAML 2.0 SP Metadata Endpoint
...
Closes gh-8693
6 years ago
Jakub Kubrynski
8a355240bc
SAML 2.0 SP Metadata Endpoint Support
...
Issue gh-8693
6 years ago
Josh Cummings
31bae546e2
Removed Unused Files
...
Saml2Utils and Saml2ServletUtils are no longer used
Issue gh-8768
6 years ago
Joe Grandja
1361cb8790
Use reactor-netty-http for snapshot build
...
Closes gh-8909
6 years ago
Eleftheria Stein
aeafe04260
Remove need for WebSecurityConfigurerAdapter
...
Closes gh-8804
6 years ago
Josh Cummings
5061ae9e79
Add Saml2AuthenticationTokenConverter
...
Closes gh-8768
6 years ago
Josh Cummings
a10c2c6cf8
Polish DefaultSaml2AuthenticationRequestContextResolver
...
Issue gh-8360
Issue gh-8887
6 years ago
Josh Cummings
015281ff53
Add DefaultRelyingPartyRegistrationResolver
...
Closes gh-8887
6 years ago
Josh Cummings
a402c3884a
Add ConditionValidator Support
...
Closes gh-8769
6 years ago
Josh Cummings
d9d8253603
Polish OpenSamlAuthenticationProvider
...
Issue gh-8769
6 years ago
Joe Grandja
3bc0b8c144
Revert "Fix snapshot build failure related to reactor-netty"
...
This reverts commit f37714a26f .
6 years ago
Joe Grandja
f37714a26f
Fix snapshot build failure related to reactor-netty
...
Closes gh-8909
6 years ago
Joe Grandja
8146b1fdda
Deprecate CustomUserTypesOAuth2UserService
...
Closes gh-8908
6 years ago
Joe Grandja
73e550a867
Polish gh-8906
6 years ago
Joe Grandja
0ed919f072
Deprecate ClientRegistration.redirectUriTemplate
...
Closes gh-8906
6 years ago
Joe Grandja
a0c10f2df6
Allow for custom ClientRegistration.clientAuthenticationMethod
...
Closes gh-8903
6 years ago
Joe Grandja
11cc94afd8
Deprecate ImplicitGrantConfigurer
...
Closes gh-8902
6 years ago
Joe Grandja
4e5a304a8a
Remove use of Mono.deferWithContext()
...
Closes gh-8901
6 years ago
Dávid Kováč
dfaf251970
Resolve Bearer token after subscribing to publisher
...
Bearer token was resolved immediately after calling method convert. In situations when malformed token was provided or authorization header and access token query param were present in request exception was thrown instead of signalling error.
After this change Bearer token is resolved on subscription and invalid states are handled by signaling error to subscriber.
Closes gh-8865
6 years ago
Rob Winch
e770a21589
Revert "Fix build error related to Mono.deferWithContext()"
...
This reverts commit 104d785210 .
6 years ago
Josh Cummings
f6e47830fe
Remove unused import
...
Issue gh-8589
6 years ago
Josh Cummings
90e5f45e1f
Polish to Avoid NPE
...
Issue gh-5648
Co-authored-by: MattyA <mat.auburn@gmail.com>
6 years ago
Josh Cummings
b2728059ae
Additional Jwt Validation Debug Messages
...
Closes gh-8589
Co-authored-by: MattyA <mat.auburn@gmail.com>
6 years ago
Josh Cummings
a32de931d3
Polish Javadoc
...
Issue gh-6019
6 years ago
Joe Grandja
104d785210
Fix build error related to Mono.deferWithContext()
...
Issue gh-8881
6 years ago
Eleftheria Stein-Kousathana
31d5b5068c
Kotlin OAuth2 client WebFlux samples
...
Issue gh-8172
6 years ago
Josh Cummings
79dca94ce1
Simplify Tests
...
Issue gh-8772
6 years ago
Joakim Löfgren
eccd929819
Update SimpleSaml2AuthenticatedPrincipal class name
...
Rename it to DefaultSaml2AuthenticatedPrincipal to be more in line with
the respective class in the OAuth2 module.
Also make the class public to be able to whitelist the SAML2 auth classes
in Jackson object mappers for deserialization in e.g. Spring Session MongoDB.
Closes gh-8852
6 years ago
Josh Cummings
08849e2652
Remove OpenSamlImplementation
...
Closes gh-8775
6 years ago
Josh Cummings
5779121da6
OpenSamlAuthenticationRequestFactory Uses OpenSAML Directly
...
Closes gh-8774
6 years ago