antalk / Tapestry-Spring-Security

A Tapestry 5.3.x spring based security library
11 stars 6 forks source link

Override UsernamePasswordAuthenticationFilter #11

Open tnodev opened 10 years ago

tnodev commented 10 years ago

Hello,

I want to override the UsernamePasswordAuthenticationFilter to use my own SavedRequestAwareAuthenticationSuccessHandler. I want to associate each ROLE to a specific page.

I found a solution with t5.2 but I can't do it with t5.3.

Is there a simple way to do it ?

thanks, Thomas

tnodev commented 10 years ago

OK, my fault !

I use configuration.add instead of configuration.override...

I think my problem could by an entry to the wiki, no ?