directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Trustin Lee <>
Subject Re: Adding a LDAP schema definition.
Date Fri, 17 Jun 2005 09:00:21 GMT

2005/6/17, Tony Blanchard <>: 
> Hi Trustin,
> I am affraid I did not even if I do not use programmation but an xml
> configuration file.
> Nevertheless my second question still opened.
> May I compile some new Schema class in a jar and add a configuration
> line like
> <bean class=myjarpackages.myschema"/> after moving my jar to the server
> classpath or something like this ?

 Yes, you can do that, and it should work. Please let us know if it doesn't 
work. Here's an example:
  <property name="bootstrapSchemas">
<bean class="org.apache.ldap.server.schema.bootstrap.AutofsSchema"/>
<bean class="org.apache.ldap.server.schema.bootstrap.CorbaSchema"/>
<bean class="org.apache.ldap.server.schema.bootstrap.CoreSchema"/>
<bean class="org.apache.ldap.server.schema.bootstrap.CosineSchema"/>
<bean class="org.apache.ldap.server.schema.bootstrap.ApacheSchema"/>
<bean class="org.apache.ldap.server.schema.bootstrap.InetorgpersonSchema"/>
<bean class="org.apache.ldap.server.schema.bootstrap.JavaSchema"/>
<bean class="org.apache.ldap.server.schema.bootstrap.Krb5kdcSchema"/>
<bean class="org.apache.ldap.server.schema.bootstrap.NisSchema"/>
<bean class="org.apache.ldap.server.schema.bootstrap.SystemSchema"/>
 <bean class="xxx.yyy.zzz.MyFavoriteSchema"/>
what we call human nature is actually human habit

View raw message