Luke Taylor
f3b3004085
Removed references to Acegi in contacts sample home page
2008-11-15 06:28:01 +00:00
Luke Taylor
78065ba47c
Fixed up contacts sample: removed casfailed page, corrected debug.jsp errors and fixed incorrect bean reference in context files.
2008-11-15 03:38:49 +00:00
Luke Taylor
3261fcb174
Tidying stuff
2008-11-14 07:16:30 +00:00
Luke Taylor
464da0f0df
SEC-999: Refactored namespace to take an expression handler instead of a permission evaluator, allowig fo greater cusomtomization and for a single handler to be used in both web and method security expressions.
2008-11-13 07:41:21 +00:00
Luke Taylor
e5b1073501
SEC-1012: Added more generics and warning suppression
2008-11-11 09:06:50 +00:00
Luke Taylor
e11114ce77
SEC-1023: Add hasPermission() support to SecurityExpressionRoot
...
http://jira.springframework.org/browse/SEC-1023 .
hasPermission() now delegates to a PermissionEvaluator interface, with a default implementation provided by the Acl module. The contacts sample now uses expressions on the ContactManager interface. The permission-evaluator element on global-method-security can be used to set the instance to an AclPermissionEvaluator. If not set, all hasPermission() expressions will evaluate to 'false'.
2008-11-10 04:27:25 +00:00
Ben Alex
de897ad1ac
SEC-867: Remove superfluous <property /> entry.
2008-06-05 22:51:47 +00:00
Luke Taylor
cf4072c517
Context file improvements (based on sts suggestions)
2008-05-25 20:57:07 +00:00
Luke Taylor
4f6b4e4bfd
Make sample login pages use c:out for data output
2008-05-15 12:48:13 +00:00
Luke Taylor
d4defb10fe
SEC-833: Fixed login-failure-url in contacts sample app.
2008-05-14 22:41:13 +00:00
Luke Taylor
fc498954c6
Updated sample context files to point at 2.0.1 schema
2008-05-01 17:51:48 +00:00
Luke Taylor
42cd91e259
Some updates to contacts sample to match description in docs, remove unnecessary cas code etc.
2008-04-12 18:08:35 +00:00
Ben Alex
677607bcad
SEC-530: Refactor ACL module so ACE manipulation is index-based as
...
opposed to AccessControlEntry.getId() based.
2008-04-05 20:43:10 +00:00
Luke Taylor
8f7b216de3
Import cleaning, removal of unnecessary constructors etc based on eclipse warnings
2008-03-17 14:10:22 +00:00
Luke Taylor
8c00bb1537
SEC-674: Updated samples to work with new module layout. Changed taglib build to copy tld file to META-INF directory.
...
Also standardized JSTL version to 1.1.0 (impl 1.1.2), moving deps to root sample pom.
2008-02-22 16:21:37 +00:00
Luke Taylor
38237341b4
Removed unused getContactManager method
2008-02-15 18:06:59 +00:00
Luke Taylor
503e426707
Inlined destroyContext method.
2008-02-15 17:07:53 +00:00
Luke Taylor
be62979a01
Switch JSTL back to 1.1.2.
2008-02-15 12:15:20 +00:00
Luke Taylor
e2bf583fe9
Removed unused MessageSource from contacts app-context file.
2008-02-09 15:57:06 +00:00
Luke Taylor
dd47689687
Updated contact app to make more use of namespace configuration (now uses intercept-methods in target bean to set up method interceptor).
2008-02-09 15:41:29 +00:00
Luke Taylor
df1def412e
Changed to using new alias for security filter chain in samples.
2008-02-01 14:28:04 +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
7d88ee8c48
Formatted ACL SQL for readability.
2008-01-21 18:35:22 +00:00
Luke Taylor
7583aca3eb
Configured contacts app to use namespaces. Removed ldap, cas, x509 files to avoid confusion. Ldap and CAS will be better served by new samples.
2008-01-01 16:51:15 +00:00
Luke Taylor
b91e82d91c
Changed _authenticationManager -> authenticationManager to get contact app tests passing again.
2007-12-25 00:34:28 +00:00
Luke Taylor
5f1eea42fc
Moved configuration of security interceptors with access and authentication manangers from post processing stage to bean creation stage.
2007-12-23 16:40:29 +00:00
Luke Taylor
5e0cb21c8d
SEC-619: Added test class for LdapUserDetailsService. The LdapAuthoritiesPopulator interface and also implementations have been moved to the org.springframework.security.ldap package since they are now used by both the ldap provider and the user service.
2007-12-09 18:40:28 +00:00
Ben Alex
cb765bc34b
SEC-615: Automatically focus on login name HTML element on page load.
2007-12-03 06:34:43 +00:00
Ben Alex
7aa28ea742
SEC-614: Use DelegatingFilterProxy instead of FilterToBeanProxy.
2007-12-03 06:31:03 +00:00
Ben Alex
47229be5cb
Make samples and tests use username "rod".
2007-12-03 02:56:52 +00:00
Ben Alex
3123d24337
SEC-613: Rename tag libraries.
2007-12-03 01:46:11 +00:00
Luke Taylor
9e2f372bad
SEC-607: Deprecated InitialDirContextFactory and replaced it with SpringSecurityContextSource.
...
Also some refactoring of LdapUserDetailsManager to use a strategy for creating DNs from usernames.
2007-11-20 20:54:48 +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
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
3f2b9cd6fb
SEC-562: More changes of Acegi name in comments, docs etc.
2007-10-03 14:02:39 +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
9a88d7737a
SEC-562: Correct class names in web.xml files.
2007-09-26 11:33:54 +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
18c8ba4ac2
SEC-562: Changing constants and key names.
2007-09-23 11:16:01 +00:00
Luke Taylor
4083e2ef92
SEC-562: Further repackaging.
2007-09-21 18:24:16 +00:00
Luke Taylor
de21cde132
Deleted unused build.xml and cvsignore files from contacts sample.
2007-09-05 22:20:55 +00:00
Luke Taylor
c2c2fb24be
Corrected link to ssl howto in site.xml
2007-09-05 12:09:40 +00:00
Luke Taylor
58bf2ffbc8
Corrected link to ssl howto in site.xml
2007-09-05 12:08:49 +00:00
Luke Taylor
bf433bb5a7
Moved contacts ssl howto.txt so that it is picked up by maven 2 site generation.
2007-09-05 01:21:42 +00:00
Luke Taylor
db13131a07
Deleted original properties files from contacts app resources directory.
2007-09-03 22:26:30 +00:00
Luke Taylor
01610bdd94
Moved properties files into WEB-INF/classes directory in contacts app. Jetty plugin attemps to load the log4j file from there when using mvn jetty:run.
2007-09-03 22:24:59 +00:00
Luke Taylor
6c169d9acf
SEC-508: Added CDATA sections to multi-line text values in tutorial and contacts sample context files to prevent eclipse reforatting bug from messing them up.
2007-08-29 12:12:45 +00:00
Luke Taylor
fe4bbe0fbf
SEC-514: Refactoring contacts sample into single webapp.
2007-07-24 17:46:43 +00:00
Ben Alex
07b2a5c673
SEC-447: Use EL tags.
2007-05-24 00:30:15 +00:00
Vishal Puri
f56771b214
SEC-376: moved switchUserProcessingFilter after filterInvocationInterceptor in contacts/filter applicationContext-acegi-security.xml file
2007-04-27 07:38:02 +00:00