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 > Control DataObject


EntityTypeControl DataObject

EntityTypeControl is used to get the information for a specified entity type.

The EntityControl is extended from TypeControl and is used in the input data object of the getSchema method of SchemaService.

The structure of as EntityTypeControl data object consists of:

repositoryId

specifies the ID of the repository in the virtual member manager configuration XML file. For example, if an LDAP server is configured in the virtual member manager configuration XML file with the ID LDAP1, you set the repositoryId to LDAP1 in the EntityTypeControl. The getSchema method returns the supported entity types schema for the repository LDAP1. If the repositoryId is not specified in the EntityTypeControl, the supported entity types schema in the virtual member manager level are returned.

entityTypeName

specifies the entity type. The entityTypeName also is a qualified name which means that it contains the namespace prefix of the entity type.


XML schema definition

The following is the XML schema definition for the EntityTypeControl DataObject:

<xsd:complexType name="EntityTypeControl">
<xsd:complexContent>
<xsd:extension base="TypeControl">
<xsd:attribute name="entityTypeName" type="xsd:token"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType> 


Sample data object

The following is a sample EntityTypeControl data object used in the getSchema operation to request all of the supported entity types of the repository LDAP1:

<wim:controls xsi:type="wim:EntityTypeControl" repositoryId="LDAP1"/> 

Parent topic: Control DataObject



+

Search Tips   |   Advanced Search