Staff > Geoff Kneller >
Geoff's Cloud Computing Blog
Designing for Google Apps Marketplace SSO Part 1 - Background
One thing that becomes clear right away is that for your app to be accepted into Google Apps Marketplace, it must support Single Sign On using OpenID. How this applies to a Google Web Toolkit application written for Google App Engine isn't quite clear from the documentation: this blog post attempts to sort that out.
First off, it's important to consider some background on who the user will be in this scenario, and how they will be set up:
How is sign-in of such a user with a Google Web Toolkit Google App Engine application written in Java managed? A servlet running on the App Engine server uses the Google Accounts API to do something like this:
// Check if the user is logged in if(userService.isUserLoggedIn()) { // Get the current user User user = userService.getCurrentUser(); if(user != null) { // Copy strings String id = user.getUserId(); String authDomain = user.getAuthDomain(); String email = user.getEmail(); String nickname = user.getNickname();
// Copy admin status Boolean appAdmin = userService.isUserAdmin(); } } And then the results could be sent back to the client as a response to an RPC. Sign-in can be enforced by making the appropriate additions to web.xml for the application. The Google Accounts API gets you access to the user's Google account, but this isn't the same thing as OpenID. In order to meet the requirements for Google Apps Marketplace, we'll have more work to do. |
Getting Ready for Google Apps Marketplace
Google has now opened up Google Apps Marketplace, and if you're a developer of cloud computing applications using Google App Engine, you'll want to get involved! In this post, I'll begin to describe the process of getting an app ready for the marketplace from a developer's perspective. From a high-level perspective, here are the steps to get an app ready for the marketplace:
|
1-2 of 2