Announcement Announcement Module
No announcement yet.
Confused about how to get started Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Confused about how to get started


    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
    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.