Results 1 to 4 of 4

Thread: Resource Server: OAuth2ProtectedResourceFilter

  1. #1
    Join Date
    Aug 2012
    Posts
    104

    Default Resource Server: OAuth2ProtectedResourceFilter

    Dave,

    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.

  2. #2
    Join Date
    Jun 2005
    Posts
    4,230

    Default

    Try OAuth2AuthenticationProcessingFilter. You shouldn't need to extend it, but if you do we'd like to hear about the use case.

  3. #3
    Join Date
    Aug 2012
    Posts
    104

    Default

    I will try it out, thanks.

    BTW when I write in my beans.xml <oauth:resource-server...> - instance of what class does it create?

  4. #4
    Join Date
    Jun 2005
    Posts
    4,230

    Default

    OAuth2AuthenticationProcessingFilter. See ResourceServerBeanDefinitionParser for details.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •