Commit Graph

1120 Commits

Author SHA1 Message Date
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 0e7dac6ca5 SEC-565: Refactoring of TokenBasedRememberMeServices. Changed arguments to makeValidSignature so that it could be used from both places where a signature is required and refactored the class to extend AbstractRememberMeServices. The method processAutoLoginCookie now returns a UserDetails, rather than username, as the UserDetails is needed in TokenBasedRememberMeServices. 2007-11-10 19:20:36 +00:00
Luke Taylor 1a5ef2dece SEC-588: Completed JdbcTokenRepositoryImpl and added extra update method to PersistentTokenRepository interface (additional files from failed commit). 2007-11-10 15:56:07 +00:00
Luke Taylor 7caa1587b3 SEC-588: Completed JdbcTokenRepositoryImpl and added extra update method to PersistentTokenRepository interface. 2007-11-10 15:42:21 +00:00
Scott Battaglia 87a864619d SEC-592
fixed failing test due to thinking a null value should be provided.
2007-11-07 21:44:15 +00:00
Scott Battaglia 981f185575 SEC-592
implemented NullStatelessTicketCache and test cases and made it the default for CasAuthenticationProvider.
2007-11-07 18:46:35 +00:00
Luke Taylor 0a50cd67ce Tidied up logic for setting token repository in RememberMeBeanDefinitionParser. Plus some tinkering with attributes in rnc file. 2007-11-07 13:29:15 +00:00
Luke Taylor 9fa32bac7c SEC-578: Set FilterInvocationDefinitionSource field in FilterChainProxy to null after it has been converted to a map of paths->filters. 2007-11-06 23:58:56 +00:00
Luke Taylor 9f2bc9a842 SEC-582: Namespace configuration implementation for remember-me support. 2007-11-06 23:20:25 +00:00
Luke Taylor b868143fb1 Make sure "start" is called even if working directory is already set. 2007-11-06 22:18:13 +00:00
Luke Taylor 7ad8e2acf0 SEC-591: Removed default NullRememberMeServices in RememberMeProcessingFilter 2007-11-06 21:43:37 +00:00
Luke Taylor 4c44bd782f SEC-588: Added extra tests to check cookie values. 2007-11-04 12:07:49 +00:00
Luke Taylor 55b1f9348d SEC-588: PersistentTokenBasedRememberMeServices implementation. 2007-11-03 22:11:26 +00:00
Luke Taylor 8b199d38ed Refactored autoLogin method to reduce nesting of conditionals and loops. 2007-10-30 21:09:47 +00:00
Luke Taylor d7b6ca281a Removed unused "autodetect" method. 2007-10-27 11:50:38 +00:00
Luke Taylor 43fc8e2660 Added Id keyword for all java files 2007-10-27 00:45:30 +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 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 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 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