Files
spring-security/samples/contacts
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
..
2008-11-06 01:11:08 +00:00
2007-09-05 15:46:25 +00:00


The contacts application demonstrates the main Acegi Security features in action in a web application. Prior to version
1.0.5, the application was built into several separate WAR files, each using different features - X.509, CAS, LDAP etc.

In the interest of simplicity it has now been refactored into a single web application which uses a form login.
The web application context is loaded from /WEB-INF/applicationContext-acegi-security.xml.
The other context files have been left in the WEB-INF directory for reference but aren't used in the application.

To run the application, assuming you have checked out the source tree from subversion, run

mvn install

from the project root. Then run

mvn jetty:run

from the contacts sample directory. This should start the web application on port 8080 for you to try out.

$Id$