I am using the REST JSON web service that I want to protect. The service is protected by very simple Spring protection and the session is stored on the server. Therefore, before a user can access the url / api / resource, he must first log in.
I want to know how:
- Allow registered users access to my leisure api
- Allow registered customers with registered users access to my api application (e.g. GWT, Android, iOS). I do not want users to access my api if the client is not registered.
With a lot of googleing, I saw the OAuth concept, which has a three-way authentication method.
I use grails in my project, but I did not find OAuth support. Does anyone have any experience using OAuth with grails? Is Grails easy to use?
thanks for the help
Gambo source share