Re: tapestry-spring-security dynamic failure url

2009-05-27 Thread Michael Gerzabek
Borut Bolčina schrieb: The solution is a three-liner: @Inject private AuthenticationProcessingFilter apf; and apf.setAuthenticationFailureUrl("acme/login/failed"); in method void onActivate(EventContext eventContext) Should have tried that before asking :-| Thanks, Borut

Re: tapestry-spring-security dynamic failure url

2009-05-27 Thread Borut Bolčina
The solution is a three-liner: @Inject private AuthenticationProcessingFilter apf; and apf.setAuthenticationFailureUrl("acme/login/failed"); in method void onActivate(EventContext eventContext) Should have tried that before asking :-| Thanks, Borut 2009/5/27 Michael Gerzabek

Re: tapestry-spring-security dynamic failure url

2009-05-26 Thread Michael Gerzabek
Hi Borut, Sorry, didn't have such an issue. Maybe you want browse the SS-Forum. There are some threads about this issue [1]. In case the searchid gets lost use [2] and be aware there are other threads either. Cheers, Michael [1] http://forum.springsource.org/search.php?searchid=5332409 [2]

Re: tapestry-spring-security dynamic failure url

2009-05-26 Thread Borut Bolčina
Hi Michael, 2009/5/26 Michael Gerzabek > Borut Bolčina schrieb: > >> I need to configure AuthenticationProcessingFilter "on the fly". >> > Are you sure? Or do you just want different failureURLs? I just want a different failureURL. > > Can I >> inject the filter and call the setAuthenticat

Re: tapestry-spring-security dynamic failure url

2009-05-26 Thread Michael Gerzabek
Borut Bolčina schrieb: I need to configure AuthenticationProcessingFilter "on the fly". Are you sure? Or do you just want different failureURLs? Can I inject the filter and call the setAuthenticationFailureUrl(failureUrl) in my page class? I want to have different failureUrl based on some condi

tapestry-spring-security dynamic failure url

2009-05-25 Thread Borut Bolčina
Hi, using tapestry-spring-security 2.0.1 one can contribute public static void contributeApplicationDefaults(MappedConfiguration configuration) { ... configuration.add("spring-security.failure.url", "/login/failed"); ... } and therefore override the factory default set in Securit