RMLL 2013 - The SAML Protocol: Single Sign On for skilled people

26
SAML, SSO for skilled people Clément OUDOT RMLL 2013

description

Presentation of Single Sign On and SAML (Security Assertion Markup Language)

Transcript of RMLL 2013 - The SAML Protocol: Single Sign On for skilled people

Page 1: RMLL 2013 - The SAML Protocol: Single Sign On for skilled people

SAML, SSO for skilled people

Clément OUDOTRMLL 2013

Page 2: RMLL 2013 - The SAML Protocol: Single Sign On for skilled people

2

Table of contents● Single Sign On● SAML Protocol

Page 3: RMLL 2013 - The SAML Protocol: Single Sign On for skilled people

3

Resume

Page 4: RMLL 2013 - The SAML Protocol: Single Sign On for skilled people

4

Clément OUDOT● Engineer since 2003 at LINAGORA company● LinID Dream Team Manager: http://linid.org ● Founder of LDAP Tool Box project:

http://ltb-project.org ● Leader of LemonLDAP::NG project:

http://lemonldap-ng.org

Page 5: RMLL 2013 - The SAML Protocol: Single Sign On for skilled people

5

Single Sign On

Page 6: RMLL 2013 - The SAML Protocol: Single Sign On for skilled people

07/02/13 http://lemonldap-ng.org

6

Definition● Single Sign On authentication allow users to

submit their credentials only once, and to access all trusted applications

● Applications do not manage passwords anymore● Identity of the user is forwarded to applications

by the SSO software

Page 7: RMLL 2013 - The SAML Protocol: Single Sign On for skilled people

07/02/13 http://lemonldap-ng.org

7

User

Web Application

WebSSO Portal

1

2

3

SSO for the newbies

Page 8: RMLL 2013 - The SAML Protocol: Single Sign On for skilled people

8

Access control● Single Sign On often provides access control:

when you know WHO, you can decide WHAT he is allowed to do

● Access control is based on authorizations, authorizations are based on user information (mail, role, ...) or environment (IP, date, …)

● Related standards: RBAC, OrBAC, XACML, ...

Page 9: RMLL 2013 - The SAML Protocol: Single Sign On for skilled people

Identity federation● Having a unique identity can be a problem for private life● Identity federation let a user own several identities and provides

him a way to federate them to obtain Single Sign On● Identity federation is user centric● A Circle of Trust (CoT) is built between Identity Providers (IDP)

and Service Providers (SP)● Identity federation offers more than SSO:

● Single Logout (SLO)● Attributes sharing● Interconnection between Circle of Trust (InterCoT)

Page 10: RMLL 2013 - The SAML Protocol: Single Sign On for skilled people

Circle of Trust

Service Provider

User interaction

Remote call

Identity Provider Service Provider

Attribute Authority

Page 11: RMLL 2013 - The SAML Protocol: Single Sign On for skilled people

11

SAML protocol

Page 12: RMLL 2013 - The SAML Protocol: Single Sign On for skilled people

12

SAML

Security

Assertion

Markup

Language

Page 13: RMLL 2013 - The SAML Protocol: Single Sign On for skilled people

SAML & Co

SAML 1.0

WS-*

ID-FF 1.2

ID-WSF 1.2

Shibboleth 1

SAML 2.0

ID-WSF 2.0

Page 14: RMLL 2013 - The SAML Protocol: Single Sign On for skilled people

A standard● SAML is an OASIS standard, described in:

● saml-core-2.0-os: 86 pages● saml-authn-context-2.0-os: 70 pages● saml-bindings-2.0-os: 46 pages● saml-conformance-2.0-os: 19 pages● saml-metadata-2.0-os: 43 pages● saml-profiles-2.0-os: 66 pages

Page 15: RMLL 2013 - The SAML Protocol: Single Sign On for skilled people

It seems so simple!● A simple SAML exchange:

● A user access to a SP● He is redirect to IdP with a SAML Authn Request● He logs in into IdP● He is redirect to SP with a SAML Authn Response● He is authenticated to SP

Page 16: RMLL 2013 - The SAML Protocol: Single Sign On for skilled people

SAML Bindings● Define how SAML messages can be exchanged

between providers:● SAML SOAP● Reverse SOAP (PAOS)● HTTP Redirect● HTTP Post● HTTP Artifact● SAML URI

Page 17: RMLL 2013 - The SAML Protocol: Single Sign On for skilled people

SAML Profiles● Define what operations can be done with SAML:

● SSO Profile:– Web browser SSO– Enhanced Client or Proxy (ECP)– Identity Provider Discovery– Single Logout– Name Identifier Management

● Artifact Resolution Profile● Assertion Query/Request Profile● Name Identifier Mapping Profile● SAML Attributes Profile

Page 18: RMLL 2013 - The SAML Protocol: Single Sign On for skilled people

SAML Authn contexts● 25 possible authentication contexts. Most used

are:● Kerberos● Password● PasswordProtectedTransport● SSL/TLS Certificate-Based Client Authentication

Page 19: RMLL 2013 - The SAML Protocol: Single Sign On for skilled people

SAML NameID Formats● 8 different NameID formats:

● Unspecified● Email Address● X.509 Subject Name● Windows Domain Qualified Name● Kerberos Principal Name● Entity Identifier● Persistent Identifier● Transient Identifier

Page 20: RMLL 2013 - The SAML Protocol: Single Sign On for skilled people

SAML Metadata● Metadata are XML documents defining all information

of a provider:● Provider type (profiles)● URL/SOAP endpoints● Supported bindings● Supported NameID formats● Public keys or certificates

● Metadata are exchanged between providers to create a circle of trust

Page 21: RMLL 2013 - The SAML Protocol: Single Sign On for skilled people

SAML RPG

I need volunteers!

Page 22: RMLL 2013 - The SAML Protocol: Single Sign On for skilled people

22

Almost the end...

Page 23: RMLL 2013 - The SAML Protocol: Single Sign On for skilled people

23

18-19 November - PARIS

http://www.ldapcon.org

Page 24: RMLL 2013 - The SAML Protocol: Single Sign On for skilled people

24

Thanks● Special thanks to:

● RMLL/LSM and their organizers● Company LINAGORA● All LiniD developers

● Keep in touch:● Identica: @coudot● Twitter: @clementoudot @LinID_FOSS ● IRC: KPTN #LinID@freenode● Web: http://linid.org

Page 25: RMLL 2013 - The SAML Protocol: Single Sign On for skilled people

25

Questions?

Page 26: RMLL 2013 - The SAML Protocol: Single Sign On for skilled people

Thanks for your attention

http://www.linid.org

Logiciels et services Open Source80 rue Roque de Fillol l 92800 PUTEAUXTel : 0810 251 251 l Fax : +33 1 46 96 63 64www.linagora.com