The Alfresco API Steven Glover Gethin James Peter Monks.

Slides:



Advertisements
Similar presentations
The How of OAuth OAuth Hackathon – Six Apart
Advertisements

Different Approaches to Single-Sign-On Jeff Kahn, Verbena Consulting.
The Cambridgeshire Education Portal
FI-WARE Testbed Access Control temporary solution.
OAuth 2.0 By “PJ” (JP on meetup.com) iOS and PHP developer, and occasional lawyer Contact me via:
Using Evernote and Google Docs in your web or mobile application (and potentially Dropbox and Skydrive) By Peter Messenger Senior Developer – Triple Point.
A Blackboard Building Block™ Crash Course for Web Developers
Key Provisioning Use Cases and Requirements 67 th IETF KeyProv BOF – San Diego Mingliang Pei 11/09/2006.
© 2012 Cisco and/or its affiliates. All rights reserved. Presentation_ID Cisco Public Quad APIs and SDK Preview Sachin Smotra Product Manger, Enterprise.
GRDevDay March 21, 2015 Cloud-based Identity for Applications.
Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Building Secure Applications.
Google App Engine Google APIs OAuth Facebook Graph API
OAuth-as-a-service using ASP.NET Web API and Windows Azure Access Control Maarten
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Web technologies: HTTP, CGI, PHP,Java applets)
New Relic Business Enablement Team New Relic Business Enablement Team New Relic Confidential — do not distribute.
Extranet Enhancements JTC Spring 2015 May 13, 2015.
Google Cloud Messaging for Android (GCM) is a free service that helps developers send data from servers to their Android.
1 Media Production Support v1 5 May 2010 Blake Crosby June 2, 2010 Standards Documents.
1 The World Bank Internet Services Program Rajan Bhardvaj
Windows Server Active Directory Intranet Managed Access Managed Identities Integrated Business Apps.
Jamie Hall (ILL). SciencePAD Persistent Identifiers Workshop PANData Software Catalogue January 30th 2013 Jamie Hall Developer IT Services, Institut Laue-Langevin.
 Facebook Integration on iOS Phan Thanh Phat Huynh Thanh Van.
Facebook API Kelly Orser. Client Libraries Client libraries will simplify the calls to the platform by reducing the amount of code you have to write.
Unified Cloud Storage Navneet Joshi, Apoorva Gupta, Gurinder Pal Singh Today there are a number of cloud storage services (Dropbox, Google drive, Box).
Copyright © The OWASP Foundation Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation.
Your friend, Bluestem. What is Bluestem? “Bluestem is a software system which enables one or more high-security SSL HTTP servers in a domain (entrusted.
ICM – API Server & Forms Gary Ratcliffe.
Adxstudio Portals Training
ICM – API Server Gary Ratcliffe. 2 Agenda Webinar Programme API Server Overview JSON-RPC iCM API Service API Server and Forms New services under.
Esri UC 2014 | Demo Theater | Using ArcGIS Online App Logins in Node.js James Tedrick.
DSpace System Architecture 11 July 2002 DSpace System Architecture.
What’s New Data Loss Prevention 14. Information is Everywhere Brings Productivity, Agility, Convenience ……and Problems Copyright © 2015 Symantec Corporation.
Introducing the Central Authentication Service (CAS) Shawn Bayern Research programmer, ITS Technology & Planning Author, Web Development with JavaServer.
Secure Mobile Development with NetIQ Access Manager
Today’s Applications Web API Browser Native app Web API Web API
Digital Disruption, Alfresco, and Digital Signatures Brian LaPointe VP Sales, Americas CoSign by ARX.
#SummitNow Consuming OAuth Services in Alfresco Share Alfresco Summit 2013 Will Abson
Share Enhancements David Webster. Introduction Me: David Webster Alfresco Engineer Joined April 2010 UI The Session: Share Enhancements:
Driving Innovation V Technology Strategy Board IC tomorrow Application Developer Overview.
#SummitNow First Steps with CMIS & Alfresco Jeff
Explore Various Options for Bulk File Transfer out of Alfresco Craig Tan Technical Account Manager.
THE API AN INTRODUCTION TO THE MINISTRYPLATFORM APPLICATION PROGRAMMING INTERFACE STEPHEN WAREHAM.
The Alfresco iOS SDK Gi Lee (Zia Consulting) Peter Schmidt (Alfresco)
#SummitNow Managing Mobile Content Wednesday 13 th November 2013 Mike Hatfield, Lead Engineer Mobile Apps, Alfresco Marc Dubresson, Dir. Mobile Product.
Redmond Protocols Plugfest 2016 Ron Starr, Paul Bartos, Hagit Galatzer, Stephen Guty New and Modified Windows Protocol Documents.
4/18/2018 1:15 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Consuming OAuth Services in Alfresco Share
Federation made simple
2016 “OPEN IN ACTION”.
Getting Started with Alfresco Development
Migrating SharePoint Add-ins from Azure ACS to Azure AD
Data Virtualization Tutorial… OAuth Example using Google Sheets
Lesson 11: Web Services & API's
All about social networking
Getting started with Alfresco Development
WStore Programmer Guide
Dynamic DNS support for EGI Federated cloud
FHIR BULK DATA API April 2018
Office 365 Development July 2014.
IOS SDK v1.0 with NAM 4.2.
Office 365 Development July 2014.
Agenda OAuth Concepts Programming OAuth.
SharePoint Online Authentication Patterns
ACS Architecture.
Office 365 Development.
Western Mass Microsoft Technology Users Group
Computer Network Information Center, Chinese Academy of Sciences
D Guidance 26-Jun: Would like to see a refresh of this title slide
Presentation transcript:

The Alfresco API Steven Glover Gethin James Peter Monks

Agenda 1.Introductory presentation – 10 mins 2.Developer portal – 10 mins 3.Coding exercise – 60 mins 4.Where to get help – 5 mins 5.Future direction – 5 mins 6.Q&A – as time permits

Objective: To leave this session with a functioning Alfresco Cloud application of your own. Format: Short introductory presentation followed by lengthy coding exercise.

Logistics: These two sessions are being run as a single session without a formal break. Please feel free to take breaks whenever you’d like! USB drives are being distributed through the audience – please copy the files on them to your local machine, then pass the drive on.

The Alfresco API Folder, file, content and metadata manipulation and search Networks, sites, people, comments, tags, activities, …

OAuth2 What is OAuth2? Defined in RFC-6749RFC-6749 Secure authentication 3 rd party apps don’t ever see the user’s password Unambiguously identifies: API provider (e.g. Alfresco) Client application (e.g. your application) End-user (e.g. an Alfresco Cloud user) How are we using it in Alfresco? Used to secure the Alfresco API Only authentication mechanism provided for APIs in Alfresco Cloud

OAuth2 – Registering an App Application Developer Alfresco Developer Portal Creates developer profile Assigns an API key and secret for that app Signs up on developer portal Registers an application

OAuth2 – Authorisation ApplicationAlfrescoEnd-User Links to Alfresco authorisation page, passing API key & secret Asks the user to authorise the app User authorises the app to access their account Redirects to your app’s callback URL, passing authorisation code Exchanges the authorisation code for an access token Returns access and refresh tokens Securely persists the access and refresh token for that user

OAuth2 – API Calls Calls APIs, passing the access token in the Authorization HTTP header Identifies user from access token, executes API call ApplicationAlfresco

OAuth2 – Refresh Flow Calls APIs, passing the access token in the Authorization HTTP header Returns 401 error, indicating access token has expired Refreshes access token, passing refresh token Returns new access token ApplicationAlfresco Calls APIs, passing the access token in the Authorization HTTP header Identifies user from access token, executes API call

Developer Portal

Coding Exercise

Where to Get Help Ply Steve, Gethin and Peter with these: Resources Alfresco API forum #alfresco on freenode IRC Alfresco Technical Discussion Google Group Source Code Code from This Session Spring Social Alfresco Library Peter’s Grails ExamplePeter’s Grails Example Jeff’s Java ExamplesJeff’s Java Examples Jeff’s Python ExamplesJeff’s Python Examples

CMIS & Apache Chemistry in Action Everything you need to know about CMIS 1.0 & 1.1 Lots of Groovy and Java examples Also covers Python, Android, & iOS Now on MEAP! 37% off with code “12cmisal”

Future Direction More APIs: CMIS 1.1 User provisioning Transformation Workflow Records Management Rich Media Management More than APIs: Community & Enterprise Client SDKs Content models Workflow definitions Rule definitions UI extensions Alfresco Confidential Disclaimer: This list is NOT committed to the roadmap yet!

QUESTIONS?