16
Oct 19, 2010 1/16 ption of a SAML-XACML Profile for Authorization Interoperability across Grid Middleware in OSG and EG Adoption of a SAML-XACML Profile for Authorization Interoperability across Grid Middleware in OSG and EGEE CHEP 2010 Oct 19, 2010 Gabriele Garzoglio Computing Division, Fermilab Overview • OSG & EGEE Authorization Models • Authorization Interoperability Profile • Implementations and Deployments

CHEP 2010 Oct 19, 2010

Embed Size (px)

DESCRIPTION

Adoption of a SAML-XACML Profile for Authorization Interoperability across Grid Middleware in OSG and EGEE. Overview OSG & EGEE Authorization Models Authorization Interoperability Profile Implementations and Deployments. CHEP 2010 Oct 19, 2010. Gabriele Garzoglio - PowerPoint PPT Presentation

Citation preview

Oct 19, 2010 1/16

Adoption of a SAML-XACML Profile for Authorization Interoperability across Grid Middleware in OSG and EGEE

Adoption of a SAML-XACML Profile for Authorization Interoperability

across Grid Middleware in OSG and EGEE

CHEP 2010Oct 19, 2010

Gabriele GarzoglioComputing Division, Fermilab

Overview• OSG & EGEE Authorization Models• Authorization Interoperability Profile• Implementations and Deployments

Oct 19, 2010 2/16

Adoption of a SAML-XACML Profile for Authorization Interoperability across Grid Middleware in OSG and EGEE

The Collaboration

Ian Alderman9

Mine Altunay1

Rachana Ananthakrishnan8

Joe Bester8

Keith Chadwick1

Vincenzo Ciaschini7

Yuri Demchenko4

Andrea Ferraro7

Alberto Forti7

Gabriele Garzoglio1

David Groep2

Ted Hesselroth1

1 Fermilab, Batavia, IL, USA2 NIKHEF, Amsterdam, The

Netherlands3 Brookhaven National Laboratory,

Upton, NY, USA4 University of Amsterdam,

Amsterdam, The Netherlands5 SWITCH, Zürich, Switzerland6 BCCS, Bergen, Norway7 INFN CNAF, Bologna, Italy8 Argonne National Laboratory,

Argonne, IL, USA9 University of Wisconsin,

Madison, WI, USA

John Hover3

Oscar Koeroo2

Chad La Joie5

Tanya Levshina1

Zach Miller9

Jay Packard3

Håkon Sagehaug6

Valery Sergeev1

Igor Sfiligoi1

Neha Sharma1

Frank Siebenlist8

Valerio Venturi7

John Weigand1

Gabriele Garzoglio

Oct 19, 2010 3/16

Adoption of a SAML-XACML Profile for Authorization Interoperability across Grid Middleware in OSG and EGEE

The Authorization Model

• The EGEE (EGI) and OSG security model is based on X509 end entity and proxy certificates for single sign-on and delegation

• Role-based access to resources is based on VOMS Attribute Certificates

• Users push credentials and attributes to resources• Access privileges are granted with appropriate local

identity mappings• Resource gateways (Gatekeeper, SRM, gLExec, …)

i.e. Policy Enforcement Points (PEP) call-out to site-central Policy Decision Points (PDP) for authorization decisions

Gabriele Garzoglio

Oct 19, 2010 4/16

Adoption of a SAML-XACML Profile for Authorization Interoperability across Grid Middleware in OSG and EGEE

Authorization Infrastructure (the OSG case)

GridSite

GUMS

Site Services

SAZ

CEGatekeeper

Prima

Is Au

th?

Ye

s / No

SESRM

gPlazmaID

Ma

pp

ing

?Y

es / N

o +

Use

rNa

me

VO Services

VOMRS VOMSsynch

reg

iste

r

get voms-proxy

Submit request with voms-proxy

synch

1

4

5

672 3

WNgLExec

Prima

StorageBatch

System

Su

bm

itP

ilot O

R Jo

b

(UID

/GID

)

Acce

ssD

ata

(UID

/GID

)

8 8

Sch

ed

ule

Pilo

t OR

Job

9

Pilot SUJob

(UID/GID)

10

VO PDP

PEPs

AuthZ Components

Legend

Not OfficiallyIn OSG

VO Management Services

Gabriele Garzoglio

Oct 19, 2010 5/16

Adoption of a SAML-XACML Profile for Authorization Interoperability across Grid Middleware in OSG and EGEE

Goals for Interoperability

• Agree on common PEP to PDP call-out protocol and implementation to…1. …share and reuse software developed for

EGI and OSG2. …give software providers (external to the

Grid organizations) reference protocols to integrate with both Grids infrastructures

3. …enable the seamless deployment of software developed in the US or EU in the EU or US security infrastructures

Gabriele Garzoglio

Oct 19, 2010 6/16

Adoption of a SAML-XACML Profile for Authorization Interoperability across Grid Middleware in OSG and EGEE

AuthZ Interoperability Activities• 2008

– Release XACML profile document: result of 1+ yr collaboration between OSG, EGEE, Globus, and Condor.

– Implementation and integration of XACML AuthZ modules with principal PDPs and PEPs in OSG and EGEE

– Demonstrated interoperability of OSG vs. EGEE deployments in ad-hoc scenarios – Goal 3

• 2009– Discussion on evolutions of the profile in the context of Argus– Argus extends the interoperability profile– External software providers use the profile as reference on authorization

for the Grid Domain. TechX: SVOPME project. Globus: GT5 – Goal 2• 2010

– Consolidation of additional OSG PDPs and PEPs– Start migration of PEPs to LCAS / LCMAS (Nikhef, NL) as common

code base – Goal 1• 2011

– Additional migration of OSG sites to XACML

Gabriele Garzoglio

Oct 19, 2010 7/16

Adoption of a SAML-XACML Profile for Authorization Interoperability across Grid Middleware in OSG and EGEE

Adoption of a SAML-XACML Profile for Authorization Interoperability

across Grid Middleware in OSG and EGEE

CHEP 2010Oct 19, 2010

Gabriele GarzoglioComputing Division, Fermilab

Overview OSG & EGEE Authorization Models Authorization Interoperability Profile• Implementations and Deployments

Oct 19, 2010 8/16

Adoption of a SAML-XACML Profile for Authorization Interoperability across Grid Middleware in OSG and EGEE

Request/Response Attribute Categories

• Request is made with– Subject attributes – Action attributes – Resource attributes – Environment attributes

• Response is made with– Permit, Deny, or

Indeterminate– Obligation attributes

Gabriele Garzoglio

PDP

Site ServicesCE / SE / WN

GatewayPEP

XACML Request

XACML Response

Grid Site

Subject S requests to perform Action A on Resource R within Environment E

Decision Permit, but must fulfill Obligation O

Oct 19, 2010 9/16

Adoption of a SAML-XACML Profile for Authorization Interoperability across Grid Middleware in OSG and EGEE

Request Attributes• Subject (see profile doc for full list)

– Subject-X509-id• String: OpenSSL DN notation

– Subject-VO• String: “CMS”

– VOMS-FQAN• String: “/CMS/VO-Admin”

• Resource (see doc for full list)– Resource-id (enum type)

• CE / SE / WN

– Resource X509 Service Certificate Subject

• resource-x509-id

– Host DNS Name• Dns-host-name

• Action– Action-id (enum type)

• Queue / Execute-Now / Access (file)– Res. Spec. Lang.

• RSL string

• Environment– PEP-PDP capability negot.

• PEP sends to PDP supported Obligations

• Enables upgrading of the PEPs and PDPs independently

– Pilot Job context (pull-WMS)• Pilot job invoker identity• Policy statement example: “User

access to the WN execution environment can be granted only if the pilot job belongs to the same VO as the user VO”

Gabriele Garzoglio

Oct 19, 2010 10/16

Adoption of a SAML-XACML Profile for Authorization Interoperability across Grid Middleware in OSG and EGEE

Obligation Attributes

• UIDGID– UID (integer): Unix User ID

local to the PEP– GID (integer): Unix Group ID

local to the PEP

• Secondary GIDs– GID (integer): Unix Group ID

local to the PEP (Multi recurrence)

• Username– Username (string): Unix

username or account name local to the PEP.

• Path restriction– RootPath (string): a sub-tree of the FS at

the PEP– HomePath (string): path to user home

area (relative to RootPath)

• Storage Priority– Priority (integer): priority to access storage

resources.

• Access permissions– Access-Permissions (string):

“read-only”, “read-write”

Gabriele Garzoglio

Oct 19, 2010 11/16

Adoption of a SAML-XACML Profile for Authorization Interoperability across Grid Middleware in OSG and EGEE

Adoption of a SAML-XACML Profile for Authorization Interoperability

across Grid Middleware in OSG and EGEE

CHEP 2010Oct 19, 2010

Gabriele GarzoglioComputing Division, Fermilab

Overview OSG & EGEE Authorization Models Authorization Interoperability Profile Implementations and Deployments

Oct 19, 2010 12/16

Adoption of a SAML-XACML Profile for Authorization Interoperability across Grid Middleware in OSG and EGEE

Implementations

• SAML v2 - XACML v2 profile– OpenSAML (Java); Globus XACML (C)

• Authorization Callout Modules and PDPs– LCAS / LCMAPS (L&L) - SCAS plug-in SCAS (EGEE)– PRIMA - gPlazma plug-in GUMS / SAZ (OSG)

• Resource Gateways– Computing Element

• Pre-WS and WS Gatekeepers 4.2 (5.1 in progress)

– Storage Element• SRM / dCache; BeStMan; xrootd; GridFTP

– Worker Node• gLExec

Gabriele Garzoglio

Oct 19, 2010 13/16

Adoption of a SAML-XACML Profile for Authorization Interoperability across Grid Middleware in OSG and EGEE

PRIMA

GUMSSAML1 XACML2

SCASXACML2

SAZsocket

GridFTPgLExec SRM/dCache

L&L

SAML1lib

XACML2gLite lib

PRIMA

SAML1lib

XACML2gLite lib

SAML1lib

SAZClnt

SAZClnt

XACML Callout Structure - using EGEE code in OSG

Pre-WS GK

PRIMA

SAML1lib

XACML2gLite lib

SAZClnt

WNCE

SEGat

eway

Cal

l-o

ut

XA

CM

L l

ibP

DP

Legend: Cmpnt EGEE Comp. used in OSG

WS GK v4.0

PRIMAWS

SAML1lib

SAZClnt

SAZ Clnt

gPlazma

SAZClnt

XACML2gLite lib

2010

SRMBeStMan

PRIMA

SAML1lib

XACML2gLite lib

XACML2

Oct 19, 2010 14/16

Adoption of a SAML-XACML Profile for Authorization Interoperability across Grid Middleware in OSG and EGEE

GUMSXACML2

SCASXACML2

SAZXACML2

gLExec SRM/dCache

L&L

XACML2gLite lib

gPlazma

XACML Callout Structure - using EGEE code in OSG

Pre-WS GK

XACML2gLite lib

L&L

WNCE

SE Gat

eway

Cal

l-o

ut

XA

CM

L l

ibP

DP

CmpntLegend: Component or dependencyforeseen by 01/2011

Cmpnt EGEE Comp. used in OSG2011

GT5 SecL&L

GK v5.1

XACML2gLite lib

XACML2gLite lib

GridFTP

GT5.0 SecL&L

XACML2gLite lib

xrootd

XACML2gLite lib

L&L

SRMBeStMan

XACML2gLite lib

L&L

Oct 19, 2010 15/16

Adoption of a SAML-XACML Profile for Authorization Interoperability across Grid Middleware in OSG and EGEE

Deployments• Getting traction slowly: migration requires

packaging and administrative work to simplify the infrastructure with no new functionalities

• UNL is now enabling access to Hadoop for all SE Grid interfaces (SRM/BeStMan, GridFTP, xrootd) via XACML. XACML-only access for SE, CE, and WN interfaces (Gatekeeper, gLExec) is being tested

• We are working closely with VDT to make the deployment of the new infrastructure easy.

Gabriele Garzoglio

Oct 19, 2010 16/16

Adoption of a SAML-XACML Profile for Authorization Interoperability across Grid Middleware in OSG and EGEE

Conclusions• An EGEE, OSG, Globus, and Condor collaboration

has released in 2008 an Authorization Interoperability profile and XACML implementation

• Call-out module implementations are integrated with major Resource Gateways

• The major advantages of the infrastructure are:1. share and reuse software developed for EGI and OSG2. give software providers reference protocols to integrate

with both Grids infrastructures3. when using the same release of the protocol, enable the

deployment of software developed in the US or EU in the EU or US security infrastructures

• Production deployments are slowly getting traction

Gabriele Garzoglio