Rob Winch
8b7f772761
Update to Jackson 2.9.4
...
Fixes: gh-4985
8 years ago
Johnny Lim
57353d18e5
Use diamond type
8 years ago
Johnny Lim
b6895e6359
Apply Checkstyle WhitespaceAfterCheck module
8 years ago
Antoine
e0aca04a28
Polish AssertJ assertions
...
Polish AssertJ assertions
8 years ago
Rob Winch
e16b8e7976
Fix logback-test.xml
9 years ago
Rob Winch
f0a9421aa4
SecurityJacksonModules->SecurityJackson2Modules
...
Fixes gh-4121
9 years ago
Rob Winch
8ad0003456
Polish Whitespace
...
Issue gh-3736
10 years ago
Rob Winch
3531cc93c2
JSON tests ObjectMapper Cleanup
...
* Move to @Setup
* Consistently extend from AbstractMixinTests and reuse ObjectMapper
Issue gh-3736
10 years ago
Rob Winch
bd925313af
Improve Readablility of JSON test strings
...
This improves the readability of the JSON strings used for
testing JSON serialize / deserialize of Spring Security
Issue gh-3736
10 years ago
Rob Winch
d4c48dd3e1
Remove MockitoJUnitRunner from JSON tests
...
Previously the JSON tests unnecessarily had MockitoJUnitRunner.
This commit removes MockitoJUnitRunner from the JSON tests.
Issue gh-3736
10 years ago
Rob Winch
df613ed4cc
JSON UserDetails deserializes null
...
JSON UserDetails null use to be treated as "".
This changes null to be treated as a null
Issue gh-3736
10 years ago
Rob Winch
3fb77f3b59
Polish SecurityJacksonModules
...
Issue gh-3736
* ClassLoader argument - this is required because we do not want to assume
the ClassLoader that should be used
* Clean up logging - logging is now at debug level because we don't expect
all of the modules are loaded (they are quite possibly off the ClassPath)
* Remove ObjectUtils as it was being used on methods that expect a
Collection or Array with non collection based objects
* Polish Javadoc warnings
10 years ago
Rob Winch
c2d8ea92d0
SimpleGrantedAuthorityMixin role->authority
...
Issue gh-3736
10 years ago
Rob Winch
03d8904a03
Polish constructor assertions
...
Previously the JSON modules didn't use Spring's Assert.
This commit changes the assertions to use Spring's Assert and does
some minor restructuring.
Issue gh-3736
10 years ago
Jitendra Singh Bisht
d77ca17e95
Add JSON Serialization
...
Fixes gh-3812
10 years ago
Eddú Meléndez
a2ead4cf7a
Polish
...
Fixes gh-3892
10 years ago
Rob Winch
f221920a19
Clean up code to conform to basic checkstyle
...
Issue gh-3746
10 years ago
Billy Korando
71d4ce96ad
Convert to assertj
...
Fixes gh-3175
10 years ago
Rob Winch
bb600a473e
Start AssertJ Migration
...
Issue gh-3175
10 years ago
Rob Winch
4fdfb8caba
SEC-2915: More Tabs -> Spaces
11 years ago
Rob Winch
ae6af5d73c
SEC-2915: Updated Java Code Formatting
11 years ago
Rob Winch
c67ff42b8a
SEC-2783: XML Configuration Defaults Should Match JavaConfig
...
* j_username -> username
* j_password -> password
* j_spring_security_check -> login
* j_spring_cas_security_check -> login/cas
* j_spring_cas_security_proxyreceptor -> login/cas/proxyreceptor
* j_spring_openid_security_login -> login/openid
* j_spring_security_switch_user -> login/impersonate
* j_spring_security_exit_user -> logout/impersonate
* login_error -> error
* use-expressions=true by default
11 years ago
Rob Winch
6e204fff72
SEC-2781: Remove deprecations
11 years ago
Rob Winch
934937d9c1
SEC-2688: CAS Proxy Ticket Authentication uses Service for host & port
12 years ago
Rob Winch
086056f191
SEC-2289: Make compatible with Spring 4 as well
...
There are a few subtle changes in Spring 4 that this commit addresses
13 years ago
Rob Winch
f5a30e55a3
SEC-2042: AbstractAuthenticationProcessingFilter supports RequestMatcher
13 years ago
Rob Winch
6b81f97081
SEC-2114: Polishing Spring Based Cache
13 years ago
Marten Deinum
01ea39ce35
SEC-2114: Provide Spring Cache Abstraction based cache implementations
...
As of Spring 3.1 spring has its own cache abstraction. This commit adds cache
imlpementations based on that abstraction.
13 years ago
Rob Winch
a76a947b12
SEC-965: Added support for CAS proxy ticket authentication on any URL
15 years ago
Rob Winch
3f7f87e19f
SEC-1592: Updated CasAuthenticationFilter so that it does not continue FilterChain when handling proxy requests.
...
The fix moves CommonUtils.readAndRespondToProxyReceptorRequest into CasAuthenticationFilter.attemptAuthentication. This makes sense since
The CAS server is authenticating that the proxy url is valid (i.e. it exists and the SSL handshake succeeds). It also allows the FilterChain
to not be processed by returning a null Authentication.
15 years ago
Luke Taylor
4a40d80da1
SEC-1418: Deprecate GrantedAuthorityImpl in favour of final SimpleGrantedAuthority.
...
It should be noted that equality checks or lookups with Strings or other authority types will now fail where they would have succeeded before.
15 years ago
Luke Taylor
4ad0652787
Removed array of authorities constructor from TestingAuthenticationToken and RunAsUserToken.
15 years ago
Luke Taylor
d1e8b8e29d
More tests. Minor refactoring.
16 years ago
Luke Taylor
74896f217b
SEC-1459: Generifying AuthenticationUserDetailsService. Now parameterized with <? extends Authentication>.
16 years ago
Luke Taylor
052537c8b0
Removing $Id$ markers and stripping trailing whitespace from the codebase.
16 years ago
Luke Taylor
a5ed2e579e
Refactored CAS test to remove dependency on core tests jar.
16 years ago
Luke Taylor
1286741c7c
SEC-1259: Improve consistency of authentication filter names.
17 years ago
Luke Taylor
caff3ee9ba
SEC-1231: Authentication.getAuthorities should be of type Collection<GrantedAuthority> and not List<GrantedAuthority>. Refactored the interface and related classes to match (UserDetails etc).
17 years ago
Luke Taylor
5bdfd8cd77
Tidying imports etc to remove compiler warnings.
17 years ago
Scott Battaglia
53baac2fd9
SEC-1228
...
started adding support for supporting creating UserDetails via Assertions.
17 years ago
Luke Taylor
f536c80020
SEC-1202: Removed SpringSecurityFilter and replaced with use of GenericFilterBean from spring-web
17 years ago
Luke Taylor
83da7be2ea
Remove (ticket) cache package from CAS module. Unnecesary and has a circular reference.
17 years ago
Luke Taylor
93bdcccaee
SEC-1132: Moved userdetails into core and added core/authority sub-package
17 years ago
Luke Taylor
ca7d055c2b
SEC-1132: Created core and authentication packages within core module.
17 years ago
Luke Taylor
f746a20ab4
SEC-1132: package refactoring of non-core modules
17 years ago
Luke Taylor
4a41416c9b
Tidying up and removing compiler warnings.
17 years ago
Luke Taylor
cc5966bc7e
Tidying up, removing compiler warnings etc.
17 years ago
Luke Taylor
40ccd3be11
SEC-1058: Further refactoring to remove use of getDefaultTargetUrl(). Subclasses now pass the default value as a constructor argument.
17 years ago
Luke Taylor
2927b8464f
SEC-1058: Substantial refactoring of AbstractProcessingFilter to use AuthenticationFailureHandler strategy. Also changed attemptAuthentication method to take a response object and have the option of returning null, to allow OpenIDAuthenticationProcessingFilter to work without having to throw exceptions between the template methods (which made the logic very hard to follow). The OpenID filter now redirects to the OpenID provider service from this method, rather than treating it as a temporary failure and throwing OpenIDAuthenticationRequiredException.
17 years ago
Luke Taylor
6601b3da5f
Refactored inline authority list into member variable.
17 years ago