This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

AnnouncementAnnouncement Module

Collapse

No announcement yet.

How to add extra exception Mappings to ProviderManagerPage Title Module

Comment

Thanks for the reply, but i am not sure how to extend this to add exceptionMappings to ProviderManager, the doAddExtraDefaultExceptionMappings(Properties) method gives handle to the class level static DEFAULT_EXCEPTION_MAPPINGS but not the instance level exceptionMappings which are being used in "public Authentication doAuthentication(Authentication authentication)".

Ahhh just looking at the code, I see your point. I also think you might have found a bug! The DEFAULT_EXCEPTION_MAPPINGS are added to the exceptionMappings in the constructor. This is then used in the doAuthentication method. I'm pretty sure the exceptionMappings properties are supposed to be passed into doAddExtraDefaultExceptionMappings(..). You could patch this yourself. I would also have a look in JIRA and see if this has already been raised.http://opensource.atlassian.com/proj...Dashboard.jspa