Penrose 0.9.6 Migration
Migrating apacheds.xml
Remove the following section inside the "configuration" bean.
<property name="authenticatorConfigurations"> <set> <ref bean="penroseAuthenticatorConfiguration"/> </set> </property>
Add the following sections at the end of "interceptorConfigurations" property in the "configuration" bean.
<bean class="org.apache.ldap.server.configuration.MutableInterceptorConfiguration"> <property name="name"><value>collectiveAttributeService</value></property> <property name="interceptor"> <bean class="org.apache.ldap.server.collective.CollectiveAttributeService" /> </property> </bean> <bean class="org.apache.ldap.server.configuration.MutableInterceptorConfiguration"> <property name="name"><value>eventService</value></property> <property name="interceptor"> <bean class="org.apache.ldap.server.event.EventService" /> </property> </bean>
Remove the following section.
<bean id="penroseAuthenticatorConfiguration" class="org.apache.ldap.server.configuration.MutableAuthenticatorConfiguration"> <property name="name"><value>penrose</value></property> <property name="authenticator"> <bean class="org.safehaus.penrose.apacheds.PenroseAuthenticator"> <property name="penrose"> <ref bean="penrose"/> </property> </bean> </property> </bean>
Migrating server.xml
Replace the following section:
<cache> <cache-name>DEFAULT</cache-name> <cache-class>org.safehaus.penrose.cache.Cache</cache-class> </cache>
with the following:
<cache> <cache-name>EntryCache</cache-name> </cache> <cache> <cache-name>SourceCache</cache-name> </cache>
Removing old library files
Remove the following files from the lib directory:
- penrose-0.9.5.jar