Rob Winch
9c03571bbb
Use message in all Assert
...
This ensures compatibility with Spring 5.
Fixes gh-4193
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
6f2b24a62b
Polish JSON warnings / javadoc
...
Issue gh-3736
10 years ago
Rob Winch
6d2003722e
Polish JSON class scope
...
Use package scope when possible
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
Johnny Lim
933a7e8363
Remove duplicate words
...
Fixes gh-3826
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
02c3565e22
Fix compiling in Eclipse
12 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
Luke Taylor
8178371927
SEC-1700: Add fixed serializationVersionUID values to security context, authentication tokens and related classes
15 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
d64efe9747
SEC-1492: Added GrantedAuthoritiesMapper to provide mapping of loaded authorities to those which are eventually stored in the user Authentication object.
15 years ago
Luke Taylor
d1e8b8e29d
More tests. Minor refactoring.
16 years ago
Luke Taylor
85c4c91e0e
IDEA inspection refactorings.
16 years ago
Luke Taylor
0e57ce2dc3
SEC-1481: Updated constructors of Authentication types to use a generic wildcard for authorities collection.
16 years ago
Luke Taylor
74896f217b
SEC-1459: Generifying AuthenticationUserDetailsService. Now parameterized with <? extends Authentication>.
16 years ago
Luke Taylor
977bc2b164
SEC-1433: Reduce the number of direct dependencies on DataAccessException from spring-tx.
...
It is still required as a compile-time dependency by classes which use Spring's JDBC support, but it doesn't really have to be used in many interfaces and classes which are not necessarily backed by JDBC implementations.
16 years ago
Luke Taylor
36612377e2
Replace package.html with package-info.java files, creating new ones where missing and updating outdated contents.
16 years ago
Luke Taylor
052537c8b0
Removing $Id$ markers and stripping trailing whitespace from the codebase.
16 years ago
Scott Battaglia
7e817b9640
NOJIRA formatting fix
16 years ago
Scott Battaglia
4afe6c2c6a
SEC-1341
...
made it more extensible
16 years ago
Luke Taylor
aeed49393c
Switching StringBuffer to StringBuilder throughout the codebase (APIs permitting).
16 years ago
Luke Taylor
a5ed2e579e
Refactored CAS test to remove dependency on core tests jar.
16 years ago
Scott Battaglia
46ef4239ca
SEC-1228
...
added NO_PASSWORD instead of passing in NULL since the User object does not allowe NULL for the password.
16 years ago
Scott Battaglia
f35cb48407
NOJIRA
...
changed constructor back to collection. Accidentally set to List due to old code residing on notebook.
16 years ago
Scott Battaglia
e812c58e04
NOJIRA
...
fixed changed constructor
16 years ago
Scott Battaglia
f0a5572188
SEC-1228
...
fixed mistyped class name
16 years ago
Luke Taylor
1286741c7c
SEC-1259: Improve consistency of authentication filter names.
17 years ago