Dashboard > Penrose > ... > Penrose Server User Guide > Schema
Schema
Added by Endi S. Dewata, last edited by Endi S. Dewata on Nov 28, 2005  (view change)
Labels: 
(None)


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>

Site running on a free Atlassian Confluence Open Source Project License granted to Safehaus. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.4 Build:#809 Jun 12, 2007) - Bug/feature request - Contact Administrators