OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

provision message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [provision] One or many data models?


Title: Message
The "Attribute/Value" binding (or profile) would work the same as SPML 1.0 (and would support backwards compatibility). There is an example of how an "XSD" binding would work in the ONT SPML 2.0 Proposal in section 4.2.1. 
 
Jeff Bohren
Product Architect
OpenNetwork Technologies, Inc
 
Try the industry's only 100% .NET-enabled identity management software. Download your free copy of Universal IdP Standard Edition today. Go to www.opennetwork.com/eval.
 
-----Original Message-----
From: Gearard Woods [mailto:gewoods@us.ibm.com]
Sent: Wednesday, March 03, 2004 2:39 PM
To: Jeff Bohren
Cc: provision@lists.oasis-open.org
Subject: RE: [provision] One or many data models?

Jeff,
I'm not certain I understand how the dual "binding" idea would work. Perhaps an example might clarify what you mean here. For the sake of comparison, I'm attaching a WS-Provisioning example that shows how SPML 1.0 schema might be supported using the strategy that I'm proposing. I may have some of the details of the SPML 1.0 schema wrong but you get the general idea.

<wsp:ProvisioningTarget xmlns:wsp="urn:ibm:names:ws:provisioning:0.1:core">
<wsp:identifier name="simplePerson"/>
<wsp:schema>
<spml:schema majorVersion="1" minorVersion="0" xmlns:spml="urn:oasis:names:tc:SPML:1:0">
<spml:providerIdentifier providerIDType="urn:oasis:names:tc:SPML:1:0#URN">
<spml:providerID>urn:oasis:names:tc:SPML</spml:providerID>
</spml:providerIdentifier>
<spml:schemaIdentifier schemaIDType="urn:oasis:names:tc:SPML:1:0#GenericString">
<schemaID>standard</schemaID>
</spml:schemaIdentifier>
<spml:attributeDefinition name="cn" description="Full name, or common name."/>
<spml:attributeDefinition name="email" description="E-mail address."/>
<spml:attributeDefinition name="description" description="Description."/>
<spml:objectclassDefinition name="person" description="Sample standard person.">
<spml:memberAttributes>
<spml:attributeDefinitionReference name="cn" required="true"/>
<spml:attributeDefinitionReference name="email" required="true"/>
<spml:attributeDefinitionReference name="description"/>
</spml:memberAttributes>
</spml:objectclassDefinition>
</spml:schema>
</wsp:schema>
</wsp:ProvisioningTarget>

While it might be true in general that directory schema might be better represented using SPML 1.0 or DSMLv1 schema, it's not outside the bounds of possibility to use XML Schema. The following is an example that I used at the F2F to represent groupOfUniqueNames:

<wsp:ProvisioningTarget xmlns:wsp="urn:ibm:names:ws:provisioning:0.1:core">
<wsp:identifier name="ldap://9.38.215.169:389/ou=Groups,dc=ibm,dc=com??sub?(objectclass=groupOfUniqueNames)"/>
<wsp:schema>
<xsd:schema targetNamespace="urn:jndi:adapter:test:entry" elementFormDefault="qualified"
xmlns:ns1="urn:jndi:adapter:test:entry" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element type="ns1:groupOfUniqueNamesType" name="groupOfUniqueNames"/>
<xsd:complexType name="groupOfUniqueNamesType">
<xsd:sequence>
<xsd:element name="uniqueMember" type="ns1:uniqueMember" minOccurs="1" maxOccurs="unbounded"/>
<xsd:element name="cn" type="ns1:cn" minOccurs="1" maxOccurs="unbounded"/>
<xsd:element name="businessCategory" type="ns1:businessCategory" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="seeAlso" type="ns1:seeAlso" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="owner" type="ns1:owner" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="ou" type="ns1:ou" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="o" type="ns1:o" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="description" type="ns1:description" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="uniqueMember">
<xsd:restriction base="xsd:string"/>
</xsd:simpleType>
<xsd:simpleType name="cn">
<xsd:restriction base="xsd:string"/>
</xsd:simpleType>
<xsd:simpleType name="businessCategory">
<xsd:restriction base="xsd:string"/>
</xsd:simpleType>
<xsd:simpleType name="seeAlso">
<xsd:restriction base="xsd:string"/>
</xsd:simpleType>
<xsd:simpleType name="owner">
<xsd:restriction base="xsd:string"/>
</xsd:simpleType>
<xsd:simpleType name="ou">
<xsd:restriction base="xsd:string"/>
</xsd:simpleType>
<xsd:simpleType name="o">
<xsd:restriction base="xsd:string"/>
</xsd:simpleType>
<xsd:simpleType name="description">
<xsd:restriction base="xsd:string"/>
</xsd:simpleType>
<xsd:simpleType name="objectClass">
<xsd:restriction base="xsd:string"/>
</xsd:simpleType>
</xsd:schema>
</wsp:schema>
</wsp:ProvisioningTarget>


Inactive hide details for "Jeff Bohren" <jbohren@opennetwork.com>"Jeff Bohren" <jbohren@opennetwork.com>




          "Jeff Bohren" <jbohren@opennetwork.com>

          03/03/2004 11:11 AM



To: <provision@lists.oasis-open.org>
cc:
Subject: RE: [provision] One or many data models?


Gary,

Yes, you have summarized this nicely. The only clarification is that the SPML 1.0 schema notation should not be thought of as a separate binding for XML schema. Rather it is a means to define the schema for provisioning data. XSD could also be thought of as a means to define the schema for provisioning data. Which is better is really going to come down to the question of how that data is structured. If the data is attribute/value in nature, then using XSD as a schema notation is a poor fit, since it is designed for defining generic XML data. If the data is generic XML in nature, then the SPML 1.0 schema notation is a poor fit since it is designed for defining attribute/value data. That is why I suggested two profiles, one for attribute/value data and one for generic XML data.

Jeff Bohren
Product Architect
OpenNetwork Technologies, Inc

Try the industry's only 100% .NET-enabled identity management software. Download your free copy of Universal IdP Standard Edition today. Go to www.opennetwork.com/eval.



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]