From 659fe5308acfc1f0b1bdad0c46a1c1d6a4065f9a Mon Sep 17 00:00:00 2001 From: Luke Taylor Date: Fri, 22 Feb 2008 16:15:30 +0000 Subject: [PATCH] Corrected wrong bean reference in cas sample and removed dependence on taglibs. Upgraded ehcache version to match core. --- samples/cas/client/pom.xml | 19 ++++++------------- .../WEB-INF/applicationContext-security.xml | 2 +- .../src/main/webapp/secure/extreme/index.jsp | 6 ------ 3 files changed, 7 insertions(+), 20 deletions(-) diff --git a/samples/cas/client/pom.xml b/samples/cas/client/pom.xml index 40e54bf091..6bd7db1860 100644 --- a/samples/cas/client/pom.xml +++ b/samples/cas/client/pom.xml @@ -15,6 +15,11 @@ spring-security-core ${project.version} + + org.springframework.security + spring-security-cas-client + ${project.version} + org.springframework spring-web @@ -42,21 +47,9 @@ net.sf.ehcache ehcache - 1.2.4 + 1.3.0 runtime - - javax.servlet - jstl - 1.2 - runtime - - - taglibs - standard - 1.0.6 - runtime - org.slf4j slf4j-log4j12 diff --git a/samples/cas/client/src/main/webapp/WEB-INF/applicationContext-security.xml b/samples/cas/client/src/main/webapp/WEB-INF/applicationContext-security.xml index 18f6cf3562..a29fda98f8 100644 --- a/samples/cas/client/src/main/webapp/WEB-INF/applicationContext-security.xml +++ b/samples/cas/client/src/main/webapp/WEB-INF/applicationContext-security.xml @@ -28,7 +28,7 @@ - + diff --git a/samples/cas/client/src/main/webapp/secure/extreme/index.jsp b/samples/cas/client/src/main/webapp/secure/extreme/index.jsp index 93f7a17cfc..f7df8f9a80 100644 --- a/samples/cas/client/src/main/webapp/secure/extreme/index.jsp +++ b/samples/cas/client/src/main/webapp/secure/extreme/index.jsp @@ -1,14 +1,8 @@ -<%@ taglib prefix="authz" uri="http://www.springframework.org/security/tags" %> -

VERY Secure Page

This is a protected page. You can only see me if you are a supervisor. - - You have "ROLE_SUPERVISOR" (this text is surrounded by <authz:authorize> tags). - -

Home

Logout