For the SecurityContextHolder I went a little too fast... You don't need to
use WebContextApplication :
> configuration.add("acegiSecurityContextHolderAwareRequestFilter",
> new HttpServletRequestFilterWrapper(new
> SecurityContextHolderAwareRequestFilter()),
> "after:acegiRememberMeProcessingFilter");
>
For the loggout service, if the purpose is to use only the LogoutService...
What's the use of "acegi.logout.url" ?
By the way, it's a great work you did. You solve many of my problems in one
jar :)
Cheers,
Martin
Robin Ericsson-3 wrote:
>
> On 8/16/07, Kheldar666 <[EMAIL PROTECTED]> wrote:
>>
>> I may have two questions :
>>
>> - First is it normal that you choose not to use the
>> SecurityContextHolderAwareRequestFilter ? I used this :
>
> Is it needed? Can the filter be found without using spring beans? I
> want the library to be completly free of spring dependencies (I know I
> can't avoid Acegi using spring, but the library doesn't need to.
>
>> - I tryied to use the "loggout" feature, but it seams not working : Error
>> 404 when calling /j_acegi_logout. Should I add something somewhere ?
>
> The idea is to use the LogoutService.
>
> @Inject
> LogoutService logoutService;
>
> logoutService.logout();
>
> If that doesn't work, something is wrong :)
>
> --
> regards,
> Robin
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/-Announce--Acegi-Security-library-for-Tapestry-5-tf4279236.html#a12190506
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]