SlideShare a Scribd company logo
–
–
–
SAML V2 and OpenAM Presentation
Olivier Rivat
orivat@janua.fr
January 2017 the 5th
Agenda
● What is SAML V2 used for ?
● SAML V2 Concepts & Elements
● OpenAM and SAMLV2
What is SAML V2 used for ?
● SAML 2.0 is
– version of the SAML standard
– http://docs.oasis-open.org/security/saml/Post2.0/sstc-saml-t
ech-overview-2.0.html
● It provides:
– exchanging authentication and authorization data between different
security domains.
– XML-based protocol that uses security tokens containing assertions to
exchange data bewteen principal (Idenity data Provider, IDP) and
consumer (Service Provider, SP).
– enables web-based authentication and authorization scenarios including
cross-domain single sign-on (SSO)
SAMLV2 Concepts and Terminology
● SAML 2.0 Concepts
– to perform XML data exchange between a Service Provider (SP) and
Identity Provider (IDP)
● It provides
– Service Provider (SP) is used to provide and roll out web services
– Identity Provider (IdP) is used to provide identity.
– Services deployed at SP are authenticating against IDP using
federation mechanism brought by SAML V2 protocol.
– Need upfront to clearly determine who is the IDP and who is the SP to
pick the right approach
SAML V2 Technical Elements (1)
● The major key elements of SAMLV2 are :
– Profiles
– Protocols
– Bindings
– Metadata exchanged
– Endpoints
SAML V2 Technical Elements (2)
● 2 major type of profile used :
– POST/ HTTP-POST
● Transfer of an autosubmitting HTML form from IDP to SP
● Assertion is digitallt signed due to the risk of MITM attack
– Artefacts
● Assertion never exposed to the client
● Artefact/POST differences
– POST the most often used
– Takes longer as requiring more steps
– Configuration is more complex
SAML V2 Technical Elements (3)
● The mostly used profiles are :
– SP Redirect Request; IdP POST Response
– SP POST Request; IdP POST Response
– SP Redirect Artifact; IdP Redirect Artifact
– IDP POST orginating ; SP using results
SAML V2 Technical Elements (4)
● Usual SP - IDP Workflow
– SP POST Request - IdP POST Response
SAML V2 Technical Elements (5)
● The main XML SAML statements exchanged are
– SAML request
– SAML assertion
– SAML query
– SAML response
● A SAML statement encapsulates metadata where main elements which are :
– certificate
– profiles/bindings
– SAML endpoints
– nameIDformat
SAML V2 Technical Elements (6)
● SAML Security
– Assertions are digitally signed (which provides authenticity)
– It is possible to encrypt trafic (which provides confidentiallity)
OpenAM - SAML V2 (1)
● OpenAM supports SAML V2 protocol
● An openAM instance can be configured as
– Service Provider (SP)
– Identity Provider (IDP)
● OpenAM can integrate with any SAML V2 protocol
compliant tool used either as a SP or IDP.
● OpenAM provides also a fedlet mechanism to
integrate with tool which do not provide SAML V2 out
of the box.
OpenAM - SAML V2 (2)
● Usual OpenAM SAML V2 deployment use case
– Creation of IDP CoT (IDP circle of Trust) with following elements
● Configuration of an openAM IdP
● Configuration of remote SP
– Creation of SP CoT (SP circle of Trust) with following elements
● Configuration of an openAM SP
● Configuration of remote IdP
OpenAM - SAML V2 (4)
● OpenAM SAMLV2 endpoints
– spSSOInit.jsp (federation started from SP)
– idpSSOinit.jsp (federation strated from IDP
– spSingleLogoutInit.jsp (SLO started from SP)
– IdpSingleLogout.jsp (SLO strated from IDP)
SAML V2 Example - Use Case 1
● idpSSOInit
– (1) End User authenticated on IDP portal
– (2) En User wanting to access to a remote service (SP) from IDP portal
● IdpSSOInit used to provide federation from IDP to SP
SAML V2 Example - Use Case 2
● spSSOInit
– (1) End User wanting to access to a remote service SP
– (2) service SP authentication process forwarded to IDP
● spSSOInit used to provide federation from SP to IDP
SAML V2 Federation
● Federation can be either permanent or transient
– Permanent Federation
● SP has been provisioned with IDP entries (or equivalent)
● Permanent federation is stored for openAM at openDJ level
● Possible to perform bulk account linking
– Transient Federation
● SP does not contain IDP entries, and can even be empty
● SP authentication made against IDP
● Case often used which does does not require SP provisionning to roll
out services
● Federation is terminated when doing SLO (either from SP or IDP)
OpenAM SAML Request Example
<samlp:AuthnRequest xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"
ID="s28d9c654679ce84b19d1a10a7d41fb8f842f73bfd"
Version="2.0"
IssueInstant="2016-11-02T23:08:56Z"
Destination="http://openam.example.com:18080/openam/SSORedirect/metaAlias/idp"
ForceAuthn="false"
IsPassive="false"
ProtocolBinding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST"
AssertionConsumerServiceURL="http://openam.example.com:38080/openam/Consumer/metaAlias/sp"
>
<saml:Issuer xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">http://openam.example.com:38080/openam</saml:Issuer>
<samlp:NameIDPolicy xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"
Format="urn:oasis:names:tc:SAML:2.0:nameid-format:persistent"
SPNameQualifier="http://openam.example.com:38080/openam"
AllowCreate="true"
/>
<samlp:RequestedAuthnContext xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"
Comparison="exact"
>
<saml:AuthnContextClassRef
xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport</saml:
AuthnContextClassRef>
</samlp:RequestedAuthnContext>
</samlp:AuthnRequest>

More Related Content

PDF
Introduction to SAML 2.0
PPTX
LASCON 2017: SAML v. OpenID v. Oauth
PDF
Introduction to SAML
PDF
SAML Protocol Overview
PDF
Single sign on using SAML
PDF
RMLL 2013 - The SAML Protocol: Single Sign On for skilled people
PDF
Alfresco: Implementing secure single sign on (SSO) with OpenSAML
 
PPTX
JWT SSO Inbound Authenticator
Introduction to SAML 2.0
LASCON 2017: SAML v. OpenID v. Oauth
Introduction to SAML
SAML Protocol Overview
Single sign on using SAML
RMLL 2013 - The SAML Protocol: Single Sign On for skilled people
Alfresco: Implementing secure single sign on (SSO) with OpenSAML
 
JWT SSO Inbound Authenticator

What's hot (20)

PPTX
Saml sso by Tamil on nullblrmeet 21st July 2015
PPTX
IdP, SAML, OAuth
PPTX
API Security : Patterns and Practices
PDF
Enterprise Single Sign-On - SSO
PDF
Single sign on using WSO2 identity server
PDF
Full stack security
PDF
Authentication and Authorization Architecture in the MEAN Stack
PPTX
Single-Page-Application & REST security
PPTX
An Authentication and Authorization Architecture for a Microservices World
PPTX
Securing RESTful APIs using OAuth 2 and OpenID Connect
PDF
ConFoo 2015 - Securing RESTful resources with OAuth2
PDF
JavaOne 2014 - Securing RESTful Resources with OAuth2
PDF
Building an API Security Ecosystem
PDF
Json web token api authorization
PDF
Cloud Native Identity with SPIFFE
PDF
Protecting web APIs with OAuth 2.0
PDF
Modern Security with OAuth 2.0 and JWT and Spring by Dmitry Buzdin
PDF
Stateless authentication with OAuth 2 and JWT - JavaZone 2015
PPTX
REST Service Authetication with TLS & JWTs
PDF
アプリ開発で知っておきたい認証技術 - OAuth 1.0 + OAuth 2.0 + OpenID Connect -
Saml sso by Tamil on nullblrmeet 21st July 2015
IdP, SAML, OAuth
API Security : Patterns and Practices
Enterprise Single Sign-On - SSO
Single sign on using WSO2 identity server
Full stack security
Authentication and Authorization Architecture in the MEAN Stack
Single-Page-Application & REST security
An Authentication and Authorization Architecture for a Microservices World
Securing RESTful APIs using OAuth 2 and OpenID Connect
ConFoo 2015 - Securing RESTful resources with OAuth2
JavaOne 2014 - Securing RESTful Resources with OAuth2
Building an API Security Ecosystem
Json web token api authorization
Cloud Native Identity with SPIFFE
Protecting web APIs with OAuth 2.0
Modern Security with OAuth 2.0 and JWT and Spring by Dmitry Buzdin
Stateless authentication with OAuth 2 and JWT - JavaZone 2015
REST Service Authetication with TLS & JWTs
アプリ開発で知っておきたい認証技術 - OAuth 1.0 + OAuth 2.0 + OpenID Connect -
Ad

Viewers also liked (20)

PDF
Oauth2 et OpenID Connect
PDF
Présentation Oauth OpenID
PPTX
OpenAM - An Introduction
PDF
Oauth2 & OpenID Connect
PDF
Oauth et open id connect (oidc)
PDF
Agenda formation OpenIdm
PDF
Avanpost idm пацифика 2016
PDF
SAML Executive Overview
PDF
Klee Group Présentation Urbanisation DIRISI
PDF
SemanticExperts-Reador octobre2016
PDF
Identité numérique
PDF
Bibdoc 2016 - E-réputation, entre gestion et co-construction de ses identités...
PPTX
Mapa conceptual teorias organizacionales
PDF
Doc pathethernet
PPT
03 corona
PDF
Blue Ocean Global Technology Brochure
PPTX
Tuebora Self Driven IAM
PPTX
Paris Web 2015 - France Connect et OpenId Connect
PPTX
A Day in the Life of a Tudor House boy
Oauth2 et OpenID Connect
Présentation Oauth OpenID
OpenAM - An Introduction
Oauth2 & OpenID Connect
Oauth et open id connect (oidc)
Agenda formation OpenIdm
Avanpost idm пацифика 2016
SAML Executive Overview
Klee Group Présentation Urbanisation DIRISI
SemanticExperts-Reador octobre2016
Identité numérique
Bibdoc 2016 - E-réputation, entre gestion et co-construction de ses identités...
Mapa conceptual teorias organizacionales
Doc pathethernet
03 corona
Blue Ocean Global Technology Brochure
Tuebora Self Driven IAM
Paris Web 2015 - France Connect et OpenId Connect
A Day in the Life of a Tudor House boy
Ad

Similar to Saml v2-OpenAM (20)

PDF
Interoperable Provisioning in a distributed world
PPTX
Ietf91 ad hoc-coap-lwm2m-ipso
PDF
sap basis transaction codes
PDF
IBM z/OS Communications Server z/OS Encryption Readiness Technology (zERT)
PPTX
Ietf91 ad hoc-coap-lwm2m-ipso
PDF
Better IT Operations and Security through Enhanced z/OS Analytics: New Featur...
PDF
FIWARE Global Summit - Real-time Media Stream Processing Using Kurento
PDF
Introducing Application Engineered Routing Powered by Segment Routing
PPTX
Diameter based Interfaces and description
PDF
Cisco Prime for IP NGN
PDF
Ietf91 ad hoc-coap-lwm2m-ipso
PPTX
Dpdk: rte_security: An update and introducing PDCP
PPTX
Understanding SAML 2.0: Enhancing Secure Authentication
PPTX
OMA Lightweight M2M
PPT
Integrating Active Networking and Commercial-Grade Routing Platforms
PPTX
SDN_and_NFV_technologies_in_IoT_Networks
PDF
Capacitacion 2018
PPTX
XMPP-IoT Protocol designed mainly to send mesages
PPTX
CCNA_RSE_Chp10.pptx
PDF
What’s New in Syncsort Ironstream 2.1
Interoperable Provisioning in a distributed world
Ietf91 ad hoc-coap-lwm2m-ipso
sap basis transaction codes
IBM z/OS Communications Server z/OS Encryption Readiness Technology (zERT)
Ietf91 ad hoc-coap-lwm2m-ipso
Better IT Operations and Security through Enhanced z/OS Analytics: New Featur...
FIWARE Global Summit - Real-time Media Stream Processing Using Kurento
Introducing Application Engineered Routing Powered by Segment Routing
Diameter based Interfaces and description
Cisco Prime for IP NGN
Ietf91 ad hoc-coap-lwm2m-ipso
Dpdk: rte_security: An update and introducing PDCP
Understanding SAML 2.0: Enhancing Secure Authentication
OMA Lightweight M2M
Integrating Active Networking and Commercial-Grade Routing Platforms
SDN_and_NFV_technologies_in_IoT_Networks
Capacitacion 2018
XMPP-IoT Protocol designed mainly to send mesages
CCNA_RSE_Chp10.pptx
What’s New in Syncsort Ironstream 2.1

More from Pascal Flamand (20)

PDF
Start14 french tech startuffe nation
PDF
Article "Un an de télétravail et de COVID" dans le magazine Start
PDF
Article "La tyrannie du risque zéro" dans le magazine Start
PDF
Article "quand les licornes voleront..." dans le magazine Start
PDF
Article sur "Le temps des c(e)rises" dans le magazine Start
PDF
TOC training Keycloak RedhatSSO advanced
PDF
TOC training KeyCloak Redhat SSO core
PDF
Article sur l'Agilité dans le magazine Start
PDF
Article sur l'IA dans le magazine Start
PDF
Article sur la Smart City dans le magazine Start
PDF
TOC training Keycloak RedhatSSO UMA
PDF
Article sur les Startup dans le magazine Start
PDF
TOC training Keycloak RedhatSSO advanced
PDF
TOC training KeyCloak Redhat SSO core
PDF
TOC training OpenIDM
PDF
Article sur les Pitchs dans le magazine Start
PDF
Article sur la Transformation Digitale dans le Magazine Start
PDF
Article sur l'IA dans le magazine Start
PDF
Tribune paca jaguards 12.12.18
PDF
Partenariat Jaguards - Busit
Start14 french tech startuffe nation
Article "Un an de télétravail et de COVID" dans le magazine Start
Article "La tyrannie du risque zéro" dans le magazine Start
Article "quand les licornes voleront..." dans le magazine Start
Article sur "Le temps des c(e)rises" dans le magazine Start
TOC training Keycloak RedhatSSO advanced
TOC training KeyCloak Redhat SSO core
Article sur l'Agilité dans le magazine Start
Article sur l'IA dans le magazine Start
Article sur la Smart City dans le magazine Start
TOC training Keycloak RedhatSSO UMA
Article sur les Startup dans le magazine Start
TOC training Keycloak RedhatSSO advanced
TOC training KeyCloak Redhat SSO core
TOC training OpenIDM
Article sur les Pitchs dans le magazine Start
Article sur la Transformation Digitale dans le Magazine Start
Article sur l'IA dans le magazine Start
Tribune paca jaguards 12.12.18
Partenariat Jaguards - Busit

Recently uploaded (20)

PPTX
Internet___Basics___Styled_ presentation
PPTX
SAP Ariba Sourcing PPT for learning material
PPT
isotopes_sddsadsaadasdasdasdasdsa1213.ppt
PPTX
Module 1 - Cyber Law and Ethics 101.pptx
PDF
Smart Home Technology for Health Monitoring (www.kiu.ac.ug)
PDF
Slides PDF The World Game (s) Eco Economic Epochs.pdf
PDF
Best Practices for Testing and Debugging Shopify Third-Party API Integrations...
PPTX
Power Point - Lesson 3_2.pptx grad school presentation
PDF
Exploring VPS Hosting Trends for SMBs in 2025
PDF
FINAL CALL-6th International Conference on Networks & IOT (NeTIOT 2025)
PDF
💰 𝐔𝐊𝐓𝐈 𝐊𝐄𝐌𝐄𝐍𝐀𝐍𝐆𝐀𝐍 𝐊𝐈𝐏𝐄𝐑𝟒𝐃 𝐇𝐀𝐑𝐈 𝐈𝐍𝐈 𝟐𝟎𝟐𝟓 💰
PPTX
presentation_pfe-universite-molay-seltan.pptx
DOC
Rose毕业证学历认证,利物浦约翰摩尔斯大学毕业证国外本科毕业证
PPTX
Introduction to cybersecurity and digital nettiquette
PPTX
Slides PPTX World Game (s) Eco Economic Epochs.pptx
PDF
An introduction to the IFRS (ISSB) Stndards.pdf
DOCX
Unit-3 cyber security network security of internet system
PPTX
newyork.pptxirantrafgshenepalchinachinane
PDF
Paper PDF World Game (s) Great Redesign.pdf
PPTX
Job_Card_System_Styled_lorem_ipsum_.pptx
Internet___Basics___Styled_ presentation
SAP Ariba Sourcing PPT for learning material
isotopes_sddsadsaadasdasdasdasdsa1213.ppt
Module 1 - Cyber Law and Ethics 101.pptx
Smart Home Technology for Health Monitoring (www.kiu.ac.ug)
Slides PDF The World Game (s) Eco Economic Epochs.pdf
Best Practices for Testing and Debugging Shopify Third-Party API Integrations...
Power Point - Lesson 3_2.pptx grad school presentation
Exploring VPS Hosting Trends for SMBs in 2025
FINAL CALL-6th International Conference on Networks & IOT (NeTIOT 2025)
💰 𝐔𝐊𝐓𝐈 𝐊𝐄𝐌𝐄𝐍𝐀𝐍𝐆𝐀𝐍 𝐊𝐈𝐏𝐄𝐑𝟒𝐃 𝐇𝐀𝐑𝐈 𝐈𝐍𝐈 𝟐𝟎𝟐𝟓 💰
presentation_pfe-universite-molay-seltan.pptx
Rose毕业证学历认证,利物浦约翰摩尔斯大学毕业证国外本科毕业证
Introduction to cybersecurity and digital nettiquette
Slides PPTX World Game (s) Eco Economic Epochs.pptx
An introduction to the IFRS (ISSB) Stndards.pdf
Unit-3 cyber security network security of internet system
newyork.pptxirantrafgshenepalchinachinane
Paper PDF World Game (s) Great Redesign.pdf
Job_Card_System_Styled_lorem_ipsum_.pptx

Saml v2-OpenAM

  • 1. – – – SAML V2 and OpenAM Presentation Olivier Rivat orivat@janua.fr January 2017 the 5th
  • 2. Agenda ● What is SAML V2 used for ? ● SAML V2 Concepts & Elements ● OpenAM and SAMLV2
  • 3. What is SAML V2 used for ? ● SAML 2.0 is – version of the SAML standard – http://docs.oasis-open.org/security/saml/Post2.0/sstc-saml-t ech-overview-2.0.html ● It provides: – exchanging authentication and authorization data between different security domains. – XML-based protocol that uses security tokens containing assertions to exchange data bewteen principal (Idenity data Provider, IDP) and consumer (Service Provider, SP). – enables web-based authentication and authorization scenarios including cross-domain single sign-on (SSO)
  • 4. SAMLV2 Concepts and Terminology ● SAML 2.0 Concepts – to perform XML data exchange between a Service Provider (SP) and Identity Provider (IDP) ● It provides – Service Provider (SP) is used to provide and roll out web services – Identity Provider (IdP) is used to provide identity. – Services deployed at SP are authenticating against IDP using federation mechanism brought by SAML V2 protocol. – Need upfront to clearly determine who is the IDP and who is the SP to pick the right approach
  • 5. SAML V2 Technical Elements (1) ● The major key elements of SAMLV2 are : – Profiles – Protocols – Bindings – Metadata exchanged – Endpoints
  • 6. SAML V2 Technical Elements (2) ● 2 major type of profile used : – POST/ HTTP-POST ● Transfer of an autosubmitting HTML form from IDP to SP ● Assertion is digitallt signed due to the risk of MITM attack – Artefacts ● Assertion never exposed to the client ● Artefact/POST differences – POST the most often used – Takes longer as requiring more steps – Configuration is more complex
  • 7. SAML V2 Technical Elements (3) ● The mostly used profiles are : – SP Redirect Request; IdP POST Response – SP POST Request; IdP POST Response – SP Redirect Artifact; IdP Redirect Artifact – IDP POST orginating ; SP using results
  • 8. SAML V2 Technical Elements (4) ● Usual SP - IDP Workflow – SP POST Request - IdP POST Response
  • 9. SAML V2 Technical Elements (5) ● The main XML SAML statements exchanged are – SAML request – SAML assertion – SAML query – SAML response ● A SAML statement encapsulates metadata where main elements which are : – certificate – profiles/bindings – SAML endpoints – nameIDformat
  • 10. SAML V2 Technical Elements (6) ● SAML Security – Assertions are digitally signed (which provides authenticity) – It is possible to encrypt trafic (which provides confidentiallity)
  • 11. OpenAM - SAML V2 (1) ● OpenAM supports SAML V2 protocol ● An openAM instance can be configured as – Service Provider (SP) – Identity Provider (IDP) ● OpenAM can integrate with any SAML V2 protocol compliant tool used either as a SP or IDP. ● OpenAM provides also a fedlet mechanism to integrate with tool which do not provide SAML V2 out of the box.
  • 12. OpenAM - SAML V2 (2) ● Usual OpenAM SAML V2 deployment use case – Creation of IDP CoT (IDP circle of Trust) with following elements ● Configuration of an openAM IdP ● Configuration of remote SP – Creation of SP CoT (SP circle of Trust) with following elements ● Configuration of an openAM SP ● Configuration of remote IdP
  • 13. OpenAM - SAML V2 (4) ● OpenAM SAMLV2 endpoints – spSSOInit.jsp (federation started from SP) – idpSSOinit.jsp (federation strated from IDP – spSingleLogoutInit.jsp (SLO started from SP) – IdpSingleLogout.jsp (SLO strated from IDP)
  • 14. SAML V2 Example - Use Case 1 ● idpSSOInit – (1) End User authenticated on IDP portal – (2) En User wanting to access to a remote service (SP) from IDP portal ● IdpSSOInit used to provide federation from IDP to SP
  • 15. SAML V2 Example - Use Case 2 ● spSSOInit – (1) End User wanting to access to a remote service SP – (2) service SP authentication process forwarded to IDP ● spSSOInit used to provide federation from SP to IDP
  • 16. SAML V2 Federation ● Federation can be either permanent or transient – Permanent Federation ● SP has been provisioned with IDP entries (or equivalent) ● Permanent federation is stored for openAM at openDJ level ● Possible to perform bulk account linking – Transient Federation ● SP does not contain IDP entries, and can even be empty ● SP authentication made against IDP ● Case often used which does does not require SP provisionning to roll out services ● Federation is terminated when doing SLO (either from SP or IDP)
  • 17. OpenAM SAML Request Example <samlp:AuthnRequest xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" ID="s28d9c654679ce84b19d1a10a7d41fb8f842f73bfd" Version="2.0" IssueInstant="2016-11-02T23:08:56Z" Destination="http://openam.example.com:18080/openam/SSORedirect/metaAlias/idp" ForceAuthn="false" IsPassive="false" ProtocolBinding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" AssertionConsumerServiceURL="http://openam.example.com:38080/openam/Consumer/metaAlias/sp" > <saml:Issuer xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">http://openam.example.com:38080/openam</saml:Issuer> <samlp:NameIDPolicy xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" Format="urn:oasis:names:tc:SAML:2.0:nameid-format:persistent" SPNameQualifier="http://openam.example.com:38080/openam" AllowCreate="true" /> <samlp:RequestedAuthnContext xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" Comparison="exact" > <saml:AuthnContextClassRef xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport</saml: AuthnContextClassRef> </samlp:RequestedAuthnContext> </samlp:AuthnRequest>