57
Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material to be shared for non-commercial, educational purposes, provided that this copyright statement appears on the reproduced materials and notice is given that the copying is by permission of the author. To disseminate otherwise or to republish requires written permission from the author.

Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

Embed Size (px)

Citation preview

Page 1: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

Shibboleth and InCommonCopyright Texas A&M University 2008. This work

is the intellectual property of the author. Permission is granted for this material to be

shared for non-commercial, educational purposes, provided that this copyright statement appears on the reproduced materials and notice is given that the copying is by permission of the author. To disseminate otherwise or to republish

requires written permission from the author.

Page 2: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

Flexible Access Control: Shibboleth and the

InCommon Federation

Michael Bolton

Xavier Chapa

Texas A&M University

Page 3: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

Why We Are Here

Recently installed Shibboleth and joined InCommon. We would like to share with you the experience and let you know it really works. And, it works really well.

Page 4: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

Our Initial Goals

Explore use of Shibboleth

Gain experience with Federations

Join InCommon

Support Texas Digital Library Project

Page 5: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

Shibboleth Overview

Shibboleth is Federated Identity Management

Built on the concept of an Identity Provider and a Service Provider

Preserves privacy and anonymity

Page 6: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

Shibboleth Diagram

Page 7: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

Why We Like Shibboleth

• Built on standards – implementing standards

• Secure connections to Service Providers

• Clear, controlled attribute release• Tailored to application• Flexible integration with SSO• Easy to manage

Page 8: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

How we use Shibboleth

The General Case:

CAS is authentication and SSO

Shibboleth is attribute release

Page 9: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

What is InCommon

Higher Ed Federation of Identity and Service Providers

Growing Number of Participants

Common Framework for Accessing Sites

Page 10: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

InCommon

Page 11: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

Why This Approach

Shibboleth and InCommon are standards in higher education. We have a common framework to build in and on. Can easily leverage existing work and effort.

Page 12: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

Start with a Plan

What do you want to do

What do you need to do it

Realize what you are doing

Integrate with existing infrastructure

Wealth of knowledge out there

Page 13: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

Work the Plan

1. Install and test Shibboleth

2. Add Service Provider

3. Add InCommon

Not intended as a rigid plan but adds a little structure for your deployment

Page 14: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

CAS - Shibboleth

Page 15: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

Install Shibboleth IdP

Started with 1.3

Deployed on Linux and not all Linux’s are the same

CAS as SSO Solution

LDAP based

Use the Web (for help and support)

Page 16: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

Test Initial Deployment

Used Simple application to verify operation of Shibboleth

Used our applications for debugging

Made sure Shibboleth was running and we knew how to use it

Page 17: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

Simple ENV Application

Page 18: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

Customize Site

Update and change pages for your institution

Read the guide on what needs updating

Branding is an ongoing project

You are now an operational Shibboleth site

Page 19: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

Join InCommon

Fill out the contract

Study the Federation Operating Practices and Procedures

Complete the Participant Operational Practices

Work with your Legal and Contracts departments

Page 20: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

POP

Participant Operational Practices

Participant Information Credential Provider Information Electronic Identity Credentials …

Page 21: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material
Page 22: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

Test Connections

Build on step One, your local Shibboleth deployment

Will be added to InCommon WAYF

Use Shibboleth test/reference site

Page 23: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material
Page 24: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

It Worked!

Page 25: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

Staying in InCommon

Watch the fee schedule

Remember your password

Vetted process – know the players

Keep documentation current (POP, etc.)

Page 26: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

MetaData

MetaData is key for Shibboleth

Need to update frequently or better yet, regularly

Out of sync MetaData causes a lot of problems

Page 27: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

Managing MetaData

We used virtual hosts for the various federations we plan/are joining

Keep your documentation straight

Monitor the process – make sure it is running

Page 28: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

InCommon Metadata

Page 29: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

Keep up with Sites

Page 30: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

Build a Production System

Added redundancy for Shibboleth

Redundant LDAP and Kerberos servers

Separated testing and production

Use good certificates

Page 31: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

System Diagram

Page 32: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

Our Next Goal

Make it easy to use WebAssign

First pass – authenticate existing ids

Second pass – just add classes to WebAssign site

Page 33: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

Keys To Project

Need the data

Need a schema

Need to negotiate the attribute release

Following a naming convention

Page 34: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

Called WebAssign

Worked with Brian Marks @ WebAssign

Used Certificate Information from InCommon Federation MetaData

Agreed on format of elements released

Page 35: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

Leverage Existing Data

Had course data in Oracle

Used for SYMPA mailing lists

Maintained on semester basis

Had remaining essential data in LDAP

Updated nightly

Page 36: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

Accessing the Data

Updated ResolverAdded JDBC Connector to Shibboleth

Developed ARP for WebAssign

Check your logs

Page 37: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

Have a Schema

Deployed EduPerson

Deployed EduCourse

Researched and used appropriate attributes

Page 38: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

Update Shibboleth• Update the resolver.xml file to add

your data sources• Update the arp.xml for attribute

release• Names matter• Restrict the access whenever

possible

Page 39: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

Resolver.XML

Page 40: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

Arp.xml

Page 41: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

AAP.xml

Page 42: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

Attribute Release

Declared WebAssign valid academic use of data

Watch the use of eduPersonTargetedID

Need to maintain privacy and protect restricted or confidential data

Page 43: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

What’s In a Name

Sample Course Identifier

urn:mace:tamu.edu:crs:2007C:TEST209504

Page 44: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

Verified System

Used our test accounts

Worked closely with vendor

Great support from WebAssign

Page 45: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

Customized Login Page

Did not use WAYF or InCommon Site for this deployment

Had customized WebAssign login page

Could be integrated into existing pages fairly easily

Page 46: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

WebAssign Login

Page 47: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

Texas A&M Login

Page 48: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

Market the Service

Work with your departments

Educate your helpdesk

Multiple levels of support

Leverage SSO if you have it

Page 49: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

Texas Digital Library

• Institutional Repositories• Built on DSpace• Shibboleth for AuthN/AuthZ• Establishing a new Texas-wide

Federation• Layered authorization model

http://www.tdl.org/

Page 50: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

Schema Part II

The local federation needed a different set of attributes

Extended the EduPerson schema

Used tamuEduPerson extensions

TDL Federation attributes

Must agree upon names

Page 51: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

More Applications

Departmental use of institutional data For Moodle deployments

Allows institution to share applicationsWireless network access at UT

TAMU Security Awareness Training

Page 52: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

Even More Applications

Grid Computing

Sakai

LionShare at Penn State

Page 53: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

The Big Benefit

• We have a standard• More people will adopt it• Reach critical mass in

implementers• Leverage with vendors

Page 54: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

And we learned …

• You do not dabble with this• You cannot cut corners• Be serious about privacy and

suppression• Be careful with accounts• Stay involved with community• The more you do, the more you know

Page 55: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

Philosophy

“ I hear and I forget,

I see and I remember,

I do and I understand.”

Confucius

Page 56: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

Links

http://www.incommonfederation.org/

http://shibboleth.internet2.edu/

http://infrastructure.tamu.edu/

http://www.tdl.org/

Page 57: Shibboleth and InCommon Copyright Texas A&M University 2008. This work is the intellectual property of the author. Permission is granted for this material

EMail

• Michael Bolton– [email protected]

• Xavier Chapa– [email protected]