24
Integrating with Google Apps Shihab Hamid

Google DevFestAU - Atlassian Google Apps Integration

Embed Size (px)

DESCRIPTION

Shihab Hamid talks about the technical aspects of integrating JIRA Studio to Google Apps.

Citation preview

Page 1: Google DevFestAU - Atlassian Google Apps Integration

Integrating with Google AppsShihab Hamid

Page 2: Google DevFestAU - Atlassian Google Apps Integration

Atlassian

Fast, simple tools for software development teams

Over 50,000 customers

JIRA – Issue tracking

Confluence – Wiki

JIRA Studio – Hosted development suite

Page 3: Google DevFestAU - Atlassian Google Apps Integration

JIRA Studio + Google Apps

SVN, issues, agile planning, wiki, code review, CI

Messaging and collaboration platform

Page 4: Google DevFestAU - Atlassian Google Apps Integration

JIRA Studio + Google Apps

Page 5: Google DevFestAU - Atlassian Google Apps Integration

Agenda

Objectives

Demo

Code

Effort

Integration

Single Sign-On

Secure Data Access

Google Talk

Page 6: Google DevFestAU - Atlassian Google Apps Integration

Single Sign-On

Log in to Google Apps Implies you’re logged in to JIRA Studio

Demo

Page 7: Google DevFestAU - Atlassian Google Apps Integration

Single Sign-On: Demo

Page 8: Google DevFestAU - Atlassian Google Apps Integration

Single Sign-On: Tech

What happens behind the scenes?

dashboard

who?who?

Page 9: Google DevFestAU - Atlassian Google Apps Integration

Single Sign-On: Tech

What happens behind the scenes?

u/p

bob’s dashboard

bob

Page 10: Google DevFestAU - Atlassian Google Apps Integration

Single Sign-On: Impl

Google provides a library Based on openID4java

Implementation Servlet filter OpenID request

Identifier select Attribute exchange

Effort?

Page 11: Google DevFestAU - Atlassian Google Apps Integration

Single Sign-On: Caveats

Single sign-out?

Licensing?

Deleted users?

Password based authentication?

Page 12: Google DevFestAU - Atlassian Google Apps Integration

Secure Data Access

Google Apps offers a lot of data Mail Calendar Contacts Documents Spreadsheets Provisioning

Page 13: Google DevFestAU - Atlassian Google Apps Integration

Secure Data Access: Demo

Video

Page 14: Google DevFestAU - Atlassian Google Apps Integration

Secure Data Access

Google Apps offers a lot of data Mail Calendar Contacts Documents Spreadsheets Provisioning

Page 15: Google DevFestAU - Atlassian Google Apps Integration

Secure Data Access: Tech

OAuth 3LO

user approves access 2LO

admin globally approves access for all users

document

Page 16: Google DevFestAU - Atlassian Google Apps Integration

Secure Data Access: Impl

Google provides the libraries

Marketplace OAuth Secret Configure the APIs

Page 17: Google DevFestAU - Atlassian Google Apps Integration

Secure Data Access: Impl

manifest.xml

Page 18: Google DevFestAU - Atlassian Google Apps Integration

Secure Data Access: Caveats

One secret per app

Privilege escalation

Provisioning API access

Page 19: Google DevFestAU - Atlassian Google Apps Integration

Google Talk

Google’s answer to instant messaging

Non-standard integration point Interesting possibilities

Page 20: Google DevFestAU - Atlassian Google Apps Integration

Google Talk: Demo

Page 21: Google DevFestAU - Atlassian Google Apps Integration

Google Talk: Tech

Browser -> XHR -> REST -> XMPP -> GTalk

Comet HTTP streaming Long polling

Non-blocking I/O

Connection limit per host

Page 22: Google DevFestAU - Atlassian Google Apps Integration

Google Talk: Caveats

Password-based authentication required

Wait for websockets

Page 23: Google DevFestAU - Atlassian Google Apps Integration

Google Apps FTW!

Google has opened up their APIs

Easy to get started Get as creative and as difficult as you want

Page 24: Google DevFestAU - Atlassian Google Apps Integration

Questions?