SlideShare una empresa de Scribd logo
1 de 31
Descargar para leer sin conexión
Shibboleth Development and Support Services




The UK Federation and Shibboleth:
                   Nuts and Bolts


                                Ian A. Young
              EDINA, University of Edinburgh


      Networkshop 35, University of Exeter, 3–5 April 2007




                                                             1
Shibboleth Development and Support Services



                                                                            Overview

• What is the UK Federation?
   – Access management federation for all of
     UK education (HE, FE, schools)

• What is Shibboleth?
   – A SAML 1.1 profile
   – an implementation of that profile
           flexible policy based attribute transport
           support for federation in-the-large
   – a software platform: not just SAML

  Networkshop 35, University of Exeter                                   3–5 April 2007   2

                                                                                              2
Shibboleth Development and Support Services



                                                 Overview: UK Federation

• Potentially very ambitious deployment
   – hundreds of member organisations
   – hundreds or thousands of entities
   – Total ≈12–18M eligible end users

• Federation technical services:
   – metadata verification and aggregation
   – metadata signature and publication
   – central discovery service
   – trust broker
  Networkshop 35, University of Exeter                                   3–5 April 2007   3

                                                                                              3
Shibboleth Development and Support Services



                                                  UK Federation Statistics

• 46 full member organisations
   – ≈15 more still migrating from SDSS Federation

• 111 SAML entities
   – 49 identity providers
   – 64 service providers

• Software:
   – 87% Shibboleth 1.3
   – 7% Shibboleth 1.2
   – 5% other/unknown
  Networkshop 35, University of Exeter                                   3–5 April 2007   4

                                                                                              4
Shibboleth Development and Support Services




                                       Metadata




Networkshop 35, University of Exeter                                   3–5 April 2007   5

                                                                                            5
Shibboleth Development and Support Services



                                                                   Entity Metadata

• <EntityDescriptor>
   – <Extensions>
           labels, e.g., “owned by UK Federation member”
           scopes for scoped attribute values

   – Role descriptors
           <IDPSSODescriptor>
           <AttributeAuthorityDescriptor>
           <SPSSODescriptor>

   – <Organization>
   – <ContactPerson> *n
  Networkshop 35, University of Exeter                                   3–5 April 2007   6

                                                                                              6
Shibboleth Development and Support Services



                                                                     Role Metadata

• e.g., <IDPSSODescriptor>
   – <Extensions>
   – <KeyDescriptor> *n
           may be <ds:KeyName> for PKI based trust
           may be <ds:X509Data> for explicit key wrapped in a
            certificate
           may be various other things too horrible to relate

   – service endpoints
           <AssertionConsumerService>
           <ArtifactResolutionService>

  Networkshop 35, University of Exeter                                   3–5 April 2007   7

                                                                                              7
Shibboleth Development and Support Services



                                                        Metadata Generation

• Each <EntityDescriptor> stored separately as a
   “fragment file”

• Ant and XSLT used to combine, filter and
   transform multiple variants:
   – Shibboleth 1.2 vs. Shibboleth 1.3
   – SDSS Federation vs. UK Federation
   – Full list vs. filtered (for WAYF)

• Each variant is digitally signed using
   appropriate federation signature key

  Networkshop 35, University of Exeter                                   3–5 April 2007   8

                                                                                              8
Shibboleth Development and Support Services



                                                      Metadata Distribution

• Master copies pushed to staging site
• Production metadata servers pull copies
   regularly
   – three identical machines
   – geographically distributed in multiple data
     centres

• Individual members pull copies from production
   metadata servers
   – recommendation is at least daily

  Networkshop 35, University of Exeter                                   3–5 April 2007   9

                                                                                              9
Metadata Constituents

               IdP
               +SP
                     (2)
IdP                                    SP


IdP   (47)                    (62)     SP


IdP                                    SP


                                UK Federation
       <md/>
                (320KB)
                                                10
Shibboleth Development and Support Services



                                                 Problem: Metadata Scale

• Most things scale as O(N)
• Metadata server bandwidth scales as O(N2)
• Current metadata size not a problem
   – likely not true forever

• Medium term tricks are possible
   – IdP vs. SP split (factor of 2)
   – compression (factor of 9–10)
   – subfederations (factor of ≈2?)

  Networkshop 35, University of Exeter                                   3–5 April 2007   11

                                                                                               11
Shibboleth Development and Support Services



                                                      Metadata Scale cont’d

• Long term: move away from centralised
   metadata distribution

• One possibility: self asserted metadata
   – e.g., by de-referencing entity’s name
   – issue: chain of trust broken
   – issue: some metadata can’t be self asserted

• Long term analogy: HOSTS.TXT → DNS ?
   – maybe more than an analogy
   – let’s not invent another parallel system!
  Networkshop 35, University of Exeter                                   3–5 April 2007   12

                                                                                               12
Shibboleth Development and Support Services




                                   Discovery




Networkshop 35, University of Exeter                                   3–5 April 2007   13

                                                                                             13
The Discovery Process




      Authentication Request

IdP          SMH                SP
      Authentication Response




                                             14
Shibboleth Development and Support Services



                                                             Discovery Options

• Institutional portal avoids the issue entirely
• Service provider can perform discovery locally
   – Good option in many cases
   – Service Provider often knows its community of
     users
   – Particularly true for licensed content, where a
     real-world contract will exist
   – Also true for resources built around small
     collaborations


  Networkshop 35, University of Exeter                                   3–5 April 2007   15

                                                                                               15
Example: Elsevier ScienceDirect




                                  16
Shibboleth Development and Support Services



                                 Discovery Options: Central WAYF

• UK Federation provides central “Where Are You
   From” service (a WAYF) as backstop

• Production WAYF servers work from federation
   metadata
   – three identical machines
   – geographically distributed in multiple data
     centres
   – https:// as anti-spoofing measure



  Networkshop 35, University of Exeter                                   3–5 April 2007   17

                                                                                               17
UK Federation WAYF




                     18
Discovery with WAYF




                        WAYF
               t




                                     Au
             es
             qu




                                        th
                                            n
           Re




                                            Re
       th n




                                                qu
      Au




                                                 es
IdP                                                    SP

                                                   t
                  Authentication Response




                                                            19
Shibboleth Development and Support Services



                                         (One) WAYF-induced Problem

• Because the WAYF merely redirects, the SP must
   decide what to send before the destination is known

• Problems with:
   – Different SAML profiles:
           SAML 1.1 Browser/POST (100% of current IdPs)
           SAML 1.1 Browser/Artifact (55% of current IdPs)
           SAML 2.0 Authentication Request (Shibboleth 2.0)

   – Non-SAML profiles

• Solution: new “WAYF protocol”
  Networkshop 35, University of Exeter                                   3–5 April 2007   20

                                                                                               20
Discovery with WAYF 2.0




          WAYF




                          W
                           AY
                               F
                    W



                                Re
                     AY




                                   qu
                       F



                                     es
                        Re




                                        t
                           sp
                             on
                                se
IdP
      Authentication Request
                                            SP
      Authentication Response




                                                 21
Shibboleth Development and Support Services



                                                                             Contacts



• Federation:
   – http://www.ukfederation.org.uk/



• Speaker:
   – ian@iay.org.uk




  Networkshop 35, University of Exeter                                   3–5 April 2007   22

                                                                                               22
Shibboleth Development and Support Services




                                       Trust




Networkshop 35, University of Exeter                                   3–5 April 2007   23

                                                                                             23
Shibboleth Development and Support Services



                                             Federation as Trust Broker

• “Trust” may refer to different concepts
   – “Technical trust”
           means being able to verify an entity’s claims about its
            own identity
           mediated by the federation, through metadata
   – “Behavioural trust”
           given technical trust, means having guarantees about
            the entity’s behaviour
           arranged partner-to-partner, e.g., through contracts
           not mediated directly by the federation


  Networkshop 35, University of Exeter                                   3–5 April 2007   24

                                                                                               24
Shibboleth Development and Support Services



                                                       Using Trust Metadata

• Example: signature verification
   – look up entity in metadata
   – extract <KeyDescriptor>s from metadata
   – resolve into associated public keys
           may be indirect, key named in metadata
           may be direct, key explicit in metadata

   – perform public key operation using entity’s key
   – compare result with document digest



  Networkshop 35, University of Exeter                                   3–5 April 2007   25

                                                                                               25
Shibboleth Development and Support Services



                                                                  PKI Trust Fabric

• Used by many current federations
• Federation metadata contains list of trusted CAs
• Entity metadata contains key names
• Assertions contain certificates with these
   names, certified by the trusted CAs

• Receivers verify document signature, and also
   verify the certificate path up to a trusted CA

• This is the current UK Federation approach
  Networkshop 35, University of Exeter                                   3–5 April 2007   26

                                                                                               26
Shibboleth Development and Support Services



                                                         PKI Trust Fabric: Pro

• Per-entity metadata is small (just key names)
• Certificates can change as long as names don’t
• Some entity identity proofing can be left to
   (commercial) CAs
   – originally seen as a strong benefit, allowing this
     function to be outsourced




  Networkshop 35, University of Exeter                                   3–5 April 2007   27

                                                                                               27
Shibboleth Development and Support Services



                                                      PKI Trust Fabric: Cons

• Full PKIX path validation is slow
• Revocation is a hard problem
• Keeping up with CA certificate profiles is hard
• Keeping up with CA product names is hard
• Different federations tend to trust different CAs
   – interoperability issue
   – some SPs need to buy many certificates

• Only supported by Shibboleth
  Networkshop 35, University of Exeter                                   3–5 April 2007   28

                                                                                               28
Shibboleth Development and Support Services



                                          Alternative: Embedded Keys

• Certificates can be embedded in metadata
• Certificate resolves directly into a public key
• Pro:
   – Any CA acceptable (even self-signed)
   – No PKIX path validation required (performance++)
   – More interoperable (other feds, other products)

• Con:
   – Transfers responsibility for identity proofing to
     the federation
  Networkshop 35, University of Exeter                                   3–5 April 2007   29

                                                                                               29
Shibboleth Development and Support Services



                                                                Crystal Ball Time

• Embedded key approach is in experimental
   operation within the UK Federation (≈5 entities)

• Cautious optimism about this approach, given
   development of supporting procedures

• Not easily used by Shibboleth 1.2
   – but that is reaching its official End Of Life soon

• May be the only practical way to meet
   interoperability goals


  Networkshop 35, University of Exeter                                   3–5 April 2007   30

                                                                                               30
Shibboleth Development and Support Services



                                                                             Contacts



• Federation:
   – http://www.ukfederation.org.uk/



• Speaker:
   – ian@iay.org.uk




  Networkshop 35, University of Exeter                                   3–5 April 2007   31

                                                                                               31

Más contenido relacionado

Similar a 20070404: UK federation and Shibboleth: Nuts And Bolts

BeSTGRID OpenGridForum 29 GIN session
BeSTGRID OpenGridForum 29 GIN sessionBeSTGRID OpenGridForum 29 GIN session
BeSTGRID OpenGridForum 29 GIN sessionNick Jones
 
"Deep Learning Beyond Cats and Cars: Developing a Real-life DNN-based Embedde...
"Deep Learning Beyond Cats and Cars: Developing a Real-life DNN-based Embedde..."Deep Learning Beyond Cats and Cars: Developing a Real-life DNN-based Embedde...
"Deep Learning Beyond Cats and Cars: Developing a Real-life DNN-based Embedde...Edge AI and Vision Alliance
 
20071214: An Identity Provider's Guide to the Core Attributes
20071214: An Identity Provider's Guide to the Core Attributes20071214: An Identity Provider's Guide to the Core Attributes
20071214: An Identity Provider's Guide to the Core Attributesiay
 
Open Source in Further Education
Open Source in Further EducationOpen Source in Further Education
Open Source in Further EducationRoss Gardler
 
European Open Science Cloud update webinar
European Open Science Cloud update webinarEuropean Open Science Cloud update webinar
European Open Science Cloud update webinarJisc
 
Spreadmart To Data Mart BISIG Presentation
Spreadmart To Data Mart BISIG PresentationSpreadmart To Data Mart BISIG Presentation
Spreadmart To Data Mart BISIG PresentationDan English
 
Adfs Shib Interop Um Oxford
Adfs Shib Interop Um OxfordAdfs Shib Interop Um Oxford
Adfs Shib Interop Um Oxfordguestd9aa5
 
Adfs Shib Interop Um Oxford
Adfs Shib Interop Um OxfordAdfs Shib Interop Um Oxford
Adfs Shib Interop Um Oxfordguru122
 
Tim Malthus_Towards standards for the exchange of field spectral datasets
Tim Malthus_Towards standards for the exchange of field spectral datasetsTim Malthus_Towards standards for the exchange of field spectral datasets
Tim Malthus_Towards standards for the exchange of field spectral datasetsTERN Australia
 
Big data tutorial_part4
Big data tutorial_part4Big data tutorial_part4
Big data tutorial_part4GV prasad
 
Big data tutorial_part4
Big data tutorial_part4Big data tutorial_part4
Big data tutorial_part4Pragati Singh
 
The Sanger Mouse Resources Portal - A Testbed for Collaborative Data Integration
The Sanger Mouse Resources Portal - A Testbed for Collaborative Data IntegrationThe Sanger Mouse Resources Portal - A Testbed for Collaborative Data Integration
The Sanger Mouse Resources Portal - A Testbed for Collaborative Data IntegrationDarren Oakley
 
Simbios - Open Science in Biocomputational Research
Simbios - Open Science in Biocomputational ResearchSimbios - Open Science in Biocomputational Research
Simbios - Open Science in Biocomputational Researchjpk
 
Správa vzdáleného přístupu k elektronickým informačním zdrojům
Správa vzdáleného přístupu k elektronickým informačním zdrojůmSpráva vzdáleného přístupu k elektronickým informačním zdrojům
Správa vzdáleného přístupu k elektronickým informačním zdrojůmJiri Pavlik
 
CINECA webinar slides: Data Gravity in the Life Sciences: Lessons learned fro...
CINECA webinar slides: Data Gravity in the Life Sciences: Lessons learned fro...CINECA webinar slides: Data Gravity in the Life Sciences: Lessons learned fro...
CINECA webinar slides: Data Gravity in the Life Sciences: Lessons learned fro...CINECAProject
 

Similar a 20070404: UK federation and Shibboleth: Nuts And Bolts (20)

Sinnott Paper
Sinnott PaperSinnott Paper
Sinnott Paper
 
BeSTGRID OpenGridForum 29 GIN session
BeSTGRID OpenGridForum 29 GIN sessionBeSTGRID OpenGridForum 29 GIN session
BeSTGRID OpenGridForum 29 GIN session
 
SEASR Overview
SEASR OverviewSEASR Overview
SEASR Overview
 
"Deep Learning Beyond Cats and Cars: Developing a Real-life DNN-based Embedde...
"Deep Learning Beyond Cats and Cars: Developing a Real-life DNN-based Embedde..."Deep Learning Beyond Cats and Cars: Developing a Real-life DNN-based Embedde...
"Deep Learning Beyond Cats and Cars: Developing a Real-life DNN-based Embedde...
 
20071214: An Identity Provider's Guide to the Core Attributes
20071214: An Identity Provider's Guide to the Core Attributes20071214: An Identity Provider's Guide to the Core Attributes
20071214: An Identity Provider's Guide to the Core Attributes
 
Open Source in Further Education
Open Source in Further EducationOpen Source in Further Education
Open Source in Further Education
 
European Open Science Cloud update webinar
European Open Science Cloud update webinarEuropean Open Science Cloud update webinar
European Open Science Cloud update webinar
 
Spreadmart To Data Mart BISIG Presentation
Spreadmart To Data Mart BISIG PresentationSpreadmart To Data Mart BISIG Presentation
Spreadmart To Data Mart BISIG Presentation
 
Adfs Shib Interop Um Oxford
Adfs Shib Interop Um OxfordAdfs Shib Interop Um Oxford
Adfs Shib Interop Um Oxford
 
Adfs Shib Interop Um Oxford
Adfs Shib Interop Um OxfordAdfs Shib Interop Um Oxford
Adfs Shib Interop Um Oxford
 
Tim Malthus_Towards standards for the exchange of field spectral datasets
Tim Malthus_Towards standards for the exchange of field spectral datasetsTim Malthus_Towards standards for the exchange of field spectral datasets
Tim Malthus_Towards standards for the exchange of field spectral datasets
 
8 eodc status mistelbauer
8 eodc status mistelbauer8 eodc status mistelbauer
8 eodc status mistelbauer
 
Big data tutorial_part4
Big data tutorial_part4Big data tutorial_part4
Big data tutorial_part4
 
Big data tutorial_part4
Big data tutorial_part4Big data tutorial_part4
Big data tutorial_part4
 
Big data tutorial
Big data tutorialBig data tutorial
Big data tutorial
 
Big data tutorial_part4
Big data tutorial_part4Big data tutorial_part4
Big data tutorial_part4
 
The Sanger Mouse Resources Portal - A Testbed for Collaborative Data Integration
The Sanger Mouse Resources Portal - A Testbed for Collaborative Data IntegrationThe Sanger Mouse Resources Portal - A Testbed for Collaborative Data Integration
The Sanger Mouse Resources Portal - A Testbed for Collaborative Data Integration
 
Simbios - Open Science in Biocomputational Research
Simbios - Open Science in Biocomputational ResearchSimbios - Open Science in Biocomputational Research
Simbios - Open Science in Biocomputational Research
 
Správa vzdáleného přístupu k elektronickým informačním zdrojům
Správa vzdáleného přístupu k elektronickým informačním zdrojůmSpráva vzdáleného přístupu k elektronickým informačním zdrojům
Správa vzdáleného přístupu k elektronickým informačním zdrojům
 
CINECA webinar slides: Data Gravity in the Life Sciences: Lessons learned fro...
CINECA webinar slides: Data Gravity in the Life Sciences: Lessons learned fro...CINECA webinar slides: Data Gravity in the Life Sciences: Lessons learned fro...
CINECA webinar slides: Data Gravity in the Life Sciences: Lessons learned fro...
 

Último

Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 

Último (20)

Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 

20070404: UK federation and Shibboleth: Nuts And Bolts

  • 1. Shibboleth Development and Support Services The UK Federation and Shibboleth: Nuts and Bolts Ian A. Young EDINA, University of Edinburgh Networkshop 35, University of Exeter, 3–5 April 2007 1
  • 2. Shibboleth Development and Support Services Overview • What is the UK Federation? – Access management federation for all of UK education (HE, FE, schools) • What is Shibboleth? – A SAML 1.1 profile – an implementation of that profile  flexible policy based attribute transport  support for federation in-the-large – a software platform: not just SAML Networkshop 35, University of Exeter 3–5 April 2007 2 2
  • 3. Shibboleth Development and Support Services Overview: UK Federation • Potentially very ambitious deployment – hundreds of member organisations – hundreds or thousands of entities – Total ≈12–18M eligible end users • Federation technical services: – metadata verification and aggregation – metadata signature and publication – central discovery service – trust broker Networkshop 35, University of Exeter 3–5 April 2007 3 3
  • 4. Shibboleth Development and Support Services UK Federation Statistics • 46 full member organisations – ≈15 more still migrating from SDSS Federation • 111 SAML entities – 49 identity providers – 64 service providers • Software: – 87% Shibboleth 1.3 – 7% Shibboleth 1.2 – 5% other/unknown Networkshop 35, University of Exeter 3–5 April 2007 4 4
  • 5. Shibboleth Development and Support Services Metadata Networkshop 35, University of Exeter 3–5 April 2007 5 5
  • 6. Shibboleth Development and Support Services Entity Metadata • <EntityDescriptor> – <Extensions>  labels, e.g., “owned by UK Federation member”  scopes for scoped attribute values – Role descriptors  <IDPSSODescriptor>  <AttributeAuthorityDescriptor>  <SPSSODescriptor> – <Organization> – <ContactPerson> *n Networkshop 35, University of Exeter 3–5 April 2007 6 6
  • 7. Shibboleth Development and Support Services Role Metadata • e.g., <IDPSSODescriptor> – <Extensions> – <KeyDescriptor> *n  may be <ds:KeyName> for PKI based trust  may be <ds:X509Data> for explicit key wrapped in a certificate  may be various other things too horrible to relate – service endpoints  <AssertionConsumerService>  <ArtifactResolutionService> Networkshop 35, University of Exeter 3–5 April 2007 7 7
  • 8. Shibboleth Development and Support Services Metadata Generation • Each <EntityDescriptor> stored separately as a “fragment file” • Ant and XSLT used to combine, filter and transform multiple variants: – Shibboleth 1.2 vs. Shibboleth 1.3 – SDSS Federation vs. UK Federation – Full list vs. filtered (for WAYF) • Each variant is digitally signed using appropriate federation signature key Networkshop 35, University of Exeter 3–5 April 2007 8 8
  • 9. Shibboleth Development and Support Services Metadata Distribution • Master copies pushed to staging site • Production metadata servers pull copies regularly – three identical machines – geographically distributed in multiple data centres • Individual members pull copies from production metadata servers – recommendation is at least daily Networkshop 35, University of Exeter 3–5 April 2007 9 9
  • 10. Metadata Constituents IdP +SP (2) IdP SP IdP (47) (62) SP IdP SP UK Federation <md/> (320KB) 10
  • 11. Shibboleth Development and Support Services Problem: Metadata Scale • Most things scale as O(N) • Metadata server bandwidth scales as O(N2) • Current metadata size not a problem – likely not true forever • Medium term tricks are possible – IdP vs. SP split (factor of 2) – compression (factor of 9–10) – subfederations (factor of ≈2?) Networkshop 35, University of Exeter 3–5 April 2007 11 11
  • 12. Shibboleth Development and Support Services Metadata Scale cont’d • Long term: move away from centralised metadata distribution • One possibility: self asserted metadata – e.g., by de-referencing entity’s name – issue: chain of trust broken – issue: some metadata can’t be self asserted • Long term analogy: HOSTS.TXT → DNS ? – maybe more than an analogy – let’s not invent another parallel system! Networkshop 35, University of Exeter 3–5 April 2007 12 12
  • 13. Shibboleth Development and Support Services Discovery Networkshop 35, University of Exeter 3–5 April 2007 13 13
  • 14. The Discovery Process Authentication Request IdP SMH SP Authentication Response 14
  • 15. Shibboleth Development and Support Services Discovery Options • Institutional portal avoids the issue entirely • Service provider can perform discovery locally – Good option in many cases – Service Provider often knows its community of users – Particularly true for licensed content, where a real-world contract will exist – Also true for resources built around small collaborations Networkshop 35, University of Exeter 3–5 April 2007 15 15
  • 17. Shibboleth Development and Support Services Discovery Options: Central WAYF • UK Federation provides central “Where Are You From” service (a WAYF) as backstop • Production WAYF servers work from federation metadata – three identical machines – geographically distributed in multiple data centres – https:// as anti-spoofing measure Networkshop 35, University of Exeter 3–5 April 2007 17 17
  • 19. Discovery with WAYF WAYF t Au es qu th n Re Re th n qu Au es IdP SP t Authentication Response 19
  • 20. Shibboleth Development and Support Services (One) WAYF-induced Problem • Because the WAYF merely redirects, the SP must decide what to send before the destination is known • Problems with: – Different SAML profiles:  SAML 1.1 Browser/POST (100% of current IdPs)  SAML 1.1 Browser/Artifact (55% of current IdPs)  SAML 2.0 Authentication Request (Shibboleth 2.0) – Non-SAML profiles • Solution: new “WAYF protocol” Networkshop 35, University of Exeter 3–5 April 2007 20 20
  • 21. Discovery with WAYF 2.0 WAYF W AY F W Re AY qu F es Re t sp on se IdP Authentication Request SP Authentication Response 21
  • 22. Shibboleth Development and Support Services Contacts • Federation: – http://www.ukfederation.org.uk/ • Speaker: – ian@iay.org.uk Networkshop 35, University of Exeter 3–5 April 2007 22 22
  • 23. Shibboleth Development and Support Services Trust Networkshop 35, University of Exeter 3–5 April 2007 23 23
  • 24. Shibboleth Development and Support Services Federation as Trust Broker • “Trust” may refer to different concepts – “Technical trust”  means being able to verify an entity’s claims about its own identity  mediated by the federation, through metadata – “Behavioural trust”  given technical trust, means having guarantees about the entity’s behaviour  arranged partner-to-partner, e.g., through contracts  not mediated directly by the federation Networkshop 35, University of Exeter 3–5 April 2007 24 24
  • 25. Shibboleth Development and Support Services Using Trust Metadata • Example: signature verification – look up entity in metadata – extract <KeyDescriptor>s from metadata – resolve into associated public keys  may be indirect, key named in metadata  may be direct, key explicit in metadata – perform public key operation using entity’s key – compare result with document digest Networkshop 35, University of Exeter 3–5 April 2007 25 25
  • 26. Shibboleth Development and Support Services PKI Trust Fabric • Used by many current federations • Federation metadata contains list of trusted CAs • Entity metadata contains key names • Assertions contain certificates with these names, certified by the trusted CAs • Receivers verify document signature, and also verify the certificate path up to a trusted CA • This is the current UK Federation approach Networkshop 35, University of Exeter 3–5 April 2007 26 26
  • 27. Shibboleth Development and Support Services PKI Trust Fabric: Pro • Per-entity metadata is small (just key names) • Certificates can change as long as names don’t • Some entity identity proofing can be left to (commercial) CAs – originally seen as a strong benefit, allowing this function to be outsourced Networkshop 35, University of Exeter 3–5 April 2007 27 27
  • 28. Shibboleth Development and Support Services PKI Trust Fabric: Cons • Full PKIX path validation is slow • Revocation is a hard problem • Keeping up with CA certificate profiles is hard • Keeping up with CA product names is hard • Different federations tend to trust different CAs – interoperability issue – some SPs need to buy many certificates • Only supported by Shibboleth Networkshop 35, University of Exeter 3–5 April 2007 28 28
  • 29. Shibboleth Development and Support Services Alternative: Embedded Keys • Certificates can be embedded in metadata • Certificate resolves directly into a public key • Pro: – Any CA acceptable (even self-signed) – No PKIX path validation required (performance++) – More interoperable (other feds, other products) • Con: – Transfers responsibility for identity proofing to the federation Networkshop 35, University of Exeter 3–5 April 2007 29 29
  • 30. Shibboleth Development and Support Services Crystal Ball Time • Embedded key approach is in experimental operation within the UK Federation (≈5 entities) • Cautious optimism about this approach, given development of supporting procedures • Not easily used by Shibboleth 1.2 – but that is reaching its official End Of Life soon • May be the only practical way to meet interoperability goals Networkshop 35, University of Exeter 3–5 April 2007 30 30
  • 31. Shibboleth Development and Support Services Contacts • Federation: – http://www.ukfederation.org.uk/ • Speaker: – ian@iay.org.uk Networkshop 35, University of Exeter 3–5 April 2007 31 31