Commit Graph

2092 Commits

Author SHA1 Message Date
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 334d55b12e Tidying. 2007-10-27 00:26:25 +00:00
Luke Taylor 685d74d81b FilterSecurityInterceptor is now configured through ConfigUtils, rather than by autowiring. 2007-10-27 00:25:59 +00:00
Luke Taylor 0185dc5a90 Moved registration of ProviderManager bean to ConfigUtils. 2007-10-27 00:24:16 +00:00
Luke Taylor 06ce4b79e9 SEC-584: Remove use of default SessionRegistryImpl. 2007-10-27 00:23:21 +00:00
Luke Taylor 0cdac4912a Changed to use a BeanReference when creating default login page to prevent duplication of filter bean. 2007-10-27 00:20:55 +00:00
Luke Taylor 3d9ea49d19 SEC-585: Made expiredUrl optional.
Also implemented Ordered interface for use in namespace configuration.
2007-10-26 23:32:40 +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 700de0d388 Tidying. 2007-10-25 15:07:15 +00:00
Luke Taylor 03e285c31d Moved responsability for creating AuthenticationManager into AuthenticationProviderBeanDefinitionParser. Tidied up SecrityNamespaceHandler. 2007-10-25 14:21:45 +00:00
Luke Taylor 3927ba9ed0 SEC-578: Removed additional FilterChainMap reference. 2007-10-25 13:40:51 +00:00
Luke Taylor 7ef57c67ed SEC-578: Removed FilterChainMap class 2007-10-25 11:51:51 +00:00
Luke Taylor fb72fa82de Changed comment to remove reference to FilterChainMap. 2007-10-22 23:56:01 +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 c2db942852 Namespace version of tutorial config. Currently lacks support for remember me and anonymous authentication. 2007-10-20 23:20:36 +00:00
Luke Taylor b9cfae5903 Exception for flagging errors in namespace config. 2007-10-20 23:18:41 +00:00
Luke Taylor 2d3d5ceb8d Tidying. 2007-10-20 23:17:56 +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 f0d8db5ce6 Store the default order values of security filters. 2007-10-20 23:12:41 +00:00
Luke Taylor 7afa99a21a Security filter base class. 2007-10-20 23:10:53 +00:00
Luke Taylor a6a372a5ab SEC-568: Added the decorated for filter-chain-map to the namespace handler registry. 2007-10-20 23:10:28 +00:00
Luke Taylor 2b14d2da98 Make Spring Security filters implement the Ordered interface, for use when post-processing the application context 2007-10-20 23:09:23 +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 d6fe97de43 Latest updates to namespace configuration. 2007-10-20 22:58:59 +00:00
Luke Taylor 28d04c1759 Removed unnecessary casts, corrected incomplete comment and reformatted code. 2007-10-19 11:53:26 +00:00
Luke Taylor 380b22f50d Removed unused autodetect method and reformatted code. 2007-10-18 16:50:31 +00:00
Luke Taylor bd740a91a2 Corrected remember-me parameter name in samples and log file name in tutorial sample (was "contacts.log"). 2007-10-16 13:52:01 +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 a4b522351f Added "unprotected" method for tests 2007-10-14 14:15:51 +00:00
Luke Taylor 0b54eece28 Added code to set the manager username and password if supplied. 2007-10-13 21:20:19 +00:00
Luke Taylor 3d0f3302dc RNC file used for convenience to generate the namespace xsd schema file. 2007-10-13 16:27:14 +00:00
Luke Taylor 0f4cdf345d Intermediate checkin of experimental namespace config work (additional parser files). 2007-10-13 16:26:08 +00:00
Luke Taylor 627b0b38ad Intermediate checkin of experimental namespace config work. 2007-10-13 16:24:24 +00:00
Luke Taylor 98f6111d06 Corrected wrong error message in ProviderManager. 2007-10-13 12:15:13 +00:00
Luke Taylor e561b87987 Switched testOperation method to use unicode escaped characters. 2007-10-13 11:40:16 +00:00
Luke Taylor 75bc838ae8 Switched testOperation method to use French locale to prevent use of default machine locales such as Chinese (see previous commit sg). 2007-10-11 16:18:28 +00:00
Luke Taylor 0a214e4930 Removed locale-specific message value assertions which will cause tests to fail if run with a different standard locale for which we have a message file (e.g. Chinese). 2007-10-11 15:23:01 +00:00
Luke Taylor 92bc57eefd Switch test to use a specific locale for which we have a message file (french). The default ResourceBundle behaviour is to attempt to load the platform locale if the specified one isn't found before using the default. We don't have a messages_en.properties file, hence trying to use "en" locale on a Chinese computer will result in Chinese messages being used (and test failing). 2007-10-11 15:16:06 +00:00
Luke Taylor 650a5467e8 Renamed ApacheDSStartStopBean to ApacheDSContainer and implemented LifeCycle interface. 2007-10-03 18:09:53 +00:00
Luke Taylor 3f2b9cd6fb SEC-562: More changes of Acegi name in comments, docs etc. 2007-10-03 14:02:39 +00:00
Luke Taylor 9dbeda1c85 Corrected out of date comments referring to SecurityEnforcementFilter etc. 2007-10-03 11:13:40 +00:00
Luke Taylor e7b680254f Formatted pom.xml to correct spacing. 2007-10-02 16:32:19 +00:00
Luke Taylor 87ddc63f73 Format to correct spacing. 2007-10-02 16:13:55 +00:00
Luke Taylor 6fbf73e74f Added explicit dependency override on mina 1.0.5 to get round this problem:
http://issues.apache.org/jira/browse/DIRMINA-366 

when using apache DS embedded. It causes failures on linux, but not on OS X.
2007-10-02 16:13:06 +00:00
Luke Taylor 438dc44004 Minor changes to improve robustess of LDAP tests. 2007-10-02 14:50:08 +00:00
Luke Taylor 5a3f5fcd78 Minor changes to improve robustess of LDAP tests. 2007-10-02 14:49:08 +00:00
Luke Taylor a4266f3fb8 Minor imrovements to configuration of embedded apache server. 2007-10-02 14:20:27 +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