Schema
Currently schema is only used to help Penrose users designing the mapping. For instance, a warning message will be shown if there is a missing required attribute in the entry definition. However, Penrose currently does not enforce the validity of the mapping nor the output.
To add a custom schema, create a file containing the schema (e.g. example.schema), put it in this directory :
PENROSE_HOME/schema/ext
Run the following command to generate the bootstrap classes:
cd PENROSE_HOME ./bin/schema.bat schema/ext/<schema file>
Then edit PENROSE_HOME/conf/apacheds.xml and add your schema file there:
<property name="bootstrapSchemas"> <set> ... <bean class="org.apache.ldap.server.schema.bootstrap.ExampleSchema"/> </set> </property>