LDAP schema definition for storing Java objects

This section gives details of the schema definitions (attribute and objectClass definitions) needed in an LDAP directory in order for it to store Java objects. These are required if you wish to use an LDAP server as your JNDI service provider for storing WebSphere MQ Everyplace JMS administered objects.

Some servers may already contain these definitions in their schema. The exact procedure to check whether your server contains them, and to add them if they are not there, will vary from server to server. Please read the documentation that comes with your LDAP server and your LDAP JNDI service provider.

Much of the data contained in this section has been taken from RFC 2713 Schema for Representing Java Objects in an LDAP Directory, which can be found at http://www.faqs.org/rfcs/rfc2713.html. Please note that some LDAP servers may require you to turn off schema checking, even after these definitions have been added.

Attribute definitions


Table 30. Attribute settings for javaCodebase

Attribute Value
OID (Object Identifier) 1.3.6.1.4.1.42.2.27.4.1.7
Syntax IA5 String (1.3.6.1.4.1.1466.115.121.1.26)
Maximum length 2,048
Single/multi-valued Multi-valued
User modifiable? Yes
Matching rules caseExactIA5match
Access class Normal
Usage userApplications
Description URL(s) specifying the location of class definition

Table 31. Attribute settings for javaClassName

Attribute Value
OID (Object Identifier) 1.3.6.1.4.1.42.2.27.4.1.6
Syntax Directory String (1.3.6.1.4.1.1466.115.121.1.15)
Maximum length 2,048
Single/multi-valued Single-valued
User modifiable? Yes
Matching rules caseExactMatch
Access class Normal
Usage userApplications
Description Fully qualified name of distinguished Java class or interface

Table 32. Attribute settings for javaClassNames

Attribute Value
OID (Object Identifier) 1.3.6.1.4.1.42.2.27.4.1.13
Syntax Directory String (1.3.6.1.4.1.1466.115.121.1.15)
Maximum length 2,048
Single/multi-valued Multi-valued
User modifiable? Yes
Matching rules caseExactMatch
Access class Normal
Usage userApplications
Description Fully qualified Java class or interface name

Table 33. Attribute settings for javaFactory

Attribute Value
OID (Object Identifier) 1.3.6.1.4.1.42.2.27.4.1.10
Syntax Directory String (1.3.6.1.4.1.1466.115.121.1.15)
Maximum length 2,048
Single/multi-valued Single-valued
User modifiable? Yes
Matching rules caseExactMatch
Access class Normal
Usage userApplications
Description Fully qualified Java class name of a JNDI object Factory

Table 34. Attribute settings for javaReferenceAddress

Attribute Value
OID (Object Identifier) 1.3.6.1.4.1.42.2.27.4.1.11
Syntax Directory String (1.3.6.1.4.1.1466.115.121.1.15)
Maximum length 2,048
Single/multi-valued Multi-valued
User modifiable? Yes
Matching rules caseExactMatch
Access class Normal
Usage userApplications
Description Addresses associated with a JNDI Reference

Table 35. Attribute settings for javaSerializedData

Attribute Value
OID (Object Identifier) 1.3.6.1.4.1.42.2.27.4.1.8
Syntax Octet String (1.3.6.1.4.1.1466.115.121.1.40)
Single/multi-valued Single-valued
User modifiable? Yes
Access class Normal
Usage userApplications
Description Serialized form of a Java object

objectClass definitions


Table 36. objectClass definition for javaSerializedObject

Definition Value
OID (Object Identifier) 1.3.6.1.4.1.42.2.27.4.2.5
Extends/superior javaObject
Type AUXILIARY
Required attributes javaSerializedData

Table 37. objectClass definition for javaObject

Definition Value
OID (Object Identifier) 1.3.6.1.4.1.42.2.27.4.2.4
Extends/superior Top
Type ABSTRACT
Required attributes javaClassName
Optional attributes javaClassNames, javaCodebase, javaDoc description

Table 38. objectClass definition for javaContainer

Definition Value
OID (Object Identifier) 1.3.6.1.4.1.42.2.27.4.2.1
Extends/superior Top
Type STRUCTURAL
Required attributes cn

Table 39. objectClass definition for javaNamingReference

Definition Value
OID (Object Identifier) 1.3.6.1.4.1.42.2.27.4.2.7
Extends/superior javaObject
Type AUXILIARY
Optional attributes attrs javaReferenceAddress javaFactory



© IBM Corporation 2002. All Rights Reserved