Oct 22nd, 2012, 09:50 AM
Resource Server: OAuth2ProtectedResourceFilter
Trying to upgrade from M6 to RC2a, I've encountered another challenge: in my resource-server, suppose I want to extend the OAuth2ProtectedResourceFilter. In M6 it was easy, however in RC2a I see OAuth2ProtectedResourceFilter was removed. What is the reason, and what replaces it?
when I write in my beans.xml <oauth:resource-server...> - what class does it create?
Last edited by OhadR; Oct 22nd, 2012 at 11:47 AM.
Oct 22nd, 2012, 11:27 AM
Try OAuth2AuthenticationProcessingFilter. You shouldn't need to extend it, but if you do we'd like to hear about the use case.
Oct 22nd, 2012, 11:47 AM
I will try it out, thanks.
BTW when I write in my beans.xml <oauth:resource-server...> - instance of what class does it create?
Oct 23rd, 2012, 02:47 AM
OAuth2AuthenticationProcessingFilter. See ResourceServerBeanDefinitionParser for details.
Tags for this Thread