Rob Winch
38c2010d21
Remove println from springVersion
...
Issue gh-7801
6 years ago
Eleftheria Stein
fcc6457bef
Unlock dependencies for next development version
...
This reverts commit 93acf8f0f1 .
6 years ago
Eleftheria Stein
93acf8f0f1
Lock dependencies for 5.3.0.M1
6 years ago
Rob Winch
f639e17491
Resolve Current Spring Version
...
Issue gh-7788
6 years ago
Rob Winch
06d7443946
Use Gradle platform and constraints
...
This was largely generated from the following script
wget bd9f8eb541/src/main/groovy/io/spring/gradle/convention/DependencySetPlugin.groovy ./dsp.gradle
cat gradle/dependency-management.gradle | grep 'management "' | cut -d ':' -f 2 | xargs -I{} sh -c "rg {} -l -g '*.gradle' -g '\!dependency-management.gradle' > /dev/null || echo {}" | xargs -I{} sed -iE '/.*{}.*/d' gradle/dependency-management.gradle
rm ./dps.gradle
Fixes gh-7787
6 years ago
Daniel Bustamante Ospina
150b66824d
Make MethodSecurityEvaluationContext Delegate to MethodBasedEvaluationContext
...
Spring Security's MethodSecurityEvaluationContext should delegate to Spring Framework's
MethodBasedEvaluationContext
Fixes: gh-6224
6 years ago
Matthias Stock
5fde3044f7
Resolve JavaType only once for whitelisted class
6 years ago
Tao Sun
f18d0fd1a7
Test details using isEqualTo
6 years ago
Tao Sun
6b0981549b
Add test for details deserialization
6 years ago
Tao Sun
156fc294bf
Deserialize details field in UsernamePasswordAuthenticationToken
...
Before this commit, the details field was set to a JsonNode, but now it is deserialized correctly.
Fixes gh-7482
6 years ago
Rob Winch
17449cbf60
Fix next development version
6 years ago
LeeHainie
4b4c6e612b
Remove unnecessary instantiation in root
...
Fixes: gh-7635
6 years ago
Josh Cummings
5f17032ffd
Restore Removed Throws Clauses
...
In a recent clean-up, certain exceptions were removed from various
throws clauses.
This PR re-introduces throws clauses that are important for one of the
following reasons:
1. It's a method on a public interface
2. It's a method clearly designed for inheritance, for example, a
method stub, an abstract method, or indicated as such in the docs.
Fixes gh-7541
6 years ago
Isaac Cummings
1081066d60
Polish AuthorityUtils
...
Changed parameter name to authorities
Added JavaDoc
Fixes gh-4805
Co-authored-by: Everett Irwin <everettirwin77@gmail.com>
6 years ago
Rob Winch
b29106ea31
Use deamon thread for Schedulers.newParallel
...
Fixes gh-7492
6 years ago
Rob Winch
1bf0e70bd0
Revert "Dispose default Scheduler"
...
This reverts commit 39600b901f .
6 years ago
Rob Winch
fc8a0184b0
Polish Dispose default Scheduler
6 years ago
Filip Hanik
f832d08814
Upgrade Jackson JSON library to 2.10.0
6 years ago
Roman Matiushchenko
39600b901f
Dispose default Scheduler
...
AbstractUserDetailsReactiveAuthenticationManager creates parallel
Scheduler with daemon=false Threads. It is recommended to dispose such
Schedulers to be able exit the VM
Fixes gh-7492
6 years ago
Josh Cummings
1630b3b1f3
CurrentSecurityContext JavaDoc
...
Fixes gh-7489
6 years ago
Rob Winch
ff54eb878a
Use Schedulers.boundedElastic()
...
Fixes gh-7457
6 years ago
Rob Winch
cb5c58eeaa
AbstractUserDetailsReactiveAuthenticationManager uses newParallel
...
It is recommended to use newParallel to avoid impacting the timed
operations which all use parallel()
Fixes gh-7456
6 years ago
Onur Kagan Ozcan
034b5e9e93
Introduce LogoutSuccessEvent
...
LogoutSuccessEvent is a simple AbstractAuthenticationEvent implementation which indicates successful logout.
By default, LogoutConfigurer will add a new LogoutHandler called LogoutSuccessEventPublishingLogoutHandler to publish this event.
This PR will also fix ConcurrentSessionFilter's composite logoutHandler, now will get LogoutHandler instances from LogoutConfigurer for consistency.
Fixes gh-2900
6 years ago
kostya05983
f6c650db47
Replace Streams with Loops
...
First version of replacing streams
fix wwwAuthenticate and codestyle
fix errors in implementation to pass tests
Fix review notes
Remove uneccessary final to align with cb
Short circuit way to authorize
Simplify error message, make code readably
Return error while duplicate key found
Delete check for duplicate, checkstyle issues
Return duplicate error
Fixes gh-7154
7 years ago
Lars Grefer
95511331fa
fix checkstyle
7 years ago
Lars Grefer
34dd5fea30
Remove redundant throws clauses
...
Removes exceptions that are declared in a method's signature but never thrown by the method itself or its implementations/derivatives.
7 years ago
Angel Aguilera
11f423511d
Add Catalan localization messages
7 years ago
Rob Winch
4166c6e493
Fix UserDetailsPasswordService Checkstyle
...
Issue gh-7266
7 years ago
Michael J. Simons
5903f2dd9b
Fix UserDetailsPasswordService JavaDoc
...
* Fix typo
* Clarify that `newPassword` is already an encoded password
7 years ago
Lars Grefer
cb4f3d2f44
Use UTF-8 for Java sources and XML
7 years ago
Lars Grefer
ec6ca97226
Fix tests
7 years ago
Lars Grefer
ff1070df36
remove redundant modifiers found by checkstyle
7 years ago
Lars Grefer
bbefc491b2
unused imports
7 years ago
Lars Grefer
25c06be1eb
Java 7: Identical 'catch' branches in 'try' statement
7 years ago
Lars Grefer
5e44a249f8
Java 5: while-loop replaceable with foreach
7 years ago
Lars Grefer
d9c1f03b84
Unnecessary interface modifier
7 years ago
Lars Grefer
8d0ca14e55
Unnecessary conversion to String
7 years ago
Lars Grefer
eddcd1622f
Type parameter extends Object
...
Reports any type parameters and wildcard type arguments explicitly declared to extend java.lang.Object.
7 years ago
Lars Grefer
fb39d9c255
Anonymous type can be replaced with lambda
7 years ago
Lars Grefer
f5cd0ec302
Use try-with-resources instead of try-finally
7 years ago
Jeffrey Morlan
a17d66463d
Fix race condition in SessionRegistryImpl
...
Adding/removing sessions from principals wasn't atomic. If one thread
removed the last session from a principal while another thread added a
new one, the addition could be lost.
Fixes gh-3189
7 years ago
Lars Grefer
2056834432
Cleanup unnecessary unboxing
...
Unboxing is unnecessary under Java 5 and newer, and can be safely removed.
7 years ago
Lars Grefer
2306d987e9
Cleanup unnecessary boxing
7 years ago
Lars Grefer
776a4c3760
Use org.mockito.ArgumentMatchers in favor of org.mockito.Matchers
7 years ago
Lars Grefer
09a119978c
Migrate VersionsResourceTasks groovy->java
...
Issue: gh-4939
7 years ago
Eddú Meléndez Gonzales
8e6e975e86
Prevent authentication when user is inactive for reactive apps
...
Currently, reactive applications doesn't perform validation when user
is locked, disabled or expired. This commit introduces these validations.
Fixes gh-7113
7 years ago
Pavel Horal
be0ad673c2
Make RoleHierarchyImpl internals a bit simpler.
...
Issue: gh-7035
7 years ago
Karel Maxa
d3eaef66fc
Fix infinite loop in role hierarchy resolving
...
Issue: gh-7035
7 years ago
Karel Maxa
2d36062846
Remove unnecessary authority comparison.
...
Issue: gh-7035
7 years ago
Pei-Tang Huang
0fea2fb256
Add Chinese Traditional localized messages.
7 years ago