Express (Distributed operating systems), v8.0 > Secure applications and their environment > Authenticate users > Select a registry or repository > Manage realms in a federated repository > Virtual member manager > Reference > Program model > XML schema files


The wimdomain.xsd file

The wimdomain.xsd file defines the XML Schema for all virtual member manager-build in entity types and property types.

Examples of entity types are Entity, PersonAccount and Group. Examples of property types are sn, cn, and uid. This portion of the model is basically the XML Schema representation of the virtual member manager common domain model.

The following shows an example of the structure of the file. First section is the definitions of property types. Second section is the definitions of entity types.

<xsd:schema xmlns:ecore="//publib.boulder.ibm.com/infocenter/wasinfo/v8r0/index.jsp?topic=/  ://www.eclipse.org/emf/2002/Ecore"
            xmlns="//www.ibm.com/websphere/wim"
            xmlns:xsd="//publib.boulder.ibm.com/infocenter/wasinfo/v8r0/index.jsp?topic=/  ://www.w3.org/2001/XMLSchema"
            ecore:nsPrefix="wim"
            ecore:package="com.ibm.websphere.wim.model"
            targetNamespace="//www.ibm.com/websphere/wim"
            version="1.0"
            elementFormDefault="qualified"
            attributeFormDefault="unqualified">
<xsd:import namespace="//publib.boulder.ibm.com/infocenter/wasinfo/v8r0/index.jsp?topic=/  ://www.w3.org/XML/1998/namespace"
              schemaLocation="//publib.boulder.ibm.com/infocenter/wasinfo/v8r0/index.jsp?topic=/  ://www.w3.org/2001/xml.xsd"/>

<!-- properties  -->
<xsd:element name="parent" type="Entity"/>
<xsd:element name="children" type="Entity"/>
<xsd:element name="groups" type="Group"/>
<xsd:element name="members" type="Entity"/>

<xsd:element name="createTimestamp" type="xsd:dateTime"/>
<xsd:element name="modifyTimestamp" type="xsd:dateTime"/>
<xsd:element name="changeType" type="xsd:token"/>


. . .


<!-- entities  -->
<xsd:complexType name="Entity">
<xsd:sequence>
<xsd:element name="identifier"
                    type="IdentifierType" minOccurs="0" maxOccurs="1"/>
<xsd:element name="viewIdentifiers"
                    type="ViewIdentifierType" minOccurs="0" maxOccurs="unbounded"/>

<xsd:element maxOccurs="1" minOccurs="0" ref="parent"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" ref="children"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" ref="groups"/>
<xsd:element maxOccurs="1" minOccurs="0" ref="createTimestamp"/>
<xsd:element maxOccurs="1" minOccurs="0" ref="modifyTimestamp"/>
<xsd:element maxOccurs="1" minOccurs="0" ref="changeType"/>


<!-- Entitlement information -->
<xsd:element maxOccurs="1" minOccurs="0"
                         name="entitlementInfo"
                         type="EntitlementInfoType"/>
</xsd:sequence>
</xsd:complexType> . . .

</xsd:schema> 

The wimdomain.xsd uses the XML schema internal version attribute to indicate the virtual member manager model version. When virtual member manager ships a new version of the wimdomain.xsd, the model version number is updated accordingly.

Parent topic: XML schema files



+

Search Tips   |   Advanced Search