Results 1 to 2 of 2

Thread: Confused about how to get started

  1. #1
    Join Date
    Mar 2011
    Posts
    1

    Default Confused about how to get started

    Hi,

    We have OAuth implemented on another server in .Net and we need to protect REST webservices written in Java under Spring MVC.

    I don't need to implement a new OAuth server just check that requests have a valid access token. This will then talk to the .Net webservices to check.

    How do I go about doing this? I have looked at the example code and documentation and haven't seen much to go on.

    Can I just implement some kind of filter to do this?

    Thanks for your help

  2. #2
    Join Date
    May 2008
    Location
    Salt Lake City
    Posts
    167

    Default

    Basically, it's a matter of applying an instance of ProtectedResourceProcessingFilter to your REST requests.

    It's a servlet filter, so you may not even need to bring in the whole spring framework, but then you'd have to wire it up and configure it by hand.

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
  •