Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6343061
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T20:21:45+00:00 2026-05-24T20:21:45+00:00

I am using a REST JSON webservice which I want to secure. The service

  • 0

I am using a REST JSON webservice which I want to secure. The service is secured with very basic Spring security and the session is stored on the server. So before the user can access the url “/api/resource” he/she needs to login first.

I want know how to:

  • Only allow registered users to access my rest api
  • Only allow registered clients with registered users to access my rest api(e.g. GWT, Android, iOS). I dont want to let the users access my api if the client is not registered.

With a lot of googleing I saw the concept of OAuth which has the three way authentication method.

I am using grails in my project but I did not find any support for OAuth. Does anyone have experience using OAuth with grails? Is it easy to implement using Grails?

Thanks for help

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T20:21:47+00:00Added an answer on May 24, 2026 at 8:21 pm

    I’ve coded an OAuth library that is really simple and it’s known to work with Groovy.

    It’s called scribe and you can give it a try here:

    http://github.com/fernandezpablo85/scribe-java

    EDIT

    If you need to implement an OAuth provider yourself, the only library I know is the old oauth java lib.

    It’s not very well documented but it has some examples.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a WCF REST Service which accepts a JSON string One of the
I'm writing a rest service which accepts json documents with http post. I can
HI How do i add data using wcf rest architecture. I dont want to
I am using WCF and REST, and I have complex types, which are working
Anyone have idea how to pass value from iPhone application to the REST-Webservice using
I'm using Jersey to create a REST web service for a server component. The
I'm using jQuery.ajax() to make a PUT request to a REST web service, but
I've got a Silverlight app that talks to a REST web service using the
I'm using django-piston for my REST json api, and I have it all set
I made a small Rest webservice using Jersey 1.11. When i call the url

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.