Rob Winch
1c22ec19e6
SEC-3082: make SavedRequest parameters case sensitive
2015-10-29 16:52:10 -05:00
Rob Winch
d467146e49
SEC-2190: Support WebApplicationContext in ServletContext
2015-10-28 15:52:05 -05:00
Rob Winch
c64b80564e
SEC-3108: DigestAuthenticationFilter should use SecurityContextHolder.createEmptyContext()
2015-10-27 14:00:02 -05:00
Rob Winch
4cc2ffaa2d
SEC-3109: Fix web tests
2015-10-26 21:45:23 -05:00
Rob Winch
37aacc5e02
SEC-3070: Logout invalidate-session=false and Spring Session doesn't
...
work
2015-10-20 13:50:04 -05:00
Rob Winch
23de257508
SEC-3031: DelegatingSecurityContext(Runnable|Callable) only modify SecurityContext on new Thread
...
Modifying the SecurityContext on the same Thread can cause issues. For example, with a
RejectedExecutionHandler the SecurityContext may be cleared out on the original Thread.
This change modifies both the DelegatingSecurityContextRunnable and DelegatingSecurityContextCallable to,
by default, only modify the SecurityContext if they are invoked on a new Thread. The behavior can be changed
by setting the property enableOnOrigionalThread to true.
2015-07-22 16:48:04 -05:00
Rob Winch
12ed990aa2
SEC-3051: Add AbstractPreAuthenticatedProcessingFilter#principalChanged
2015-07-22 09:02:25 -05:00
Rob Winch
fcc9a34356
SEC-2973: Add OnCommittedResponseWrapper
...
This ensures that Spring Session & Security's logic for performing
a save on the response being committed can easily be kept in synch.
Further this ensures that the SecurityContext is now persisted when
the response body meets the content length.
2015-07-14 14:49:12 -05:00
Rob Winch
00042ff70b
SEC-2931: Fix CsrfFilter Javadoc
2015-07-14 13:41:44 -05:00
Rob Winch
ae772294cb
SEC-2851: Remove DataAccessException import from Persistent RememberMe
2015-04-21 15:04:51 -05:00
Rob Winch
1374898cd8
SEC-2879: Add Test
2015-02-24 23:19:27 -06:00
Michael Cramer
d5ed97eba6
SEC-2879: JdbcTokenRepositoryImpl updateToken should use lastUsed arg
2015-02-24 23:19:22 -06:00
Marcin Mielnicki
8f29c2cc36
SEC-2878: Clean imports in UsernamePasswordAuthenticationFilter
2015-02-24 22:52:28 -06:00
Rob Winch
dfaebfa63b
SEC-2872: CsrfAuthenticationStrategy Delay Saving CsrfToken
2015-02-24 17:35:08 -06:00
Rob Winch
f794272bac
SEC-2832: Add Tests
2015-02-24 17:35:05 -06:00
Stillglade
aa0a5b96ab
SEC-2832: Update request attributes with new CsrfToken
2015-02-24 17:35:03 -06:00
Rob Winch
975e4ec019
SEC-2078: AbstractPreAuthenticatedProcessingFilter requriesAuthentication support for non-String Principals
...
Previously, if the Principal returned by getPreAuthenticatedPrincipal was not a String,
it prevented requiresAuthentication from detecting when the Principal was the same.
This caused the need to authenticate the user for every request even when the Principal
did not change.
Now requiresAuthentication will check to see if the result of
getPreAuthenticatedPrincipal is equal to the current Authentication.getPrincipal().
2015-02-24 16:44:21 -06:00
Rob Winch
74f8534b17
SEC-2791: AbstractRememberMeServices sets the version
...
If the maxAge < 1 then the version must be 1 otherwise browsers ignore
the value.
2015-02-04 15:58:49 -06:00
Rob Winch
478a9650aa
SEC-2831: Regex/AntPath RequestMatcher handle invalid HTTP method
2015-02-04 12:05:25 -06:00
Rob Winch
89c5c56849
SEC-2599: HttpSessionEventPublisher get required ApplicationContext
...
In order to get better error messages (avoid NullPointerException) the
HttpSessionEventPublisher now gets the required ApplicationContext which
throws an IllegalStateException with a good error message.
2014-07-22 09:20:38 -05:00
Rob Winch
89d80ed5c9
SEC-2683: Correct spelling of assignamble in AuthenticationPrincipalResolver Exception
2014-07-18 13:57:40 -05:00
Rob Winch
d6b81abcf2
SEC-2578: HttpSessionSecurityContextRepository traverses HttpServletResponseWrapper
2014-05-02 15:06:28 -05:00
Mattias Severson
c074493f24
SEC-2573: RequestHeaderRequestMatcher constructor argument name has typo
2014-04-23 09:41:43 -05:00
Rob Winch
d7a2c0a98c
SEC-2177: Polish
2014-03-18 15:49:20 -05:00
Maciej Zasada
9057fbe0ed
SEC-2177: Striping off all leading schemes
...
Striping off all leading schemes in the DefaultRedirectStrategy, so it
will be less vulnerable to open redirect phishing attacks. More info can
be found at SEC-2177 JIRA issue.
2014-03-18 15:49:20 -05:00
Julien Dubois
537d8f974f
SEC-2519: RememberMeAuthenticationException supports root cause
...
Added a constructor which keeps the root cause of the exception, and
added some documentation
2014-03-11 16:13:03 -05:00
Rob Winch
bb563967cc
SEC-2507: WebExpressionVoter.supports support subclasses of FilterInvocation
2014-03-10 14:21:07 -05:00
Rob Winch
60704eb50e
SEC-2511: Remove double ALLOW-FROM in X-Frame-Options header
2014-03-06 22:00:09 -06:00
getvictor
f02b77794f
SEC-2511: Remove double ALLOW-FROM from X-Frame-Options header.
...
The interface documentation for getAllowFromValue states: Gets the value for ALLOW-FROM excluding the ALLOW-FROM.
2014-03-06 21:59:46 -06:00
Rob Winch
8d8475deb1
SEC-2455: form-login@login-processing-url & logout@logout-url use matchers
...
Remove the deprecation warnings of using setFilterProcessingUrl by invoking
the matcher methods instead.
2014-01-29 15:35:18 -06:00
Rob Winch
2df5541905
SEC-2448: Update to HSQL 2.3.1
2013-12-14 10:19:06 -06:00
Rob Winch
ca1080fb96
SEC-2439: HttpSessionCsrfTokenRepository setHeaderName sets header instead of parameter
2013-12-13 15:47:28 -06:00
Rob Winch
aaa7cec32e
SEC-2326: CsrfRequestDataValueProcessor implements RequestDataValueProcessor
...
Previously there was unecessary complexity in CsrfRequestDataValueProcessor
due to the non-passive changes in RequestDataValueProcessor. Now it simply
implements the interface with the methods for both versions of the interface.
This works since linking happens at runtime.
2013-12-12 08:07:22 -06:00
Rob Winch
7f714ebb23
SEC-2422: Session timeout detection with CSRF protection
2013-12-11 17:38:17 -06:00
Rob Winch
59e13e7bbb
SEC-2404: CsrfAuthenticationStrategy creates new valid CsrfToken
2013-11-21 15:12:08 -06:00
Rob Winch
1a1f577a8b
SEC-2358: Add RequestHEaderRequestMatcher#toString()
2013-10-28 14:41:10 -05:00
Rob Winch
e638f0a547
SEC-2357: old RequestMatcher interface extends new RequestMatcher
2013-10-23 17:09:33 -05:00
Rob Winch
04b091c385
SEC-2369: PreAuthenticatedGrantedAuthoritiesUserDetailsService fix case to createUserDetails method
2013-10-17 16:18:43 -05:00
Rob Winch
15a63c58a7
SEC-2368: DebugFilter outputs headers and HTTP method
2013-10-17 14:49:45 -05:00
Rob Winch
1351c8bada
SEC-2362: Clarify AbstractRememberMeServices loginSuccess javadoc
2013-10-15 13:53:23 -05:00
Adrien be
e50b587d60
SEC-2360: AbstractRememberMeServices provide message for Assert on key fieldd
2013-10-14 15:06:11 -05:00
Rob Winch
0b0e7dbea9
SEC-2359: Merge DefaultLoginPageViewFilter w/ DefaultLoginPageGeneratingFilter
2013-10-14 15:00:24 -05:00
Rob Winch
51171efa7a
SEC-2357: Move *RequestMatcher to .matcher package
2013-10-14 11:55:56 -05:00
Rob Winch
45ad74a0bd
SEC-2357: Fix package cycles
2013-10-14 11:15:16 -05:00
Rob Winch
14b9050616
SEC-2357: Move *RequestMatchers to .matchers package
2013-10-14 10:36:31 -05:00
Rob Winch
7d99436740
SEC-2358: Add RequestHeaderRequestMatcher
2013-10-11 14:53:11 -05:00
Rob Winch
0ac1176152
Polish RequestMatcher logging and toString
2013-10-07 15:45:42 -05:00
Rob Winch
cffbefadd1
SEC-2306: Fix Session Fixation logging race condition
...
Previously session fixation protection could output an incorrect warning
that session fixation protection did not work.
The code now synchronizes on WebUtils.getSessionMutex(..).
2013-10-06 17:13:40 -05:00
kazuki43zoo
611a97023d
SEC-2352: HttpSessionCsrfTokenRepository lazy session creation
2013-10-06 16:44:18 -05:00
Rob Winch
17efd25717
SEC-2331: Include Expires: 0 in security headers documentation
2013-09-27 16:13:40 -05:00