Difference between
version 8
and
version 7:
| At line 20 changed 1 line. |
| * [acegi-security-0.8.1-SNAPSHOT.jar|https://appfuse.dev.java.net/source/browse/*checkout*/appfuse/lib/spring-1.1.5/acegi-security-0.8.1-SNAPSHOT.jar] |
| * [acegi-security-0.8.1.jar|https://appfuse.dev.java.net/source/browse/*checkout*/appfuse/lib/spring-1.1.5/acegi-security-0.8.1.jar] |
| At line 145 changed 2 lines. |
| !!Add code to LoginFilter to logout succeeds [#8] |
| In ''src/web/org/appfuse/webapp/filter/LoginFilter.java'', add code to set Acegi's Context to null. Invalidating the session should work, but I was unable to get this to work. [Here's the diff|https://appfuse.dev.java.net/source/browse/appfuse/src/web/org/appfuse/webapp/filter/LoginFilter.java?r1=1.11&r2=1.12] to show you where to make this change. |
| !!Add code to logout.jsp to logout succeeds [#8] |
| In ''web/logout.jsp'', add code to invalidate the session (before the redirect). Invalidating the session in ''LoginFilter.java'' should work, but it doesn't. |
| At line 148 added 2 lines. |
| {{{<% session.invalidate(); %>}}} |
|
Back to AppFuseAuthentication,
or to the Page History.
|