Commit Graph

235 Commits

Author SHA1 Message Date
Vishal Puri 02cf570be7 SEC-271: added AuthorizationManagerBeanDefinitionParser 2007-07-05 02:16:13 +00:00
Vishal Puri 35c6aea8e8 SEC-271: added AuthorizationManagerBeanDefinitionParser 2007-07-05 02:15:31 +00:00
Vishal Puri 97a568c078 SEC-271: Impemented FilterSecurityInovation parser for 'authorization-http-url' tag 2007-07-04 05:04:26 +00:00
Vishal Puri b1a39fe1d1 SEC-271: Impemented FilterSecurityInovation parser for 'authorization-http-url' tag 2007-07-04 05:03:46 +00:00
Vishal Puri c658efbc69 SEC-271: added ldap authentication parser 2007-07-02 07:54:59 +00:00
Ray Krueger 1dfc2baea2 OpenId4Java support
OpenIdAuthenticationProcessingFilter to replace OpenIDLoginInititationServlet
2007-07-02 03:44:07 +00:00
Ray Krueger 61d44954ee Changed parent reference to 1.0.5-SNAPSHOT 2007-06-19 13:13:58 +00:00
Vishal Puri e0956920c7 SEC-271: copied Bank* unit test and relevant classes to test @Secured annotation as a part of autoconfig tag work 2007-06-19 04:15:25 +00:00
Vishal Puri 3cdce8662e SEC-271: added jdk 1.5 support 2007-06-19 04:12:05 +00:00
Vishal Puri b2c30277f4 SEC-271: work on security:autoconfig 2007-06-19 04:08:19 +00:00
Vishal Puri 6e82a9bdfc SEC-271: Removed unnecessary comments 2007-06-14 11:19:52 +00:00
Vishal Puri 4b4807c138 SEC-271: Removed unnecessary AuthenticationProcessingFilterDependenciesConfigurer 2007-06-14 11:18:50 +00:00
Vishal Puri 207e8b932e SEC-271: implemented auto creation of AuthenticationProcessingFilter and it's dependencies 2007-06-14 11:17:05 +00:00
Vishal Puri 23024b20ad SEC-271: Removed AuthenticationRepositoryDependenciesConfigurer as the introspection of applicationcontext for collaborators is implemented in the bean itself 2007-06-14 06:27:32 +00:00
Vishal Puri 2987b62893 SEC-271: autoconfig work 2007-06-14 04:51:16 +00:00
Vishal Puri 1ee2a26e8f SEC-271: removed RemeberMeServicesDependenciesConfigurer as autodetection of dependencies is handled in TokenBasedRememberMeServices 2007-06-08 01:57:54 +00:00
Vishal Puri 5249befa25 SEC-271: tests for RememberMeServicesBeanDefinitionParser 2007-06-08 01:51:59 +00:00
Vishal Puri 6c22fea917 SEC-271: removed registration of BFPP(RemeberMeServicesDependenciesConfigurer) as autodetection of dependencies is now handled in TokenBasedRememberMeServices 2007-06-08 01:50:35 +00:00
Vishal Puri 10c2294aad SEC-271: removed import of spring-util.xsd as it is not required 2007-06-08 01:48:11 +00:00
Vishal Puri 66d7f754c1 SEC-271: changed pom versions, added log4j.properties in test classpath, added another junit test in ExceptionTranslationParserTests 2007-06-07 02:21:52 +00:00
Vishal Puri 1665e21873 SEC-271: Added version tag 2007-06-07 02:13:50 +00:00
Vishal Puri a0cb72cc3c SEC-271: Removed the registeration of BFPP(AccessDeniedHandlerLocator) and improved comments 2007-06-07 02:12:29 +00:00
Vishal Puri 4d783d7375 SEC-271: Deleted AccessDeniedHandlerBeanDefinitionLocator as the autodetection functionality is implemented in ExceptionTranslationfilter 2007-06-07 02:11:12 +00:00
John Lewis 82b22563e5 initial checking of JSR-168 Portlet support in to sandbox 2007-06-04 08:01:11 +00:00
Vishal Puri 5f42387915 Security namespaces 2007-05-25 03:22:06 +00:00
Vishal Puri b30162191e SEC-271: Moved spring security namespaces cnfig code to sandbox 2007-05-25 03:17:12 +00:00
Ben Alex f7e714b9da Maven 2 polishing. 2007-05-23 04:20:54 +00:00
Ray Krueger d81a806405 OpenID support contributed by Robin Bramley
Todo:
* Improve Test Coverage
* Replace Servlet with Filter
* Add support for providers other than JanRain as it may be dead
2007-04-20 14:47:04 +00:00
Ben Alex 9f512c384e SEC-239: New ACL module. 2006-11-17 02:01:21 +00:00
Carlos Sanchez 59572e2168 [maven-release-plugin] prepare for next development iteration 2006-10-04 22:07:51 +00:00
Carlos Sanchez 36fdbe0c97 [maven-release-plugin] prepare release acegi-security-webwork-0.1 2006-10-04 22:07:18 +00:00
Carlos Sanchez 52b10d6d34 Use latest parent 2006-10-04 22:06:03 +00:00
Carlos Sanchez b7595a6165 Bump to next version 2006-10-04 22:05:33 +00:00
Carlos Sanchez 02526b1461 Use latest release 2006-10-04 22:03:16 +00:00
Ben Alex ab7816db41 SEC-8: Removed from sandbox as development will continue via code drops in the JIRA task. 2006-09-29 08:13:33 +00:00
Carlos Sanchez 558fd5d75d Add scm info because we don't use artifactid as folder name 2006-09-17 21:06:22 +00:00
Ben Alex c5aa605068 More JavaDocs as per discussion on acegisecurity-developer list 16 Sep 06. 2006-09-15 22:25:31 +00:00
Carlos Sanchez 30f6871124 Take another apporach and throw all unhandled exceptions wrapped in a ServletException 2006-09-06 17:18:36 +00:00
Carlos Sanchez e8de53b87c Add more info about the problem 2006-09-06 17:12:17 +00:00
Carlos Sanchez 6c0ddbfa9d Add WebWork support to handle Acegi exceptions 2006-09-06 16:54:18 +00:00
Carlos Sanchez 881d50e2a6 Split sandbox in subprojects 2006-09-06 16:37:28 +00:00
Carlos Sanchez 87c1117b47 Remove outdated m1 build 2006-09-06 16:36:52 +00:00
Carlos Sanchez 1554ae4cc6 Splitting sandbox in subpojects 2006-09-06 16:29:50 +00:00
Carlos Sanchez 3226a90fcd Split sandbox in subprojects 2006-09-06 16:27:39 +00:00
Ray Krueger 73cea493c6 Fixing unit test issues 2006-09-06 03:11:13 +00:00
Ray Krueger d88adf3f9e Fixed Java 1.3 incompatible IllegalStateException constructor.
Also fixed a potential NPE in getAccessibleField
2006-09-06 03:02:29 +00:00
Ben Alex 9769394c92 Fixes to new ACL implementation. Thanks to Nathan Sarr. 2006-08-30 22:15:29 +00:00
Luke Taylor 557cf75745 Moved to branch 2006-08-28 22:03:20 +00:00
Luke Taylor 1149da6137 Changed test server details. 2006-08-28 20:10:34 +00:00
Luke Taylor 5b414ddef5 Remove duplicate classes. 2006-08-25 19:16:41 +00:00
Luke Taylor 308212febc Moved ppolicy test to correct package. 2006-08-25 16:18:58 +00:00
Luke Taylor 760a858be6 An oracle OID specific version of BindAuthenticator which parses password policy OID exception messages. 2006-08-25 16:17:12 +00:00
Luke Taylor 139d8c2f65 Experimental UserDetailsManager interface and some ldap implementation classes. 2006-08-25 16:14:50 +00:00
Luke Taylor 1b66467f70 Added ldaptemplate, ehcache and spring-mock dependencies. 2006-08-25 16:13:44 +00:00
Luke Taylor 54fb402e60 added package for password-policy specific classes and an ldaptemplate compatible context factory. 2006-08-25 16:12:26 +00:00
Carlos Sanchez 5d15856ccc Use 1.1-SNAPSHOT as parent version 2006-07-11 18:27:36 +00:00
Carlos Sanchez 35093e09f6 Bump version to 1.1.0-SNAPSHOT 2006-05-31 00:52:26 +00:00
Ben Alex 89eb74b1b2 Refer to 1.0.0 final. 2006-05-28 00:49:38 +00:00
Ben Alex ab12817b7a SEC-97: Format Acegi Security source code in accordance with latest Jalopy configuration. 2006-05-23 13:38:33 +00:00
Ben Alex 5ba40705e8 SEC-239: Initial commit. Work-in-progress only. 2006-05-23 08:48:19 +00:00
Luke Taylor 2a24e4faf8 Deleted old version of LdapDataAccessException 2006-05-20 00:21:17 +00:00
Luke Taylor fd1ed6bcdd Removed old LDAP stuff. 2006-05-07 17:40:51 +00:00
Ben Alex bff37bc4ce SEC-29: Remove from sandbox (now in core). 2006-04-28 05:08:48 +00:00
Ben Alex 719d3af879 SVN updates. 2006-04-25 00:22:00 +00:00
Luke Taylor f392e0c7a8 Tidying up. 2006-02-23 20:38:42 +00:00
Luke Taylor c7c0154ae5 Added Acegi license. 2006-02-09 16:37:53 +00:00
Ben Alex 7aa8d98a65 Finish RC2 release, prepare snapshot again. 2006-02-09 08:49:33 +00:00
Ben Alex ee78570902 Prepare to release 1.0.0 RC2. 2006-02-09 07:45:11 +00:00
Ben Alex e63b2ec9e6 Cleanup unused imports. 2006-02-09 06:00:25 +00:00
Ben Alex 79287999dc SEC-178: Refactor AbstractAuthenticationToken. 2006-02-09 04:16:50 +00:00
Luke Taylor 6ed1400534 Password policy LDAP controls and related classes. 2006-02-08 01:50:15 +00:00
Luke Taylor 05d55ea83a Update pom dependencies. ldapsdk asn1 classes are used for ldap controls. 2006-02-08 01:27:34 +00:00
Luke Taylor fe88d6ec17 SEC-134 fix. Authorities array is now copied on access. Also refactored token classes to move authorities to the base class. 2006-02-08 01:24:38 +00:00
Ben Alex 9771b7817a SEC-144: Separate SecurityEnforcementFilter from FilterSecurityInterceptor. 2006-01-28 22:54:23 +00:00
Ben Alex a7537558e1 Need a file to prevent Eclipse from giving an error due to missing folder. 2006-01-27 03:19:07 +00:00
Luke Taylor 20469b6ac9 Legacy LDAP tests and support files deleted. 2006-01-26 20:49:55 +00:00
Ben Alex 6b1f97a381 Resolve compiler warnings. 2005-12-24 10:03:18 +00:00
Carlos Sanchez b0d65259b6 Changed groupId to org.acegisecurity 2005-12-22 16:40:22 +00:00
Carlos Sanchez 27efd13532 Set version to 1.0.0-SNAPSHOT preparing for next version 2005-12-22 16:32:12 +00:00
Carlos Sanchez f226dfb67f Use ISO encoding to avoid problems 2005-12-22 16:27:44 +00:00
Carlos Sanchez 39cf954a45 Improved m2 poms 2005-12-22 16:17:37 +00:00
Luke Taylor 12ebd4e814 Modifications to allow compilation with updated Apache DS version. 2005-12-15 01:44:20 +00:00
Ben Alex a1037ddc87 Prepare 1.0.0 RC1. 2005-12-04 11:20:52 +00:00
Ben Alex a6e23d79ae SEC-107: Rename AuthenticationDao to UserDetailsService. 2005-11-29 13:10:15 +00:00
Ben Alex 6a1a4abb1d SEC-104: Move to org.acegisecurity package. 2005-11-17 00:56:49 +00:00
Scott McCrory a8ad9231ab Added initial integration of SEC-29 "Save POST request parameters before redirect" for peer review. See http://opensource2.atlassian.com/projects/spring/browse/SEC-29 for more info. 2005-11-13 22:29:13 +00:00
Scott McCrory 309b559a8f Removed unused imports. 2005-11-06 23:00:31 +00:00
Ben Alex eae6f81177 SEC-8: Introduction into CVS of contribution posted with the JIRA task and basic reformatting. 2005-11-03 12:32:19 +00:00
Ben Alex e9b1d9452f SEC-9 and SEC-55: Refactor DaoAuthenticationProvider and deprecate PasswordDaoAuthenticationProvider. 2005-11-03 11:31:23 +00:00
Ben Alex 6f32f6b112 Revise layout to show which classes depend on each other. 2005-10-22 08:48:21 +00:00
Carlos Sanchez b2363dfe07 SEC-62 Add maven 2 support 2005-10-06 20:53:08 +00:00
Carlos Sanchez 29e3daaab6 Removed redundant groupId (inherited from parent) 2005-10-06 20:01:29 +00:00
Ben Alex 9ea795927e Provide Maven POM for sandbox, so that users can easily build its contents. 2005-08-21 10:30:18 +00:00
Robert Sanders 72e3a24c22 Merged from the refactoring branch. Needs user tested, and better documented; but its stable enough that I'm committing it. 2005-08-02 02:50:27 +00:00
Robert Sanders b371f35cfc File created in the LDAP refactoring branch; (currently not being used) in the MAIN/HEAD branch. This is a JavaBean which is used to create JNDI SearchControls Objects for use in searching LDAP DirContexts. 2005-08-02 02:34:16 +00:00
Robert Sanders 1502ba9409 File as created in the LDAP refactoring branch. with a number of JavaDoc comments added for clarity. 2005-08-02 02:31:51 +00:00
Robert Sanders 9421b66611 These are really renamings, not deletions, but since its CVS we have to make do with adding a "new" file with a different name. 2005-08-01 18:24:49 +00:00
Robert Sanders 1f46005dad Renamed, and refactored version of the LdapPasswordAuthenticationTest which works with the newest 'stable' verion of the LdapPasswordAuthenticationDao. 2005-08-01 18:22:00 +00:00
Robert Sanders 3762ba25e8 Fixed dumb mistake in the DN of the second user object. 2005-08-01 18:17:06 +00:00
Robert Sanders b634b27550 Fixed license header, updated to point to new location of helper classes in the .support package. 2005-08-01 03:12:04 +00:00
Robert Sanders bb4867b3cf Fixed license header. 2005-08-01 03:10:10 +00:00
Robert Sanders 1c30ebb27b Updated some of the JavaDocs which needed it. 2005-08-01 03:09:50 +00:00
Robert Sanders b4e08a413b Renamed and moved version of LdapTestHelper. 2005-08-01 03:03:31 +00:00
Robert Sanders 020b4d8e32 Updated version of the BaseLdapTestCase which is in a better named package (.support), with better named helper classes. 2005-08-01 03:02:48 +00:00
Robert Sanders 62b23323eb Removed / renamed to InitialDirContextFactory to better convey purpose. 2005-06-26 21:42:02 +00:00
Robert Sanders 917d3b16aa Renamed LdapSupport to InitialDirContextFactory. 2005-06-26 21:39:42 +00:00
Robert Sanders 73cf703950 Renamed (and slightly cleaner) version of LdapSupport. 2005-06-26 21:39:19 +00:00
Robert Sanders f58cdb7c49 Call setUserSearchBean(this) so that returned UserSearchResults have reference to the search information used to construct them. 2005-06-26 15:25:24 +00:00
Robert Sanders b6657a18d1 Added accessors for setting several important properties. Updated JNDI code for looking up roles in user context. Clarified some variable names. 2005-06-26 15:23:57 +00:00
Robert Sanders 78f792a132 Wrapper around the information returned apon a successful lookup of a user (who at that point has NOT been authenticated). 2005-06-07 02:48:56 +00:00
Robert Sanders e2f97b462c OO means by which to specifiy all the criteria used to search for a user. 2005-06-07 02:48:03 +00:00
Robert Sanders 1ff2021b96 Mainly added JNDI key to trigger LDAP pooling (at least using SUN's implementation). This could probably be refined, but there's other things to do first. 2005-06-07 02:46:47 +00:00
Robert Sanders a163fc48ef A whole bunch of changes to the LDAP Authentication process. It should be both more object oriented, and faster.
[Note] I am checking this in in advance of having time to actually test it.
[Note] This class will probably be renamed to replace the current LdapPasswordAuthenticationDao .
2005-06-07 02:44:58 +00:00
Robert Sanders 4b039011fc Part of refactoring the code: move the basic LDAP/JNDI settings to an external class. 2005-05-25 01:33:48 +00:00
Ben Alex fa6924a373 Update project workspace settings to Java 1.5. NB: Maven remains at 1.3 compatibility for all subprojects except "domain". It is recommended the Eclipse "Problems" view be customised to not display items containing "Type Safety:" in their description. Developers should NOT introduce 1.5+ dependencies to any projects apart from "domain". 2005-05-09 01:18:31 +00:00
Robert Sanders 74a5a505d5 Updates to getGrantedAuthorityString as suggested by Matt DeHoust to make functionality match javadocs. 2005-04-18 18:56:33 +00:00
Robert Sanders 046dd2611c Lastest round of changes; adding a few more tests. 2005-03-30 03:12:12 +00:00
Robert Sanders be20350737 Ok, some actual tests of DAO functionality. 2005-03-24 03:38:34 +00:00
Robert Sanders 6646eb4cd7 Added importLDIF to assist in importing LDIF data into the directory for testing. 2005-03-24 02:23:08 +00:00
Robert Sanders 99e6bfbde7 Class comment says it all - verify that directory server is configured correctlly. 2005-03-24 02:22:01 +00:00
Robert Sanders 7cfec03a86 Modified to use DirContentsInitializer. 2005-03-24 02:21:08 +00:00
Robert Sanders 0e9dc00c15 Helper class used to setup the directory server that we are running our tests against. 2005-03-24 02:20:38 +00:00
Robert Sanders 5e4f3b46bf Ok, it doesn't actually test the DAO, but I now have something that is (semi-) worth running. 2005-03-22 02:49:50 +00:00
Robert Sanders 90c77f2899 Impored API. 2005-03-22 02:48:56 +00:00
Robert Sanders 688e5a16d4 Cleaned up source to better express correct use. 2005-03-22 02:47:36 +00:00
Ben Alex 6f31ecb04b UserDetails now indicates locked accounts. 2005-03-21 03:22:59 +00:00
Robert Sanders c34db326f8 Provide hook to get a client-side version of the DirContext. 2005-03-21 03:20:19 +00:00
Robert Sanders 1588dbb488 My LDAP server setup is different, so I can't test this without re-writing it; but at least it now compiles. Once I get the ApacheDS based tests working, I'll removed this test. 2005-03-21 03:16:18 +00:00
Robert Sanders 3e63685776 I don't have any test built using these yet, but both should server as decent bases from which to build tests for LDAP functionality. 2005-03-18 03:41:33 +00:00
Robert Sanders 7beab1238b I basically ended up re-writing this code. The goal was to create a much more flexible way of connecting to the LDAP server. The class doc's should help explain how to do this fairly well. This works for me on OpenLDAP server configured for Samba 2.2; should hopefully work for other. Next up: try and use the Apache DS project to enable unit testing (or at least portable functional testing) of the LDAP/JNDI code. 2005-03-01 22:49:03 +00:00
Ben Alex 40bf65bdf8 Improvements to LDAP provider compatibility with Samba, as per contribution by Robert Sanders. 2005-02-17 20:39:04 +00:00
Ben Alex c939bcb176 Add account expiration and credentials expiration capabilities. 2005-01-03 01:14:26 +00:00
Ben Alex 61580d1973 Move RMI context propagation support classes to core, and rename and document to more clearly reflect function. 2004-11-20 04:07:47 +00:00
Ben Alex c2491a93b4 AcegiRemoteInvocation support, thanks to James Monaghan. 2004-09-16 06:20:26 +00:00
Ben Alex 03781aeccd Created sandbox including a LDAP-based authentication DAO, as contributed by Karel Miarka and with improvements by Daniel Miller. 2004-09-11 01:45:16 +00:00