From 6ddc006012a2ac9997baf0c1118517bfd19c3ec5 Mon Sep 17 00:00:00 2001 From: Ben Alex Date: Fri, 2 Apr 2004 12:00:29 +0000 Subject: [PATCH] Modify MethodSecurityInterceptor to new location, remove unnecessary comments, add a DAO authentication provider so the MethodSecurityInterceptor can validate Authentication objects presented by the HTTP filter authentication system. --- .../contacts/war/WEB-INF/contacts-servlet.xml | 43 ++++++++++++------- 1 file changed, 28 insertions(+), 15 deletions(-) diff --git a/samples/contacts/war/WEB-INF/contacts-servlet.xml b/samples/contacts/war/WEB-INF/contacts-servlet.xml index 83dce57e89..6c771b534f 100644 --- a/samples/contacts/war/WEB-INF/contacts-servlet.xml +++ b/samples/contacts/war/WEB-INF/contacts-servlet.xml @@ -60,28 +60,41 @@ - - - my_run_as_password - my_password - - + + + + + + marissa=koala,ROLE_TELLER,ROLE_SUPERVISOR + dianne=emu,ROLE_TELLER + scott=wombat,ROLE_TELLER + peter=opal,disabled,ROLE_TELLER + + + + + + + false + true + + @@ -91,7 +104,7 @@ - + false @@ -103,11 +116,11 @@ - - - + + + - + sample.contact.ContactManager.delete=ROLE_SUPERVISOR,RUN_AS_SERVER sample.contact.ContactManager.getAllByOwner=CONTACT_OWNED_BY_CURRENT_USER,RUN_AS_SERVER @@ -118,11 +131,11 @@ - - - + + + - + sample.contact.ContactManager.delete=ROLE_RUN_AS_SERVER sample.contact.ContactManager.getAllByOwner=ROLE_RUN_AS_SERVER