Migrate Linaro License Protection to use Atlassian Crowd Authentication API

Registered by Paul Sokolovsky

We're migrating from Launchpad to Linaro Atlassian Crowd install as our primary platform for authentication and group management. Linaro License Protection application should be update to authenticate users against Crowd API.

Blueprint information

Status:
Complete
Approver:
None
Priority:
High
Drafter:
Milo Casagrande
Direction:
Approved
Assignee:
Paul Sokolovsky
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
milestone icon 2013.05
Started by
Paul Sokolovsky
Completed by
Paul Sokolovsky

Related branches

Sprints

Whiteboard

Meta:
Headline: releases.linaro.org & snapshots.linaro.org were updated to authenticate against Linaro SSO.
Acceptance: Launchpad groups referenced by builds' BUILD-INFO files are migrated to Crowd, linaro-license-protection was updated to use Crowd API to authenticate users and query group information.

We cannot just switch to Crowd as OpenID provider, because it doesn't support OpenID groups extension as provided by Launchpad.

[philip-colmer 2013-05-14] My suggestion is to implement authentication using the Crowd REST APIs:
https://developer.atlassian.com/display/CROWDDEV/Crowd+REST+APIs
[pfalcon 2013-05-21] Got test credentials for Crowd API from Philip, following works on staging.snapshots: "elinks https://login.linaro.org:8443/crowd/rest/usermanagement/1/user?<email address hidden>"
[pfalcon 2013-05-28] Refactor of l-l-p group auth was posted: https://code.launchpad.net/~pfalcon/linaro-license-protection/crowd-auth/+merge/166047

(?)

Work Items

Work items:
Study Crowd REST API docs: DONE
Setup test account for Croud API access (ITS): DONE
Make simple standalone test for API querying: DONE
Refactor l-l-p to define reusable interface for group auth: DONE
Add Crowd auth support to l-l-p: DONE
Deploy Crowd auth for testing on staging.snapshots: DONE
Deploy Crowd auth on production: DONE

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.