Marcus Da Coregio
d884d9a461
Configure WebInvocationPrivilegeEvaluator bean for multiple filter chains
...
Closes gh-10554
4 years ago
Marcus Da Coregio
51b4bd67c9
Add RequestMatcherEntry
4 years ago
Marcus Da Coregio
eda346863d
Introduce AuthorizationManagerWebInvocationPrivilegeEvaluator
...
Closes gh-10590
4 years ago
Eleftheria Stein
c68a75bcde
Correct imports to jakarta
...
Issue gh-9385, gh-10118
4 years ago
Marcus Da Coregio
0beb725259
Add Cross Origin Policies headers
...
Add DSL support for Cross-Origin-Opener-Policy, Cross-Origin-Embedder-Policy and Cross-Origin-Resource-Policy headers
Closes gh-9385, gh-10118
4 years ago
Steve Riesenberg
aa3c883f87
Use BDD in tests
4 years ago
Steve Riesenberg
d37ff18b69
Polish gh-9597
4 years ago
Karl Tinawi
c57fc309c2
Set details on authentication token created by HttpServlet3RequestFactory
...
Currently the login mechanism when triggered by executing HttpServlet3RequestFactory#login does not set any details on the underlying authentication token that is authenticated.
This change adds an AuthenticationDetailsSource on the HttpServlet3RequestFactory, which defaults to a WebAuthenticationDetailsSource.
Closes gh-9579
4 years ago
Steve Riesenberg
5dd2565348
Update copyright year
...
Issue gh-10557
4 years ago
Steve Riesenberg
41c6776455
Fix case sensitive headers comparison
...
Closes gh-10557
4 years ago
Josh Cummings
7e55c84cfc
Add Missing Since
...
Issue gh-10482
4 years ago
Igor Pelesic
72109e2921
PermitAllSupport supports AuthorizeHttpRequestsConfigurer
...
PermitAllSupport supports either an ExpressionUrlAuthorizationConfigurer or an AuthorizeHttpRequestsConfigurer. If none or both are configured an error message is thrown.
Closes gh-10482
4 years ago
Steve Riesenberg
898ba67098
Polish gh-10007
4 years ago
Guirong Hu
9f51240bf1
Support IP whitelist for Spring Security Webflux
...
Closes gh-7765
4 years ago
Steve Riesenberg
9a9136d96d
Fix import spacing
4 years ago
Steve Riesenberg
c6a27d44e5
Remove failing test due to HttpMethod changes
...
Closes gh-10569
4 years ago
Marcus Da Coregio
25feedb870
Fix removal of framework deprecated code
...
Issue https://github.com/spring-projects/spring-framework/issues/27686
4 years ago
Rob Winch
bd34d70f97
Prevent Save @Transient Authentication with existing HttpSession
...
Previously, @Transient Authentication would get saved if an existing
HttpSession existed but it shouldn't.
This commit always prevents @Transient Authentication from being saved.
Closes gh-9992
4 years ago
Marcus Da Coregio
db60df2f9c
Update to Spring Framework 6.0
...
Issue gh-10360
4 years ago
Marcus Da Coregio
caad3d57e2
Improve log message when no CSRF token found
...
Closes gh-10436
4 years ago
Emil Sierżęga
04b47c5928
Fixed various broken links in Javadocs
4 years ago
Emil Sierżęga
a188138715
Javadocs author tag doesn't work in methods
4 years ago
Rob Winch
f836897190
Checkstyle Fixes
...
- Javadoc tag ordering
- Private constructors before inner classes
Issue gh-10394
4 years ago
Rob Winch
e1f4ec1137
Fix Jackson
4 years ago
Marcus Da Coregio
faec20bc69
Update DefaultWebInvocationPrivilegeEvaluator to use current ServletContext
...
Closes gh-10208
4 years ago
Josh Cummings
7b98c2ea95
Restructure SwitchUserFilter Logs
...
Issue gh-6311
4 years ago
Eleftheria Stein
7d81a52780
Allow AuthenticationPrincipal argument type to be primitive
...
Closes gh-10172
4 years ago
heowc
84d173c310
Fix typo
4 years ago
Bogdan Ilchyshyn
a4c088a3b3
Introducing WebSessionServerLogoutHandler
...
Closes gh-4838
5 years ago
Hiroshi Shirosaki
6f3e346b76
Add SecurityContextHolder#addListener
...
Closes gh-10032
5 years ago
Josh Cummings
b8d51725c7
Immutable SecurityContext
...
Issue gh-10032
5 years ago
Rob Winch
b6ff4d3674
Fix mockito UnnecessaryStubbingException
5 years ago
Rob Winch
3e93b024d6
openrewrite Junit Migration
5 years ago
Rob Winch
14240b2559
Remove Powermock
...
Powermock does not support JUnit5 yet, so we need to remove it
to support JUnit 5. Additionally, maintaining additional libraries
adds extra work for the team.
Mockito now supports final classes and static method mocking. This
commit replaces Powermock with mockito-inline.
Closes gh-6025
5 years ago
Evgeniy Cheban
d121ab9565
Support A Well-Known URL for Changing Passwords
...
Closes gh-8657
5 years ago
Alexey Markevich
3219fd554d
DigestAuthenticationFilter decodes nonce only once
...
Closes gh-8455
5 years ago
Steve Riesenberg
3bb8e1d200
Remove redundant translations in spring-security-web
5 years ago
Ruben Suarez Alvarez
7cd344acab
Add spanish translation of insufficient authentication and cookie stolen
5 years ago
Josh Cummings
ca76c54471
Polish CsrfWebFilterTests
...
Issue gh-9113
5 years ago
Tomoki Tsubaki
0c8b6df82a
Cache Mono that generate the CSRF token
...
Closes gh-9113
5 years ago
AlexeyAnufriev
baac9e0cf2
Properly clean cookies with context path after logout
...
Closes gh-8846
5 years ago
Marcus Hert da Coregio
2a7998d0fc
Adjust createNewSessionIfAllowed to prevent NPE
...
Ensure that isTransientAuthentication reuses the same authentication object from saveContext
Closes gh-8947
5 years ago
César Revert
cf74ad3a52
Anonymous in ExceptionTranslationWebFilter
...
The ExceptionTranslationWebFilter does not support correctly when
anonymous authentication is enabled. With this enabled provoked always
the execution of the access denied handler, and with this fix it
behaves like the ExceptionTranslationFilter (servlet), executing the
access denied handler only if the principal is not empty and neither
anonymous.
Closes gh-9130
5 years ago
Craig Andrews
a7fbae8355
Add test for RequestedUrlRedirectInvalidSessionStrategy
5 years ago
Craig Andrews
0e6d47b082
Add guard around debug logging involving string concatenation
5 years ago
Craig Andrews
0af74ce134
Use ServletUriComponentsBuilder instead of UrlPathHelper
5 years ago
Craig Andrews
2bcd4627fa
Eliminate use of Optional
5 years ago
Craig Andrews
10a264c144
Add RequestedUrlRedirectInvalidSessionStrategy implemention of InvalidSessionStrategy
...
Performs a redirect to the original request URL when an invalid requested session is detected.
In effect, when a user's session times out, the user is redirected to URL they originally requested instead of some fixed URL.
5 years ago
Josh Cummings
df6ebc7051
Rename DelegatingAuthorizationManager
...
Closes gh-9692
5 years ago
Thomas Vitale
e2993d93e1
Make Csrf cookie secure flag configurable (WebFlux)
...
Make the XSRF-TOKEN cookie secure flag configurable in CookieServerCsrfTokenRepository.
Closes gh-9678
5 years ago