What is the fastest/easiest way to get an OAuth provider running in Java? Specifically, I nee开发者_JAVA百科d to authorize third-party apps to access certain web services (I'm thinking token authentication using OAuth).
I've been looking at Jersey's OAuth extension, but as mentioned here, it doesn't provide a full-fledged Service Provider.
There are a few Java libraries out there for OAuth. Specifically, I'd have a look at this one. I haven't used it myself, but there is an example for running an OAuth Service Provider.
There's a list of libraries available on the OAuth website: http://oauth.net/code
精彩评论