Is there a OAuth2 library for Java / Android already? [closed] - java

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I don't want to code things that already exist...

Check mature and lightweight leeloo OAuth 2.0 Java library: http://leeloo.smartam.net/
It implements draft 10 of OAuth 2.0 specification and help you to build client, authorization and resource server.
It was not tested on an Android platform, but you are welcome to provide a feedback.

I know this post is a little old, but since google always directs me to this one when I search for an Android OAuth 2.0 library, I think I need to tell you about OAuth2Android:
Currently it supports Bearer-Tokens and MAC-Tokens based on the
specifications:
draft-ietf-oauth-v2-16
draft-ietf-oauth-v2-bearer-06
draft-ietf-oauth-v2-http-mac-00
Other extensions are also possible and it will be updated.
You need at least Android Platform Version 2.3.3; API Level 10.
You can get it here:
https://github.com/Xotan/OAuth2Android
or
git#github.com:Xotan/OAuth2Android.git
regards Christoph

OAuth 2 is still in draft stage (as of this writing, draft 10).
For now, Apache has an incubator project called Apache Amber which is:
"...a Java development framework mainly aimed to build OAuth-aware
applications"

FYI, the Scribe java library is awesome - great docs, simple and dedicated to oauth.
https://github.com/fernandezpablo85/scribe-java/wiki/getting-started

The google-oauth-java-client is written by Google, and supports OAuth 1.0 and 2.0 (draft 10)

Here is the list of OAuth libraries proposed by Twitter development wiki: http://dev.twitter.com/pages/oauth_libraries#java
Currently at least one of the mentioned libraries is qualified as mature by Twitter developers. I think we can trust their expertise in OAuth.

Leeloo worked great with Github.
https://bitbucket.org/smartproject/oauth-2.0/wiki/Home

Related

Importing/Exporting Google Contacts in Java App [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I'm developing a Java Application (A phone-book in fact) and I need a java library to import/export my google account's contacts in the application. Is there any library which makes it easier than the APIs google has introduced in its website?
Thanks in advance :-)
Two popular libraries are:
Google OAuth2 API Libraries for Java: focused on Google OAuth2 APIs;
Apache Oitu: OAuth/OAuth2 protocol implementation in Java. It also covers others "OAuth family" related implementations such as JWT, JWS and OpenID Connect.
Both have Maven support.
Another possible solution is to use broad address book services like CloudSponge.com, which offers a Java API and support for other popular sources, in case you're planning beyond just Gmail.

WebDav Server library preferably in Java [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I have an app used to manage files and folders that exposes services through an homemade RESTFul Api and I would like to add Webdav features so that files that I host can be easily accessed through standard file explorers or directly modified via MS Office and related software.
I'm looking for a server Webdav library preferably in Java to build a really simple application that would be a bridge between incoming Webdav request and my Api. Main requirement is that the Api has to support Webdav level 2 features (locking).
I have tried the Milton Api once in the past but they have changed their licensing to AGPL3 and I don't want to make my whole application AGPL3 nor can afford the commercial license so I'm looking for other alternatives.
What Api do you use or recommend?
Thanks.
If you're not tied to java you could use SabreDav (PHP).
Just clarifying milton's licensing (was changed recently) all the DAV level 1 features are available in an apache2 licensed jar which is all you need for the use cases mentioned in the question.
The AGPL+commercial license applies to the extension jar which provides locking, calendar and contacts.
Cheers,
Brad
Milton is using the Apache 2 license: https://github.com/miltonio/milton2/blob/master/LICENSE.txt
Only the enterprise extensions use AGPL.
From the homepage:
Milton.io is a Java Webdav Server Library supporting Webdav level 2, CalDav, CardDav.
Integrate your java web app with desktop and mobile devices for files, calendars and contacts
Your data could be relational databases, file system, web services or any other data source
Supports Windows, Mac, Linux, Android and iOS devices, and pretty much everything else.

Moodle with Java Or any other LMS that fits this requirement [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
My requirement is to access moodle as a backend engine and front end will be mint in Java[jsf]
now I want to know that is there any interface available to access Moodle from Java , using WebServices or any APIs or anything.
Initially I tried using Sakai which is in Java, but the problem is there is no clear API written for it.
So let me know the option for using Moodle from JAVA.
Also if it is possible than what will be the feature available through the WebServices or API. ?
Or any other LMS that is in Java and provide API or WebService to make this working.
I reviewed many LMS (dokeos, docebo, ATutor) last year and to be frank all of them sucked. Moodle was the most stable, had more plugins and a huge community.
I came across Project Sakai, I havn't tried it, but sounds promising. Something very interesting from Google is cloudcourse (in python I guess, but looks awesome demo). But not a complete LMS (compared to moodle).
You forgot to add Chamilo they have a list of available web services (SOAP) that you can use to create courses, users, add users to courses, etc
https://www.olat.org/ and https://www.openolat.com seem a good alternative to moodle.

OData Provider in Ruby/Java [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
Are there any OData provider SDKs for Ruby or Java?
There are providers for Ruby and Java here:
http://www.odata.org/developers/odata-sdk
Edit: Previous link is broken, as mentioned below the listing is here http://www.odata.org/libraries/
there is a project called odata4j on googlecode that can be used to implement producers and consumers. But i haven't tried it yet
Apache Olingo http://olingo.apache.org/ provides an OData Java Library that implements the Open Data Protocol 2.0, support for 4.0 is in Beta.
There are none, unfortunately.
There are only clients. I've used ruby_odata successfully. It works well against a simple model and provides mappings for all the basic query options, although you do need to know the operators (like eq, substringof, etc).
I did run into a more complex model and needed to tweak the code a bit. It's easy to pick up on: http://odetocode.com/Blogs/scott/archive/2010/07/11/odata-and-ruby.aspx
I published Safrano a few days ago. It's a small ruby based OData provider framework. It's far from complete and a bit experimental, but it may have some use case nevertheless

Recomended GWT Frameworks for single page application [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
After google around, I have to ask this question on StackOverflow.
There are frameworks around, but most of them are from 2008 2009, unmaintained, multipage or will not work with GWT 2.0
What are the recommended framework should I use for a single page application that will scale most in term of deploy? 1 language is a plus point because GWT is all about 1 language, beside if we tune the server to run Java and serve HTML pages, it will be faster.
But any framework that works and good is okay also.
Thanks :)
In addition to Jay Askren's suggestions, another good framework is gwt-platform, which is a combination of two other good frameworks, gwt-presenter and gwt-dispatch.
I recommend watching this from last year's Google IO. They recommended using the Model-View-Presenter pattern for GWT apps. Here is one implementation of this pattern.
The following from this year's GoogleIO might also be helpful:
http://code.google.com/events/io/2010/sessions/architecting-performance-gwt.html
http://code.google.com/events/io/2010/sessions/architecting-production-gwt.html
I should also mention that GWT is a framework in and of itself. The above are more best practices on how to use the framework.
Have you looked at Sencha GXT? It's a single page framework.
http://www.sencha.com/products/gxt/
I think it's also important to note that GWT 2.1 will include a lot of application framework pieces. From what I've seen so far on the contributor mailing list, it should include:
MVP framework
EventBus integration
PlaceManager for navigation
Data presentation widgets (i.e. data binding)
Validation hooks? (JSR-303 annotations recently committed)
So make sure to check out vanilla GWT 2.1 M2 as well.

Categories