diff --git a/samples/contacts/war/WEB-INF/jsp/hello.jsp b/samples/contacts/war/WEB-INF/jsp/hello.jsp index 12a0a7a5eb..a532b4b1c1 100644 --- a/samples/contacts/war/WEB-INF/jsp/hello.jsp +++ b/samples/contacts/war/WEB-INF/jsp/hello.jsp @@ -7,11 +7,18 @@

This is a very simple application to demonstrate the Acegi Security System for Spring. The application manages contacts, partitioned based on the user that owns them. Users may only manage their own contacts, and only users with ROLE_SUPERVISOR -are allowed to delete their contacts. The application automatically extracts -the principal from the web container (which should be configured with a -suitable Acegi Security System for Spring adapter). It also demonstrates how to configure +are allowed to delete their contacts. It also demonstrates how to configure server-side secure objects so they can only be accessed via a public facade. +

If you deployed the contacts-container-adapter.war file, the application +automatically extracts the principal from the web container (which should be +configured with a suitable Acegi Security System for Spring adapter). If +you're using the standard contacts.war file, the application is entirely +self-contained and you don't need to do anything special with your web +container. If you're using the contacts-cas.war file, please review the +setup in samples/contacts/etc/cas/applicationContext.xml for your CAS server +and if necessary rebuild using the Contacts application's build.xml. +

This application also demonstrates a public method, which is used to select the random contact that is shown below: