-
Nov 22nd, 2010, 10:41 AM
#1
customize / override oauth2 filters
Hi all,
I've seen that it is possible to inject a custom redirectStrategy in most of spring objects that perform redirections, this is great for us but we've seen the OAuth2ClientContextFilter does not allow injection of a custom redirectStrategy instead it calls response.sendRedirect() directly 
Since th filter calls response.sendRedirect() i don't think we can inject a custom redirectStrategy (I think I'll create an issue in jira about this) but I will like to know if is there a way to customize the oauth filters in order to override some behaviors (<http> <custom-filter> </http> is not allowing me to override oauth filters).
I've been thinking about creating a BeanPostProcessor to modify the filter chain and set my customized instance of the filter there but i find this pretty ugly.
Is there another way to customize an oauth 2 filter?
Thanks a lot guys
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules