directory-dev mailing list archives

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

2005/6/17, Tony Blanchard <bltony@wanadoo.fr>: 
> 
> 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">
<set>
<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"/>
</set>
</property>
 Trustin
-- 
what we call human nature is actually human habit
--
http://gleamynode.net/

Mime
View raw message