-
Feb 20th, 2013, 08:27 AM
#11
You do not have the Spring dispatcher servlet in web.xml. you can refer my web.xml.
-
Feb 25th, 2013, 02:56 AM
#12
Hi akawale,
What is the "ServiceContextFilter" in your web.xml?
And, do you use RESTeasy?
Thanks,
Arun.
-
Feb 25th, 2013, 08:29 AM
#13
You can ignore ServiceContextfilter. Thats for our internal logging.
No we don't use RestEasy. We actually are not having the Oauth2 configuration in our actual Web service. We created a separate service which is just a servlet. It has the web.xml I have shared. This service takes the Oauth2 token request(/Oauth/token) grants token.
Then when the actual web service request comes, it comes to this service first. This service authorizes it then forwards it to the relevant service based on URL. This service just has a servlet to do the forwarding.
Our actual web service use Jersey(and NOT REST easy) API.
-
Mar 4th, 2013, 04:59 AM
#14
Hi akawale,
In your client code, there is no authentication step. How do you login to the application, before getting the access token?
Thanks,
Arun.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules