Common Virtual Organization Attribute Profile version 1.0

The EMI Common VO attribute profile defines the representation of VO membership attributes as SAML attributes.

Required information

Identification: http://dci-sec.org/saml/profile/virtual-organization/1.0

Contact information: emi-jra1-sec-saml@eu-emiNOSPAMPLEASE.eu

Description: Given below.

Updates: None.

SAML Attribute naming

The NameFormat XML attribute in <Attribute> elements MUST be

urn:oasis:names:tc:SAML:2.0:attrname-format:uri

Attribute name comparison

Two <Attribute> elements refer to the same SAML attribute if and only if their Name XML attribute values are equal in the sense of URI matching rules (RFC 3986).

Profile specific XML attributes

No additional XML attributes are defined for use with the <Attribute> element.

Profile specific XML data types

The following XML schema types are used in this profile

<?xml version="1.0" encoding="UTF-8"?>
<schema 
   xmlns="http://www.w3.org/2001/XMLSchema" 
   targetNamespace="http://dci-sec.org/saml/profile/virtual-organization/1.0"
   xmlns:dci-sec="http://dci-sec.org/saml/profile/virtual-organization/1.0" 
   elementFormDefault="qualified">
   
   <annotation>
        <documentation></documentation>
    </annotation>
        
    <attribute name="scope" type="string"/>
   
   <complexType name="role">
      <simpleContent>
         <extension base="string">
            <attribute ref="dci-sec:scope" use="required"/>
         </extension>
      </simpleContent>
   </complexType>
   
</schema>

Attribute definitions

Virtual organization (VO)

This multi-valued attribute represents the SAML assertion subject's virtual organization membership.

Name: http://dci-sec.org/saml/attribute/virtual-organization

The <AttributeValue> elements (of type xsd:string) define the name of the VO the subject is member of.

Example:

<Attribute NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri" Name="http://dci-sec.org/saml/attribute/virtual-organization">
  <AttributeValue xsi:type="xsd:string">atlas</AttributeValue>
  <AttributeValue xsi:type="xsd:string">example.vo.org</AttributeValue>
</Attribute>

Constraints:

  • The VO attribute value MUST repect the following grammar:
    voname ::= [a-zA-Z0-9][a-zA-Z0-9_.-]*

Groups

This multi-valued attribute represents the SAML assertion subject's VO group membership.

Name: http://dci-sec.org/saml/attribute/group

The <AttributeValue> elements (of type xsd:string) define the VO groups the subject is member of.

Example:

<Attribute NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri" Name="http://dci-sec.org/saml/attribute/group"> 
  <AttributeValue xsi:type="xsd:string">/atlas</AttributeValue>
  <AttributeValue xsi:type="xsd:string">/atlas/it</AttributeValue>
</Attribute>

Constraints:

  • Each group attribute value MUST respect the following grammar:

      group ::= '/' groupname | group '/' groupname
      groupname :: = [a-zA-Z0-9][a-zA-Z0-9_.-]*
    

  • The first path element of each group must be equal to the VO name, i.e., if the VO name is atlas each group must start with the path /atlas.

Primary group

This single-valued attribute represents the SAML assertion subject's primary group membership.

Name: http://dci-sec.org/saml/attribute/group/primary

The <AttributeValue> element (of type xsd:string) defines the primary group for the subject.

Constraints:

  • The value expressed by this attribute MUST also appear in the http://dci-sec.org/saml/attribute/group attribute included in the SAML assertion.
  • All the constraints defined for the http://dci-sec.org/saml/attribute/group attribute are to valid also for this attribute.

Example:

<Attribute NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri" Name="http://dci-sec.org/saml/attribute/group/primary"> 
  <AttributeValue xsi:type="xsd:string">/atlas/it</AttributeValue>
</Attribute>

Roles

This multi-valued attribute represents the roles assigned to the subject.

Name: http://dci-sec.org/saml/attribute/role

The <AttributeValue> elements (of type dci-sec:role) define the roles the subject is member of.

Constraints:

  • Each role attribute value MUST respect the following grammar:

       rolename ::= [a-zA-Z0-9][a-zA-Z0-9_.-]*
     

  • The value of the dci-sec:scope attribute must respect the grammar defined for group names, i.e.:

       group ::= '/' groupname | group '/' groupname
       groupname :: = [a-zA-Z0-9][a-zA-Z0-9_.-]*
     

  • The group pointed by the dci-sec:scope attribute must appear in the http://dci-sec.org/saml/attribute/group attribute included in the SAML assertion.

Example:

<Attribute 
   NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"    
   Name="http://dci-sec.org/saml/attribute/role">
   
   <AttributeValue 
   xsi:type="dci-sec:role" 
   dci-sec:scope="/atlas/it">lcgadmin</AttributeValue>
   
</Attribute>

Primary role

This single-valued attribute represents the SAML assertion subject's primary role membership.

Name: http://dci-sec.org/saml/attribute/role/primary

The <AttributeValue> element (of type dci-sec:role) defines the primary role for the subject.

Constraints:

  • All the constraints specfied for the http://dci-sec.org/saml/attribute/role attribute values apply to this attribute.
  • The value expressed by this attribute MUST also appear in the http://dci-sec.org/saml/attribute/role attribute included in the SAML assertion.

Example:

<Attribute NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri" Name="http://dci-sec.org/saml/attribute/role/primary"> 

   <AttributeValue 
      xsi:type="dci-sec:role" 
      dci-sec:scope="/atlas/it">lcgadmin</AttributeValue>

</Attribute>

-- AndreaCeccanti - 01-Dec-2011

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2011-12-01 - AndreaCeccantiExCern
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    EMI All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback