View Full Version : Location of OAuth2ClientContextFilter in Filter Chain
mcgin
Feb 7th, 2011, 03:51 AM
Is there any reason why the OAuth2ClientContextFilter is placed after the ExceptionTranslationFilter. Could it be moved up the filter chain without any issues?
stoicflame
Feb 9th, 2011, 01:12 AM
If OAuth2AccessTokenRequiredException gets thrown, the context filter needs to intercept it before it gets to the ExceptionTranslationFilter so it can redirect the user appropriately. So I think it does need to go after.
mcgin
Feb 10th, 2011, 06:24 AM
Thanks stoic, I thought that might be the case
Powered by vBulletin® Version 4.2.1 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.