So logout results in a 404? What happens if you remove logoutFilter
from security.xml (as a bean definition and in the filterChain) and
replace it with a web/logout.jsp page that has the following:
<%@ include file="/common/taglibs.jsp"%>
<%@ page import="javax.servlet.http.Cookie" %>
<%@ page import="org.acegisecurity.ui.rememberme.TokenBasedRememberMeServices"
%>
<%
session.invalidate();
Cookie terminate = new
Cookie(TokenBasedRememberMeServices.ACEGI_SECURITY_HASHED_REMEMBER_ME_COOKIE_KEY,
null);
terminate.setMaxAge(0);
response.addCookie(terminate);
%>
<c:redirect url="/mainMenu.html"/>
Matt
On 1/5/07, Jonathan Tse <[EMAIL PROTECTED]> wrote:
Matt,
I mean, I deploy the sample app comes with acegi tarball and both
login and logout work fine. However, it seems that logout doesn't in
appfuse.
Best regards,
Jonathan
Matt Raible wrote:
> If both login and logout work - what's the issue? Can you please enter
> an issue in JIRA with steps to reproduce? Also, you could try
> WebSphere CE - it should work fine on there.
>
> Matt
>
> On 1/5/07, Jonathan Tse <[EMAIL PROTECTED]> wrote:
>> Matt,
>>
>> Login does work. However, I tried to deploy acegi sample app to
>> websphere and both login and logout work! Seems it is an appfuse problem
>> coz it is a stock appfuse.
>>
>> Jonathan
>>
>> Matt Raible wrote:
>> > Is it just the logout that doesn't work? Does login work? If it's
>> > logout, it's probably related to Acegi's LogoutFilter.
>> >
>> > Matt
>> >
>> > On 1/5/07, Jonathan Tse <[EMAIL PROTECTED]> wrote:
>> >> Hi all,
>> >>
>> >> Sorry. It seems that 1.0.3 doesn't work too. I am finding out
>> >> why....
>> >>
>> >> Best regards,
>> >> Jonathan
>> >>
>> >> Jonathan Tse wrote:
>> >> > Hi all,
>> >> >
>> >> > Just want to let you know that websphere 6.0.2 doesn't work with
>> >> > 1.01. When I click logout.jsp, it returns a 404. I have tried
>> 1.0.3,
>> >> > it works fine.
>> >> >
>> >> > Please note that appfuse 1.9.3 still bundle acegi 1.0.1. All you
>> >> > need to do is replacing the jar.
>> >> >
>> >> > Best regards,
>> >> > jonathan
>> >> >
>> >> >
>> ---------------------------------------------------------------------
>> >> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> > For additional commands, e-mail: [EMAIL PROTECTED]
>> >> >
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> For additional commands, e-mail: [EMAIL PROTECTED]
>> >>
>> >>
>> >
>> >
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
http://raibledesigns.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]