Ben Alex
358f284f42
SEC-760: Correct bug where more than one concurrent JaasAuthenticationProvider used.
2008-06-06 06:13:14 +00:00
Luke Taylor
980a72f9a0
Removed TODO (done).
2008-05-29 15:54:50 +00:00
Luke Taylor
3fb1f59fde
SEC-837: Add special character filtering to LDAP search filterscore/src/test/java/org/springframework/security/ldap
2008-05-20 19:22:49 +00:00
Luke Taylor
1a4130528a
SEC-782: Incorrect UrlMatcher initialization in FilterChainProxy results in wrong lowercase/uppercase matching
...
http://jira.springframework.org/browse/SEC-782 . I've updated FilterChainProxy to make sure the same UrlMatcher is used throughout when converting a legacy configuration.
2008-04-21 16:51:06 +00:00
Ben Alex
9a4977ebd1
SEC-99/428/429/563: Various refactoring of method security metadata support.
2008-03-24 09:40:13 +00:00
Luke Taylor
abd5e384fe
removed unused eh-cache config file
2008-03-17 14:07:19 +00:00
Luke Taylor
5743763599
SEC-625: Remove references to FilterToBeanProxy
2008-03-13 18:52:31 +00:00
Luke Taylor
5187f89fe8
SEC-679: Removed use of MockApplicationContext and improved use of ehcache (shutting down cache managers after tests are run). Upgraded ehcache version to 1.3 as used in Spring pom.
2008-02-22 13:34:20 +00:00
Luke Taylor
2dd9faabc0
SEC-674: Created new project modules for cas, captcha, acls and taglibs
2008-02-19 20:30:53 +00:00
Luke Taylor
28153f2c7f
Added TestDataSource class to cut down verbosity of in-memory test databases and to implement DisposableBean, so the database is destroyed when the application context containing it is closed.
2008-02-07 13:33:15 +00:00
Luke Taylor
2c6fb3d1c9
Added extra tests for jdbc-user-details service to make sure it works within an <authentication-provider> element.
2008-01-31 20:30:37 +00:00
Luke Taylor
e82dfd3f1a
Added some further tests for LDAP searching with a different user search base.
2008-01-31 17:44:52 +00:00
Luke Taylor
a9ff309b02
Deleted as test now uses inline context snippets.
2008-01-22 21:08:33 +00:00
Luke Taylor
06f3bcbf6a
Converted all namespace attributes which refer to bean IDs to use "-ref" suffix (or "ref").
2008-01-22 20:58:12 +00:00
Luke Taylor
11570d9584
SEC-576: Test web.xml files.
2008-01-22 20:42:09 +00:00
Luke Taylor
b29bcfebe8
Converted test class to use in memory XML snippets - makes it easier to work out which one is causing a failure.
2008-01-22 11:36:15 +00:00
Luke Taylor
ca8dff7abb
Delete unused ldap namespace test context file
2008-01-21 20:09:07 +00:00
Luke Taylor
9836bda5b3
SEC-630: Support for "properties" attribute in user-service namespace element.
2008-01-21 17:15:53 +00:00
Luke Taylor
59a947bbe5
SEC-636: Support for use of "ref" attribute in salt-source element.
2008-01-21 15:06:43 +00:00
Luke Taylor
5e3a0ef379
SEC-632: Added user-filter element to namespace to allow a user to add their filters. Filters which aren't in the org.security.springframework package will now be skipped. Also renamed FilterChainOrderUtils and members for future use in ordering (e.g. using "after", "before" as attributes in user-filter).
2008-01-19 13:51:03 +00:00
Luke Taylor
04c89e0795
SEC-599: Refactoring of FilterInvocationDefinitionSource implementations to use UrlPathMatcher strategy.
2008-01-18 16:24:35 +00:00
Luke Taylor
9e21c48fce
SEC-628: Added port-mappings element to allow use of a PortMapper.
2008-01-15 19:59:07 +00:00
Luke Taylor
debfbe47cf
Improvements to LDAP namespace configuration - splitting "ldap" element into ldap-server and ldap-authentication-provider. Also some minor changes to authentication-provider.
2007-12-23 00:17:37 +00:00
Luke Taylor
cf80292de3
Changes to namespace reinstating authentication-provider element in preference to "repository" to wrap convey that a user-service will be used as to authenticate against. Also introduced separate password-encoder element for use within authentication-provider.
2007-12-21 15:50:56 +00:00
Luke Taylor
70286f1197
Fixed problem caused by maven-2.0.8 change in test classpath. ldif file wasn't being loaded for tests. Default path should be "classpath*:" not "classpath:". (See discussing in Spring's PathMatchingResourcePatternResolver).
2007-12-20 20:53:26 +00:00
Luke Taylor
6e74d925fb
Boosted logging to try to resolve issues on bamboo server.
2007-12-20 19:45:43 +00:00
Ben Alex
fa510b3187
Modify attribute names to use "ref" instead of "id", plus use a hyphen
...
as an attribute value separator rather than a colon. This was changed
for compatibility with other components in the Spring Portfolio. tests
pass.
2007-12-13 20:19:56 +00:00
Ben Alex
4770c29094
Use hyphens in attribute names, and not Camel Case. This is to maintain
...
consistency with the rest of Spring Portfolio. Camel Case was preserved
for attribute values, consistent with Spring Portfolio usage such as
autowiring modes (byName, byType etc).
2007-12-09 03:42:20 +00:00
Ben Alex
8e7c540b16
General refactorings and improvements to namespace support, including
...
autoDetect="true" attribute for <http> element.
2007-12-04 10:35:08 +00:00
Ben Alex
2441ab6d9a
Move "realm" attribute to be on <http> element rather than <http-basic>.
...
This faciltiates reuse with other mechanisms (like Digest) whilst also
moving towards the <http-auto-configure> element (which benefits from
having shared configuration in <http> as opposed to mechanism-specific
elements).
2007-12-04 08:02:40 +00:00
Ben Alex
9b4bb0ffd8
<repository> element and JdbcUserDetailsManager support.
2007-12-04 05:58:54 +00:00
Ben Alex
0b0b174eda
Support <repository> and JbcUserDetailsManager.
2007-12-04 05:27:17 +00:00
Ben Alex
47229be5cb
Make samples and tests use username "rod".
2007-12-03 02:56:52 +00:00
Luke Taylor
843a20e691
Changed default namespace in config files to "security" for clarity.
2007-11-29 13:14:15 +00:00
Luke Taylor
910e63f83c
SEC-586: Implemented secure channel support in namespace configuration.
2007-11-11 22:07:46 +00:00
Luke Taylor
2856a6ba43
Allow configuration of embedded ldap server port through ldap namespace configuration. Changed default port from 3389 to avoid conflict with windows remote desktop (as reported by Ray Krueger in dev list).
2007-11-11 16:10:30 +00:00
Luke Taylor
9f2bc9a842
SEC-582: Namespace configuration implementation for remember-me support.
2007-11-06 23:20:25 +00:00
Luke Taylor
d3b165749f
SEC-583: Implementation of namespace config for concurrent session support.
...
Also some minor adjustments to ordering of different http features in schema.
2007-10-27 00:28:24 +00:00
Luke Taylor
55ef50a4df
Added checking of path ordering to FilterChainProxy to detect misplaced universal match ("/**").
2007-10-26 13:51:32 +00:00
Luke Taylor
1bcb62af2e
Remove use of autoconfig, as it was really just a conveniece for creating default access and authentication managers.
2007-10-26 13:05:31 +00:00
Luke Taylor
acf3966651
SEC-578: Refactored to remove FilterChainMap and use a LinkedHashMap instead to maintain the path ordering. Also made use of Springs ManagedList and ManagedMap to preform resolution of bean names to Filter objects at runtime, replacing the unnecessary bean which was performing this task for the filter lists.
2007-10-22 23:52:29 +00:00
Luke Taylor
cffd3131f0
Added building of filter chain in post-processing, support for basic authentication and automatic generation of login page, if no loginUrl supplied.
2007-10-20 23:17:01 +00:00
Luke Taylor
9b8c06e9f6
SEC-568: Introduced FilterChainMap as a simpler option for configuring FilterChainProxy and introduced a namespace-based for configuring it. The Url pattern matching is factored out into a separate strategy with ant and regex versions.
2007-10-20 23:05:03 +00:00
Luke Taylor
c51bcd9c1f
Changed method protection config to make it compatible with MethodDefinitionMap for the time being.
2007-10-14 14:29:15 +00:00
Luke Taylor
627b0b38ad
Intermediate checkin of experimental namespace config work.
2007-10-13 16:24:24 +00:00
Luke Taylor
acb02246e0
Refactored embedded LDAP server tests to make use of new namespace configuration. Use Junit 4 annotations in preference to AbstractDependencyInjectionSpringContextTests so that it is possible to clear up the context after each class is run rather than at JVM shutdown (causes problems with running embedded apache DS).
2007-10-02 10:52:06 +00:00
Luke Taylor
77b6503e2e
SEC-271: Added namespace handler class and experimental LDAP parser. The latter creates an embedded Apache DS server if no server URL is supplied, so changed dependencies on the latter to compile-time/optional.
2007-10-02 10:46:38 +00:00
Luke Taylor
5066fc5e39
SEC-562: Changed urls for login, logout, switch user etc.
2007-09-24 15:39:51 +00:00
Luke Taylor
eacbc71ba1
Switch ldap server port to 3999 (intermittent test failures occurring).
2007-09-23 20:57:01 +00:00
Luke Taylor
5a586c04a9
SEC-562: Repackaging core.
2007-09-21 18:18:21 +00:00