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 4ad046f289..0b3c75d765 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 @@ -8,7 +8,7 @@ - + @@ -17,8 +17,8 @@ - - + + @@ -33,14 +33,14 @@ - - + + - - - + + + diff --git a/samples/cas/client/src/main/webapp/WEB-INF/web.xml b/samples/cas/client/src/main/webapp/WEB-INF/web.xml index 4fdd76b395..f5b60bf375 100644 --- a/samples/cas/client/src/main/webapp/WEB-INF/web.xml +++ b/samples/cas/client/src/main/webapp/WEB-INF/web.xml @@ -27,11 +27,21 @@ /WEB-INF/classes/log4j.properties + + CAS Single Sign Out Filter + org.jasig.cas.client.session.SingleSignOutFilter + + springSecurityFilterChain org.springframework.web.filter.DelegatingFilterProxy + + CAS Single Sign Out Filter + /* + + springSecurityFilterChain /* @@ -42,6 +52,10 @@ - The application context is then available via - WebApplicationContextUtils.getWebApplicationContext(servletContext). --> + + org.jasig.cas.client.session.SingleSignOutHttpSessionListener + + org.springframework.web.context.ContextLoaderListener diff --git a/samples/cas/client/src/main/webapp/cas-logout.jsp b/samples/cas/client/src/main/webapp/cas-logout.jsp new file mode 100644 index 0000000000..36f6d2b9c6 --- /dev/null +++ b/samples/cas/client/src/main/webapp/cas-logout.jsp @@ -0,0 +1,15 @@ + + + + Single-sign out? + + + +

Do you want to log out of CAS?

+ +

You have logged out of this application, but may still have an active single-sign on session with CAS.

+ +

Logout of CAS

+ + + \ No newline at end of file