Hi,
I want to augment the default schema of ApacheDS 1.5.0. in a unit test
(extending org.apache.directory.server.unit.AbstractServerTest)
This should be easy... but it's not
The tip given here fails :
http://directory.apache.org/apacheds/1.5/add-your-first-elements-to-the-schema.html#Addyourfirstelementstotheschema-UsingJNDItoaddtheschemaelementsprogrammatically
The thrown error is :
java.lang.UnsupportedOperationException
at
org.apache.directory.server.core.jndi.ServerDirContext.getSchema(ServerDirContext.java:432)
...
Here, someone noticed the... bug (?) :
http://www.nabble.com/-ldapserver--schema--How-to-programmatically-extract-schema-information-from-a-server-context-to13524142.html
I didn't find any workaround yet...
Thanks in advance