Ankur Pathak
4ff51491d7
fixes setting paramName only when it is not null
...
Fixes: gh-6223
7 years ago
Onur Kagan Ozcan
fe40e6d65a
Fix UsernamePasswordAuthenticationTokenDeserializer to handle customized object mapper inclusion settings
...
Resolves #4698
7 years ago
Panayiotis Vlissidis
4123d96cd5
JdbcUserDetailsManager handles extra UserDetails attributes
...
Check ResutSetMetaData to see if extra columns are present in order to
also handle the UserDetails attributes: accountNonExpired,
accountNonLocked and credentialsNonExpired.
Fixes gh-4399
7 years ago
Joe Grandja
be23ab8114
AuthenticationFailureEvent should publish once
...
Fixes gh-6281
7 years ago
finke-ba
b838f7c7b7
Add WebFlux support for spring security web jackson module.
...
Fixes: gh-6303
7 years ago
Robbie Martinus
e60ae4984a
Add hasAnyAuthority() and hasAnyRole() in AuthorizeExchangeSpec
...
Fixes gh-6306
7 years ago
finke-ba
9c7cab835f
Add conditionally servlet based support for spring security web jackson module.
7 years ago
Richard Valdivieso
cb0ea0241b
Spring Security provides a DelegatingSecurityContextRunnable
...
abstraction for Runnable that can be used for async and
scheduled tasks. The primary contract for task scheduling is
TaskScheduler and there's no such wrapper available at the moment.
The new DelegatingSecurityContextTaskScheduler class implements
TaskScheduler interface.
Fixes gh-6043
7 years ago
mibo
60e3bf4093
Add Anonymous Support to AuthenticatedReactiveAuthorizationManager
...
Fixes: gh-6235
7 years ago
ir73
9a357f8cb6
Moved CachingUserDetailsService to spring-core
...
Made CachingUserDetailsService constructor public and moved to spring-core to make it easier to configure caching in UserDetailsService
Fixes gh-4139
7 years ago
Eric Deandrea
4178c92741
Add Reactive Support for UserDetailsChecker
...
Integrate UserDetailsChecker into ReactiveAuthenticationManager and
OAuth2 resource server authentication converters.
Fixes gh-6219
7 years ago
Zhanwei Wang
12ab2cca31
Improve error message for Chinese.
7 years ago
Robbie Martinus
090000c3d2
SessionRegistryImpl uses computeIfAbsent
...
Fixes: gh-5834
7 years ago
dperezcabrera
898d005a53
InMemoryUserDetailsManager.updatePassword case-insenstive
...
Previously updatePassword was case sensitive which was
inconsistent with the rest of the class.
This commit updates updatePassword to be case insensitive.
Fixes: gh-6039
7 years ago
Josh Cummings
7d3302f52b
Polish Test Name
...
So that it adheres to methodNameWhenConditionThenVerification naming
convention.
Issue: gh-3743
7 years ago
Karl Goffin
50d26c9d28
Polish Logging and Tests
...
Removing debug statements which would have prematurely terminated the
stream, changing to AssertJ, and adding another test.
Issue: gh-3743
7 years ago
Karl Goffin
92e68a589a
PostFilter Support for Streams
...
Users can return a Stream from a @PostFilter-annotated method.
Fixes: gh-3743
7 years ago
Joe Grandja
8ef65ce5c5
Set AuthenticationEventPublisher on each AuthenticationManagerBuilder
...
Fixes gh-6009
7 years ago
Joe Grandja
7a94931514
Polish javadoc
7 years ago
Drummond Dawson
818a3506fe
Remove unnecessary concatenation of sql in JdbcUserDetailsManager
7 years ago
Joe Grandja
0b3aa2ce24
Update Security version to 5.2
7 years ago
Johnny Lim
68ffa0fece
Add a missing space in Secured.value() signature
7 years ago
John Lin
69b71ee0ed
Remove unused variables in ConsensusBased and UnanimousBased
7 years ago
John Lin
f5e2ca1b6e
Fix truncated javadoc for Secured
...
Fixes: gh-5861
7 years ago
Vedran Pavic
cb0ba58b58
Fix WhitespaceAfterCheck Checkstyle check
8 years ago
Johnny Lim
68878a1675
Replace isEqualTo(null) with isNull()
8 years ago
Rob Winch
d595098823
Rename @TransientAuthentication to @Transient
...
It is quite likely we will need to prevent certain Exceptions from being
saved or from triggering a saved request. When we add support for this,
we can now leverage @Transient vs creating a new annotation.
Issue: gh-5481
8 years ago
Rob Winch
ed3ed5e64c
Rename @TransientAuthentication to @Transient
...
It is quite likely we will need to prevent certain Exceptions from being
saved or from triggering a saved request. When we add support for this,
we can now leverage @Transient vs creating a new annotation.
Issue: gh-5481
8 years ago
Josh Cummings
3c46727be1
Transient Authentication Tokens
...
This commit introduces support for transient authentication tokens
which indicate to the filter chain, specifically the
HttpSessionSecurityContextRepository, whether or not the token ought
to be persisted across requests.
To leverage this, simply annotate any Authentication implementation
with @TransientAuthentication , extend from an Authentication that uses
this annotation, or annotate a custom annotation.
Implementations of SecurityContextRepository may choose to not persist
tokens that are marked with @TransientAuthentication in the same way
that HttpSessionSecurityContextRepository does.
Fixes: gh-5481
8 years ago
Rob Winch
a66b945ab7
Configuration for ReactiveUserDetailsPasswordService
...
Issue: gh-2778
8 years ago
Rob Winch
72a267a311
UserDetailsRepositoryReactiveAuthenticationManager uses ReactiveUserDetailsPasswordService
...
Issue: gh-2778
8 years ago
Rob Winch
ed8218a2b0
ReactiveUserDetailsPasswordService
...
Issue: gh-2778
8 years ago
Rob Winch
7aaf70d582
DaoAuthenticationProvider supports password upgrades
...
Issue: gh-2778
8 years ago
Rob Winch
cabd0a5579
UserDetailsPasswordService
...
Issue: gh-2778
8 years ago
Rob Winch
86b5150d88
Spring Version null for NullPointerException
8 years ago
Rob Winch
d9d9879909
Add JdbcUserDetailsManager(DataSource) constructor
...
Fixes: gh-5512
8 years ago
Rob Winch
4d1c8f26c5
Add DelegatingReactiveAuthenticationManager
...
Fixes: gh-5448
8 years ago
Rob Winch
bb11a81857
Add UserDetailsRepositoryReactiveAuthenticationManager.setScheduler
...
Fixes: gh-5417
8 years ago
Rob Winch
8fa6dd0f5b
Revert "Fix SecuredAnnotationSecurityMetadataSourceTests -> Related SPR-16677"
...
This reverts commit d4e459874a .
8 years ago
이경욱
26bc6be850
Support whitespace characters using RoleHierarchyImpl
8 years ago
이경욱
6adbe8dae0
Support whitespace characters using RoleHierarchyImpl
8 years ago
Kazuki Shimizu
8d716f75a4
Fix incorrect explanation for customizing query on JdbcDaoImpl
8 years ago
Rob Winch
0a5da93640
Improve PasswordEncoder deprecated notices
...
Fixes: gh-5296
8 years ago
Joe Grandja
d4e459874a
Fix SecuredAnnotationSecurityMetadataSourceTests -> Related SPR-16677
8 years ago
Rob Winch
fb7394c1de
Polish Javadoc
...
Fixes: gh-5186
8 years ago
Christoph Dreis
d07cfe655d
Use Supplier variants of Assert methods
8 years ago
Rob Winch
b1d013e8f0
Fix JDK 9
...
Issue: gh-5160
8 years ago
Alter Ego
0e37c0912e
Update User.java
...
fixed a typo; replaced "User.witUsername("user")" with "User.withUsername("user")"
8 years ago
Rob Winch
67d793ae5f
Delay lookup of managedVersions
...
Fixes: gh-5127
8 years ago
Rob Winch
efaf2b080f
Make MIN_SPRING_VERSION Dynamic
...
Fixes: gh-5065
8 years ago