Announcement Announcement Module
Collapse
No announcement yet.
missing Exceptions mapping in AbstractProcessingFilter Page Title Module
Move Remove Collapse
This topic is closed
X
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • missing Exceptions mapping in AbstractProcessingFilter

    unsuccessfulAuthentication method of AbstractProcessingFilter only maps 5 exceptions. There are almost 12 subclasses of AuthenticationException. Could you please add the other exceptions as well? and similarly get/set methods for the urls for the same exceptions? I need to show different messages on pages based on different exceptions especially I need AccountExpiredException and accountExpiredFailureUrl.

    Thanks

    Ghazenfer

  • #2
    or I would prefer to have a map of AuthenticationException types with redirection URLs, that way, will not have to look to change in a code if I add a new subclass of AuthenticationException and may want to redirect to a different url based on this.

    Comment


    • #3
      We've already refactored AbstractProcessingFilter to use a Map of exceptions to target URLs. Unfortunately this was not included in release 0.8.1, but is in CVS and will be part of the next release.

      Comment

      Working...
      X