directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ian Taylor (JIRA)" <directory-...@incubator.apache.org>
Subject [jira] Created: (DIR-226) Setting admin password docs out of sync (need current docs?)
Date Thu, 10 Jan 2008 21:41:34 GMT
Setting admin password docs out of sync (need current docs?)
------------------------------------------------------------

                 Key: DIR-226
                 URL: https://issues.apache.org/jira/browse/DIR-226
             Project: Directory
          Issue Type: Bug
          Components: sitedocs
            Reporter: Ian Taylor
            Assignee: Alex Karasulu


Using svn, I couldn't use the xml from: http://directory.apache.org/apacheds/1.5/143-changing-the-admin-password.html

<bean id="environment" 
      class="org.springframework.beans.factory.config.PropertiesFactoryBean">
  <property name="properties">
    <props>
      <prop key="java.naming.security.authentication">simple</prop>
      <prop key="java.naming.security.principal">uid=admin,ou=system</prop>
      <prop key="java.naming.security.credentials">secret</prop>
      ...

instead, I had to use:

<spring:beans xmlns:spring="http://xbean.apache.org/schemas/spring/1.0" xmlns="http://apacheds.org/config/1.0">
  ...
  <spring:bean id="environment" class="org.springframework.beans.factory.config.PropertiesFactoryBean">
      <spring:property name="properties">
	  <spring:props>
	      <spring:prop key="java.naming.security.authentication">simple</spring:prop>
	      <spring:prop key="java.naming.security.principal">uid=admin,ou=system</spring:prop>
	      <spring:prop key="java.naming.security.credentials">secret</spring:prop>
	  </spring:props>
      </spring:property>
  </spring:bean>
  ...
</spring:beans>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message