Feb 25th, 2011, 11:05 AM
RestTemplate + Spring Security
Up until now i have been pretty sure that i wanted to use Oauth to secure access to my Spring security secured Webservices.... just as it is with the Greenhouse android app.
Having read up on OAuth i really think it is not the correct choice for me, primarily because the consumer is my own app, any data im sharing is being shared with an app that ive written and as such trust. My webservices will never be made available to a third party, there isnt even a need to limit the access as with a vallet type pattern.
1) am i making the right choice, ie dropping OAuth because it seems like a sledge hammer?
2) How would i use the RestTemplate to access spring Secuity secured services? .... this is the biggy.
many thanks in advance