Correction to myself: tapestry5-acegi version: 1.0.3 As I said, it looks like there is a missing collaborator in the standard Acegi ProviderManager.
It properly catches the CredentialsExpiredException that was thrown by the UsernamePasswordAuthenticationToken and tries to publish the event, but the ProviderManager.applicationEventPublisher is null. I don't know the inner mechanics of Acegi nor tapestry-ioc well enough to inject that dependency myself, so help would be appreciated. Regards, Olle 2008/3/14, Olle Hallin <[EMAIL PROTECTED]>: > > Hi! > > I single-stepped through the problem, and it looks like > org.acegisecurity.providers.ProviderManager.publishEvent() is swallowing > the exception > because the > org.acegisecurity.providers.ProviderManager.applicationEventPublisher == > null. > > Acegi Security version = 1.0.6 > > Regards, > Olle > > > 2008/3/14, Robin Helgelin <[EMAIL PROTECTED]>: > > > > On Fri, Mar 14, 2008 at 2:55 PM, Olle Hallin <[EMAIL PROTECTED]> > > wrote: > > > Hi! > > > > Hi. > > > > > > > Now the problem is that despite having the symbol " > > acegi.accessDenied.url" > > > defined to "/loginrejected", no forwarding to this page occurs. > > > > > > I have verified that the AccessDeniedHandlerImpl has been injected > > with this > > > value by removing the leading slash. (AccessDeniedHandlerImpl throws > > when > > > errorPage > > > does not start with '/') > > > > > > What does acegi-logging say? I heard a few others say that access > > denied was non-working, and as I haven't tested this code myself I > > don't really know whethers it's tapestry5-acegi or Acegi itself. > > > > > > -- > > regards, > > Robin > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > Olle Hallin M.Sc. > +46 70 6653071 > [EMAIL PROTECTED] > www.hit.se > -- Olle Hallin M.Sc. +46 70 6653071 [EMAIL PROTECTED] www.hit.se