31
Datum Informatikdienste der ETH Zürich © ETH Zürich | Active Directory Federation Service 03.09.2013 Tibor Magoc

Informatikdienste der ETH Zürich Active Directory ... · ... (Active Directory Federation Service) ... Claims-based authentication Why ADFS? Sharepoint claims-based authorisation

Embed Size (px)

Citation preview

Page 1: Informatikdienste der ETH Zürich Active Directory ... · ... (Active Directory Federation Service) ... Claims-based authentication Why ADFS? Sharepoint claims-based authorisation

Datum

Informatikdienste der ETH Zürich

© ETH Zürich |

Active Directory

Federation Service

03.09.2013

Tibor Magoc

Page 2: Informatikdienste der ETH Zürich Active Directory ... · ... (Active Directory Federation Service) ... Claims-based authentication Why ADFS? Sharepoint claims-based authorisation

29.08.2013 Tibor Magoc / Windows Core Service / [email protected] 2

Agenda

� Active Directory Federation Service

� Claims-based authentication

� Interaction

� ADFS Infrastructure

Page 3: Informatikdienste der ETH Zürich Active Directory ... · ... (Active Directory Federation Service) ... Claims-based authentication Why ADFS? Sharepoint claims-based authorisation

29.08.2013 Tibor Magoc / Windows Core Service / [email protected] 3

� ADFS (Active Directory Federation Service)

� SAML

Security Assertion Markup Language

- 2001 developed by the OASIS-Konsortium- XML-based-Framework

Exchange of authentication and authorization Information

- Goalsingle sign-on (SSO), distributed transaction, authorization

«mostly for WebServices»

ADFS

Page 4: Informatikdienste der ETH Zürich Active Directory ... · ... (Active Directory Federation Service) ... Claims-based authentication Why ADFS? Sharepoint claims-based authorisation

29.08.2013 Tibor Magoc / Windows Core Service / [email protected] 4

ADFS

The official name is the Security Services

Technical Committee (SSTC).

It is sometimes unofficially called the

"SAML TC" or the "SSTC/SAML committee".

Page 5: Informatikdienste der ETH Zürich Active Directory ... · ... (Active Directory Federation Service) ... Claims-based authentication Why ADFS? Sharepoint claims-based authorisation

29.08.2013 Tibor Magoc / Windows Core Service / [email protected] 5

Agenda

� Active Directory Federation Service

� Claims-based authentication

� Interaction

� ADFS Infrastructure

Page 6: Informatikdienste der ETH Zürich Active Directory ... · ... (Active Directory Federation Service) ... Claims-based authentication Why ADFS? Sharepoint claims-based authorisation

29.08.2013 Tibor Magoc / Windows Core Service / [email protected]

� components

� Identity Provider (Idp / IP)

� Service Provider (SP/ RP)

� Discovery Service (WAYF)

optional component

6

Claims-based authentication

Page 7: Informatikdienste der ETH Zürich Active Directory ... · ... (Active Directory Federation Service) ... Claims-based authentication Why ADFS? Sharepoint claims-based authorisation

29.08.2013 Tibor Magoc / Windows Core Service / [email protected]

� Shibboleth

� LDAP

� relational database

� AD Federation

� Active Directory

� LDAP

� SQL Server

7

Claims-based Authentication

Page 8: Informatikdienste der ETH Zürich Active Directory ... · ... (Active Directory Federation Service) ... Claims-based authentication Why ADFS? Sharepoint claims-based authorisation

Identity Provider (IP)

ActiveDirectory

Security Token Service (STS)

User / Subject /Principal Requests token for AppX

Issues Security Tokencrafted for Appx

Relying party (RP)/

Resource provider

Issuer IP-STS

Trusts the Security Tokenfrom the issuer

The Security TokenContains claims about the user

For example:• Name• Group membership• User Principal Name (UPN)• Email address of user• Email address of manager• Phone number• Other attribute values

Security Token “Authenticates” user to the application

ST

Signed by issuer

AppX

Page 9: Informatikdienste der ETH Zürich Active Directory ... · ... (Active Directory Federation Service) ... Claims-based authentication Why ADFS? Sharepoint claims-based authorisation

29.08.2013 Tibor Magoc / Windows Core Service / [email protected]

Claims-based authentication

� Why ADFS?

� Sharepoint claims-based authorisation

� New Microsoft applications

such SMB 3.0 Claim Aware

� Integration of Dynamic Access Control

� Form-based Authentication

� Windows integrated Authentication

� use of external non-SWITCH AAI resources or Idp

9

Page 10: Informatikdienste der ETH Zürich Active Directory ... · ... (Active Directory Federation Service) ... Claims-based authentication Why ADFS? Sharepoint claims-based authorisation

29.08.2013 Tibor Magoc / Windows Core Service / [email protected] 10

Agenda

� Active Directory Federation Service

� Claims-based authentication

� Interaction

� ADFS Infrastructure

Page 11: Informatikdienste der ETH Zürich Active Directory ... · ... (Active Directory Federation Service) ... Claims-based authentication Why ADFS? Sharepoint claims-based authorisation

Process token

Home realm discovery

Redirected to partner STS requesting ST for partner user

Return ST for consumption by your STS

Return new ST

OurAD FS 2.0 STS

OurClaims-aware app

ActiveDirectory

Partneruser

PartnerAD FS 2.0 STS & IP

Redirected to your STS

Authenticate

Send Token

Return cookiesand page

Browse app

Not authenticated

Redirect to your STS

App trusts STS Your STStrusts your

partner’s STS

Page 12: Informatikdienste der ETH Zürich Active Directory ... · ... (Active Directory Federation Service) ... Claims-based authentication Why ADFS? Sharepoint claims-based authorisation

29.08.2013 Tibor Magoc / Windows Core Service / [email protected]

Intraction

� Authentication Shibboleth SWITCH AAI

� Register ADFS as a SP in SWITCH AAI

12

ADFS

SP

Page 13: Informatikdienste der ETH Zürich Active Directory ... · ... (Active Directory Federation Service) ... Claims-based authentication Why ADFS? Sharepoint claims-based authorisation

29.08.2013 Tibor Magoc / Windows Core Service / [email protected]

Intraction

� Authentication Shibboleth SWITCH AAI

� Register the Application such as SharePoint in ADFS

as an SP/RP

13

SharePoint ADFS

SPSP / RP

Page 14: Informatikdienste der ETH Zürich Active Directory ... · ... (Active Directory Federation Service) ... Claims-based authentication Why ADFS? Sharepoint claims-based authorisation

29.08.2013 Tibor Magoc / Windows Core Service / [email protected]

Intraction

� Authentication Shibboleth SWITCH AAI

� Add the required Idp’s to ADFS and configure the claim rules

(no self-signed certificates)

14

SP

ADFSSharePoint

SP / RP

Idps

Page 15: Informatikdienste der ETH Zürich Active Directory ... · ... (Active Directory Federation Service) ... Claims-based authentication Why ADFS? Sharepoint claims-based authorisation

29.08.2013 Tibor Magoc / Windows Core Service / [email protected] 15

� Google, Facebook, Yahoo! and Microsoft Live ID

� Azure ACS (Access Control Service) with SharePoint 2010

- Request a Namespace in Azure ACS

Interaction

Azure ACS

Page 16: Informatikdienste der ETH Zürich Active Directory ... · ... (Active Directory Federation Service) ... Claims-based authentication Why ADFS? Sharepoint claims-based authorisation

29.08.2013 Tibor Magoc / Windows Core Service / [email protected] 16

Interaction

� Google, Facebook, Yahoo! and Microsoft Live ID

� Azure ACS (Access Control Service) with SharePoint 2010

ADFS

- Register the ADFS Server in Azure ACS

Azure ACS

Page 17: Informatikdienste der ETH Zürich Active Directory ... · ... (Active Directory Federation Service) ... Claims-based authentication Why ADFS? Sharepoint claims-based authorisation

29.08.2013 Tibor Magoc / Windows Core Service / [email protected] 17

Interaction

� Google, Facebook, Yahoo! and Microsoft Live ID

� Azure ACS (Access Control Service) with SharePoint 2010

ADFS

SharePoint

2010

- Register your Sharepoint in Azure ACS

Azure ACS

Page 18: Informatikdienste der ETH Zürich Active Directory ... · ... (Active Directory Federation Service) ... Claims-based authentication Why ADFS? Sharepoint claims-based authorisation

29.08.2013 Tibor Magoc / Windows Core Service / [email protected] 18

Interaction

Azure ACS

SharePoint

2010

Page 19: Informatikdienste der ETH Zürich Active Directory ... · ... (Active Directory Federation Service) ... Claims-based authentication Why ADFS? Sharepoint claims-based authorisation

29.08.2013 Tibor Magoc / Windows Core Service / [email protected] 19

Interaction

Azure ACS

SharePoint

2010

Page 20: Informatikdienste der ETH Zürich Active Directory ... · ... (Active Directory Federation Service) ... Claims-based authentication Why ADFS? Sharepoint claims-based authorisation

29.08.2013 Tibor Magoc / Windows Core Service / [email protected] 20

Interaction

Azure ACS

SharePoint

2010

Page 21: Informatikdienste der ETH Zürich Active Directory ... · ... (Active Directory Federation Service) ... Claims-based authentication Why ADFS? Sharepoint claims-based authorisation

29.08.2013 Tibor Magoc / Windows Core Service / [email protected] 21

Interaction

� Google, Facebook, Yahoo! and Microsoft Live ID

� Azure ACS (Access Control Service) with SharePoint 2013

- Request a Namespace in Azure ACS

Azure ACS

Page 22: Informatikdienste der ETH Zürich Active Directory ... · ... (Active Directory Federation Service) ... Claims-based authentication Why ADFS? Sharepoint claims-based authorisation

29.08.2013 Tibor Magoc / Windows Core Service / [email protected] 22

Interaction

SharePoint

2013

- Register your SharePoint in Azure ACS

Azure ACS

� Google, Facebook, Yahoo! and Microsoft Live ID

� Azure ACS (Access Control Service) with SharePoint 2013

Page 23: Informatikdienste der ETH Zürich Active Directory ... · ... (Active Directory Federation Service) ... Claims-based authentication Why ADFS? Sharepoint claims-based authorisation

29.08.2013 Tibor Magoc / Windows Core Service / [email protected] 23

Interaction

SharePoint

2013

ADFS

• SharePoint 2013 supports more than 1 Claim provider for a zone

Azure ACS

� Google, Facebook, Yahoo! and Microsoft Live ID

� Azure ACS (Access Control Service) with SharePoint 2013

Page 24: Informatikdienste der ETH Zürich Active Directory ... · ... (Active Directory Federation Service) ... Claims-based authentication Why ADFS? Sharepoint claims-based authorisation

29.08.2013 Tibor Magoc / Windows Core Service / [email protected] 24

Interaction

SharePoint

2013

Page 25: Informatikdienste der ETH Zürich Active Directory ... · ... (Active Directory Federation Service) ... Claims-based authentication Why ADFS? Sharepoint claims-based authorisation

29.08.2013 Tibor Magoc / Windows Core Service / [email protected] 25

Interaction

SharePoint

2013

Page 26: Informatikdienste der ETH Zürich Active Directory ... · ... (Active Directory Federation Service) ... Claims-based authentication Why ADFS? Sharepoint claims-based authorisation

29.08.2013 Tibor Magoc / Windows Core Service / [email protected] 26

Interaction

SharePoint

2013

Namespace OpenID

Namespace LiveID

Namespace Google

Page 27: Informatikdienste der ETH Zürich Active Directory ... · ... (Active Directory Federation Service) ... Claims-based authentication Why ADFS? Sharepoint claims-based authorisation

29.08.2013 Tibor Magoc / Windows Core Service / [email protected] 27

Agenda

� Active Directory Federation Service

� Claims-based authetication

� Interaction

� ADFS Infrastructure

Page 28: Informatikdienste der ETH Zürich Active Directory ... · ... (Active Directory Federation Service) ... Claims-based authentication Why ADFS? Sharepoint claims-based authorisation

29.08.2013 Tibor Magoc / Windows Core Service / [email protected]

Planing ADFS

� Proxy Server / STS Server

� Form-Based Authentication / Windows Integrated Authentication

� Certificates

� SSL, token signing, token encryption

� WID (Windows Internal Database) or SQL

� Administration IP / RP

� Attribute store

28

Page 29: Informatikdienste der ETH Zürich Active Directory ... · ... (Active Directory Federation Service) ... Claims-based authentication Why ADFS? Sharepoint claims-based authorisation

29.08.2013 Tibor Magoc / Windows Core Service / [email protected]

ADFS Proxy

RES

SharePoint

DMZWWW Intranet

ADFS STS

RES

ADFS Proxy ADFS STS

Shibboleth

ETH Zürich

Actice Directory

WID

WID

29

DNSDNS

Windows Integrated

Authentication

Form-Based

Authentication

Page 30: Informatikdienste der ETH Zürich Active Directory ... · ... (Active Directory Federation Service) ... Claims-based authentication Why ADFS? Sharepoint claims-based authorisation

29.08.2013 Tibor Magoc / Windows Core Service / [email protected]

Page 31: Informatikdienste der ETH Zürich Active Directory ... · ... (Active Directory Federation Service) ... Claims-based authentication Why ADFS? Sharepoint claims-based authorisation

29.08.2013 Tibor Magoc / Windows Core Service / [email protected] 31