Realm Configuration
- Name of the realm
- Custom implementation of the realm
- Access policy manager
- Access identity manager
- Custom web authenticator (optional)
- Default Data/Content repository
- Resource configurations repository
- Default language of realm (optional)
- Languages supported by this realm (optional)
- Language handler (optional)
- Translation manager (optional)
- Additional Yarep based repositories (optional)
- I18n configuration of this realm (optional)
- Custom menu implementation (optional)
- Custom repository navigation implemenation (optional)
Also see src/realms/from-scratch-realm-template/realm.xml
Name of realm
The name of the realm can be configured as follows
<name>The name of my realm</name>
Custom implementation of realm
The implementation of the realm can be configured as follows
<realm-config class="org.wyona.yanel.impl.map.FOAFRealm" xmlns="http://www.wyona.org/yanel/realm/1.0">...</realm-config>
whereas if the class attribute is not set, then the default implementation will be used.
Resource Configurations Repository
For details see here.
Additional Yarep based repositories
Additional Yarep repositories can be configured as follows
<yarep-repositories>
<repository id="my-extra-repo" config="config/my-extra-repository.xml"/>
</yarep-repositories>
I18n configuration
The i18n catalogue can be configured as follows
<i18n-catalogue>yanelrepo:/my-i18n-catalogue.xml</i18n-catalogue>
More information on i18n can be found within the i18n documentation.
Custom repository navigation
The custom repository navigation can be configured as follows
<repo-navigation class="foo.bar.yanel.impl.navigation.CustomSitetreeImpl">"Custom Configuration"</repo-navigation>
whereas Yanel is offering various implementations within the package org.wyona.yanel.impl.navigation.
The default implementation is org.wyona.yanel.impl.navigation.SitetreeResConfigAndDataRepoImpl, whereas this is configured within spring-yanel-config.xml (Yanel source: conf/spring-yanel-config.xml, Yanel webapp binary: WEB-INF/classes/spring-yanel-config.xml).
The XML file implementation org.wyona.yanel.impl.navigation.SitetreeDOMImpl requires a source element:
<repo-navigation class="org.wyona.yanel.impl.navigation.SitetreeDOMImpl"> <src>data-repo/data/sitetree.xml</src> <!-- <src>yanelrepo:/sitetree.xml</src> --> </repo-navigation>
Your comments are much appreciated
Is the content of this page unclear or you think it could be improved? Please add a comment and we will try to improve it accordingly.