Leveraging OpenID To connect Vehicle to the Cloud ALS 2017 Tokyo - - PowerPoint PPT Presentation

leveraging openid to connect vehicle to the cloud
SMART_READER_LITE
LIVE PREVIEW

Leveraging OpenID To connect Vehicle to the Cloud ALS 2017 Tokyo - - PowerPoint PPT Presentation

Leveraging OpenID To connect Vehicle to the Cloud ALS 2017 Tokyo Fulup Ar Foll Lead Architect fulup@iot.bzh Who Are We ? Securing AGL V2C with OpenIDconnect May-2017 2 V2C Multiple Requirements Car to Cloud Telematics Car


slide-1
SLIDE 1

Leveraging OpenID To connect Vehicle to the Cloud

ALS 2017 Tokyo

Fulup Ar Foll Lead Architect fulup@iot.bzh

slide-2
SLIDE 2

May-2017

Securing AGL V2C with OpenIDconnect

2

Who Are We ?

slide-3
SLIDE 3

May-2017

Securing AGL V2C with OpenIDconnect

3

V2C Multiple Requirements

  • Car to Cloud
  • Telematics
  • Car sharing, Fleet management
  • Profiling
  • Real time Update Traffic/Map
  • Cloud to Car
  • User Preferences
  • SOTA, Streaming Music, Traffic
  • Car to Infrastructure
  • Payment
  • Car to City
  • Car to Home
slide-4
SLIDE 4

May-2017

Securing AGL V2C with OpenIDconnect

4

V2C MUST fix issues

  • Potential open door for cyber-attack ?
  • Who own and controls the data ? What’s about user

privacy ?

  • How to provide the right user experience with on time to

the market innovations ?

  • How to open popular to non-automotive services (Spotify,

Facebook, Paypal, …)

  • How to keep the service running for 25 years?
  • ...
  • Last but not least, where to find skill developers ?
slide-5
SLIDE 5

May-2017

Securing AGL V2C with OpenIDconnect

5

AGL Microservices Architecture

Cluster

Carte handling Localistion management POI

CAN GPS

Geopositioning Virtual Signal

Multi ECU & Cloud Aware Architecture

Entertainement

CAN-BUS Virtual Signal

Gyro, Acelerometer CAN-BUS LIN-BUS Engine-CAN-BUS ABS

Transport & ACL Head Unix

Direction Indication

Cloud

Log Analytics

No-SQL Engine Statistics & Analytics

Transport & ACL My Car Portal

Paiement Subcriptions Preference

Preferences & Custumisation

MongoDB Engine Paiement Service

Cluster Virtual Signal

Transport & ACL Navigation Service

Maintenance Portal

Know Bugs Maintenances Service Packs

slide-6
SLIDE 6

May-2017

Securing AGL V2C with OpenIDconnect

6

AGL-DD API Description Model

slide-7
SLIDE 7

May-2017

Securing AGL V2C with OpenIDconnect

7

OpenAPI Binding Description

slide-8
SLIDE 8

May-2017

Securing AGL V2C with OpenIDconnect

8

AGL-DD Security Model

Not ready yet for Cloud SaaS

Agent-2 Car Environement Agent-3 Engine Agent-4 Remote Signal

CAN Bus-A LIN Bus-A Audio CAN Bus-B Cluster-Unit

...

Smart City RVI Cloud

Transport + Acess Control

Navigation Service

Carte handling POI management etc...

Log/Supervision Service

Carte handling POI management etc...

MultiMedia Service

Media Player Radio Interface etc...

Distributed Application Architecture

MAC Enforcement Smack Cgroups NameSpace Containers

Application Framwork Live Cycle Management

Start,Stop,Pause,Install,Remove,...

slide-9
SLIDE 9

May-2017

Securing AGL V2C with OpenIDconnect

9

Why OpenID Connect ?

  • Inherit from SAML2 protocols models
  • Over 10 years of lesson learn on massive deployment
  • Support of privacy and data protection built in
  • Simpler to deploy than SAML2
  • Low level based on REST, SSL, JSON
  • High Level based on oAuth2, JWT(Json Web Token),JWS(Json Web Signature)
  • Toolkit available in multiple languages
  • Supported natively or flavoured by many internet providers

(Facebook, Google, Paypal, …), but also by many governments

  • Community
  • Active & well known
  • Open to custom profile
  • Ready to work with AGL
slide-10
SLIDE 10

May-2017

Securing AGL V2C with OpenIDconnect

10

OpenID members

Companies involve OpenId Development Contributors included a diverse international representation of industry, academia and independent technology leaders: AOL, Deutsche Telekom, Facebook, Google, Microsoft, Mitre Corporation, mixi, Nomura Research Institute, Orange, PayPal, Ping Identity, Salesforce, Yahoo! Japan, among other individuals and organizations.

slide-11
SLIDE 11

May-2017

Securing AGL V2C with OpenIDconnect

11

OpenID Simple Flow

Slide Credit Nov Matake, OpenID Japan

slide-12
SLIDE 12

May-2017

Securing AGL V2C with OpenIDconnect

12

OpenID Connect Detail Flow

Slide credit axway.com

slide-13
SLIDE 13

May-2017

Securing AGL V2C with OpenIDconnect

13

Global Architecture

ws-client:tcp://hostname:port/MyAPI ws-server:tcp://hostname:port/MyAPI

Local Binding Remote Binding

(1) Request API (2) Request AuthZ (clientID@IDP, scope, ..)

Identity Agent

(3) Forward AuthZ Request

IDP (Identity Provider)

e.g. www.mycarportal.net

(4) Request AuthZ on behalf Remote (clientID, scope, ..)

Consent/Authentication User UI

(5) Redirect Authentication URL for User consent (7) User Consent/Authentication Interaction (7) Forward IDP redirect (9) Return AuthCode (10) Forward AuthCode (11) Forward AuthCode (12) Provide AuthCode (13) Receive User Info

slide-14
SLIDE 14

May-2017

Securing AGL V2C with OpenIDconnect

14

Data Model

(UsrID) Local User Profile

  • Name
  • Email
  • Etc.

(AppID) Local App Profile

  • ClientID
  • Autority, Scope
  • Session Token/Timeout
  • Persistant Data
  • Etc.

(FedID) IDP pseudonym

  • usrID@IDP
  • usrProfile@IDP
  • AuthZ token
  • Session Token/Timeout
  • Etc.

Identity Agent Data Structure

slide-15
SLIDE 15

May-2017

Securing AGL V2C with OpenIDconnect

15

Work To Be Done

  • AGL Binding Protocol Extension
  • Native integration of OpenID Connect
  • Support for use interaction (consent, authentication)
  • Access Controls
  • LOA
  • Hook for roles/group
  • Link with existing privilege model
  • Authentication
  • Webview for Authentication/Consent
  • Map authentication devices (NFC, FiDO)
  • Define API for custom API
slide-16
SLIDE 16

May-2017

Securing AGL V2C with OpenIDconnect

16

Further Information

  • Specifications: http://openid.net/connect
  • Introduction http://openid.net/connect/faq
  • Deep dive in protocols: [Following videos are pretty technical, while they relates to
  • ne of pevious live project they may help to understand OpenID protocols. Please ignore 1st

videos which are related to the installation of the project, last ones demonstrate protocols through a live debug session]

  • French http://breizhme.net/fr/video-technique (2nd & 3rd videos)
  • English http://breizhme.net/en/(last video)

Warning: When searching for information you should be aware that OpenID- connect has 100% different from OpenID-v1/v2.