isgc 2012 feb 27, 2012

18
Status of the Adoption of a SAML-XACML Profile for Authorization Interoperability across Grid Middleware 1/18 Status of the Adoption of a SAML- XACML Profile for Authorization Interoperability across Grid Middleware ISGC 2012 Feb 27, 2012 Keith Chadwick for the AuthZ Interop team Grid & Cloud Computing dept., Computing Sector, Fermilab Overview • OSG & EGI Authorization Models • Authorization Interoperability Profile • Implementations, Status, and Plans

Upload: joel-skinner

Post on 01-Jan-2016

35 views

Category:

Documents


6 download

DESCRIPTION

Status of the Adoption of a SAML-XACML Profile for Authorization Interoperability across Grid Middleware. Overview OSG & EGI Authorization Models Authorization Interoperability Profile Implementations, Status, and Plans. ISGC 2012 Feb 27, 2012. Keith Chadwick for the AuthZ Interop team - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: ISGC 2012 Feb 27, 2012

Status of the Adoption of a SAML-XACML Profile for Authorization Interoperability across Grid Middleware

1/18

Status of the Adoption of a SAML-XACML Profile for Authorization Interoperability across Grid

Middleware

ISGC 2012Feb 27, 2012

Keith Chadwick for the AuthZ Interop teamGrid & Cloud Computing dept.,

Computing Sector, Fermilab

Overview• OSG & EGI Authorization Models• Authorization Interoperability Profile• Implementations, Status, and Plans

Page 2: ISGC 2012 Feb 27, 2012

Status of the Adoption of a SAML-XACML Profile for Authorization Interoperability across Grid Middleware

2/18

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

Page 3: ISGC 2012 Feb 27, 2012

Status of the Adoption of a SAML-XACML Profile for Authorization Interoperability across Grid Middleware

3/18

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

Page 4: ISGC 2012 Feb 27, 2012

Status of the Adoption of a SAML-XACML Profile for Authorization Interoperability across Grid Middleware

4/18

Authorization Infrastructure (the OSG case)

GridSite

GUMS

Site Services

SAZ

CEGatekeeper

LCMAP

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

LCMAP

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

Page 5: ISGC 2012 Feb 27, 2012

Status of the Adoption of a SAML-XACML Profile for Authorization Interoperability across Grid Middleware

5/18

Goals for Interoperability

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

and OSG,2. …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.

Page 6: ISGC 2012 Feb 27, 2012

Status of the Adoption of a SAML-XACML Profile for Authorization Interoperability across Grid Middleware

6/18

AuthZ Interoperability Activities• 2008

Release XACML profile document: 1+ yr collaboration (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

Tune client parameters to sustain authz tsunami Extend profile with proxy validity attributes Begin OGF standardization – Goal 2

• 2012 Work on profile extension for Cloud Authorization

Page 7: ISGC 2012 Feb 27, 2012

Status of the Adoption of a SAML-XACML Profile for Authorization Interoperability across Grid Middleware

7/18

Status of the Adoption of a SAML-XACML Profile for Authorization Interoperability across Grid

Middleware

ISGC 2012Feb 27, 2012

Keith Chadwick for the AuthZ Interop teamGrid & Cloud Computing dept.,

Computing Sector, Fermilab

Overview OSG & EGI Authorization Models Authorization Interoperability Profile• Implementations, Status, and Plans

Page 8: ISGC 2012 Feb 27, 2012

Status of the Adoption of a SAML-XACML Profile for Authorization Interoperability across Grid Middleware

8/18

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

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

Page 9: ISGC 2012 Feb 27, 2012

Status of the Adoption of a SAML-XACML Profile for Authorization Interoperability across Grid Middleware

9/18

Request Attributes (see profile doc for full list)Subject:•Subject-X509-id

• String: OpenSSL DN notation•Subject-VO

• String: “CMS”•VOMS-FQAN

• String: “/CMS/VO-Admin

Action:•Action-id (enum type)

• Queue / Execute-Now / Access (file)

•Res. Spec. Lang.• RSL string

Resource:•Resource-id (enum type)

• CE / SE / WN•Resource X509 Service Certificate Subject

• resource-x509-id•Host DNS Name

• Dns-host-name

Environment:•PEP-PDP capability negotiaton.

• 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”

Page 10: ISGC 2012 Feb 27, 2012

Status of the Adoption of a SAML-XACML Profile for Authorization Interoperability across Grid Middleware10/18

Obligation Attributes

UIDGID:•UID (integer): Unix User ID local to the PEP•GID (integer): Unix Group ID 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)

Secondary GIDs:•GID (integer): Unix Group ID local to the PEP (Multi recurrence)

Storage Priority:•Priority (integer): priority to access storage resources.

Username:•Username (string): Unix username or account name local to the PEP.

Access permissions:•Access-Permissions (string):“read-only”, “read-write”

Page 11: ISGC 2012 Feb 27, 2012

Status of the Adoption of a SAML-XACML Profile for Authorization Interoperability across Grid Middleware11/18

Status of the Adoption of a SAML-XACML Profile for Authorization Interoperability across Grid

Middleware

ISGC 2012Feb 27, 2012

Keith Chadwick for the AuthZ Interop teamGrid & Cloud Computing dept.,

Computing Sector, Fermilab

Overview OSG & EGI Authorization Models Authorization Interoperability Profile Implementations, Status, and Plans

Page 12: ISGC 2012 Feb 27, 2012

Status of the Adoption of a SAML-XACML Profile for Authorization Interoperability across Grid Middleware12/18

Implementations

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

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

• Resource Gateways Computing Element

Pre-WS and WS Gatekeepers 4.2 / 5.2 Storage Element

SRM / dCache; BeStMan; xrootd; GridFTP Worker Node

gLExec

Page 13: ISGC 2012 Feb 27, 2012

Status of the Adoption of a SAML-XACML Profile for Authorization Interoperability across Grid Middleware13/18

PRIMA

GUMSSAML1

SAZsocket

gLExec SRM/dCache

L&L

SAML1lib

SAML1lib

SAZClnt

SAML Callout Structure in OSGMinimal Code Sharing

Pre-WS GK

PRIMA

SAML1lib

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

GridFTP

PRIMA

SAML1lib

SAZClnt

SAZ Clnt

gPlazma

SAZClnt

2009

Page 14: ISGC 2012 Feb 27, 2012

Status of the Adoption of a SAML-XACML Profile for Authorization Interoperability across Grid Middleware14/18

PRIMA

GUMSSAML1 XACML2

SCASXACML2

SAZsocket

gLExec SRM/dCache

L&L

SAML1lib

XACML2gLite lib

SAML1lib

SAZClnt

XACML Callout Structure in OSGTransitioning: Using also EMI Code

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

GridFTP

PRIMA

SAML1lib

XACML2gLite lib

SAZClnt

SAZ Clnt

gPlazma

SAZClnt

XACML2gLite lib

2010

SRMBeStMan

PRIMA

SAML1lib

XACML2gLite lib

XACML2

Page 15: ISGC 2012 Feb 27, 2012

Status of the Adoption of a SAML-XACML Profile for Authorization Interoperability across Grid Middleware15/18

GUMSXACML2

gLExec SRM/dCache

L&L

XACML2gLite lib

gPlazma

XACML Callout Structure in OSG Using only EMI Code

Pre-WS GK

WNCE

SE Gat

eway

Cal

l-o

ut

XA

CM

L l

ibP

DP

2012

GK v5.2

XACML2gLite lib

GridFTP xrootdSRM

BeStMan

Legend: Cmpnt EGEE Comp. used in OSG

XACML2gLite lib

L&L

XACML2gLite lib

L&L

XACML2gLite lib

L&L

XACML2gLite lib

XACML2gLite lib

L&L

SAZXACML2

Page 16: ISGC 2012 Feb 27, 2012

Status of the Adoption of a SAML-XACML Profile for Authorization Interoperability across Grid Middleware16/18

Measured Performance

Tuning PEP / PDP connection

parameters to sustain authorization

“tsunami”*:

Socket connection timeout > 21 s (set to 30 s)

Sysctl parameter 'net.core.somaxconn‘ = max

expected job connections (set at 4096 per

server)

Apache parameter 'ListenBacklog‘ = same

value as above (GUMS only)

Tomcat parameter 'acceptCount‘ = same

(SAZ only)

Apache ‘MaxClients’ = 32 (GUMS only)

* https://twiki.grid.iu.edu/bin/view/Documentation/Release3/InstallGlexec#Engineering_Considerations

MaxClient value

GU

MS

map

ping

s / s

ec

Tuning GUMS Mapping Rate

% M

apping success rate

Page 17: ISGC 2012 Feb 27, 2012

Status of the Adoption of a SAML-XACML Profile for Authorization Interoperability across Grid Middleware17/18

Status and Plans

• rpm-based VDT packages L&L / XACML call-out for easy deployment

• Major OSG sites fully or partially migrated• Working with OGF on standardization of the

profile• Looking for collaborators to extend the

standardized profile in support of Cloud Authorization Goal: reuse stable fine-grain role-based site-

central Grid AuthZ infrastructure for Cloud deployments at sites

Page 18: ISGC 2012 Feb 27, 2012

Status of the Adoption of a SAML-XACML Profile for Authorization Interoperability across Grid Middleware18/18

Conclusions

• An EGEE, OSG, Globus, and Condor collaboration has released in 2008 an Authorization Interoperability profile and XACML implementation

• Effort on OGF standardization and extension for Cloud computing

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

• Performance tuned to support the authorization needs of major OSG Grid sites

• 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