From fd2092b89bfd222d23d01576baf4a283e7e1c62a Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Thu, 06 Sep 2007 01:14:54 +0000
Subject: [PATCH] Update password storage scheme references in the server so that they use DNs rather than storage scheme names. This will allow better consistency in the configuration, since all other references between configuration objects are DN-based, and it will work better with the upcoming aggregation support. It also eliminates the need to know the storage scheme name, which is not obvious from looking at the configuration entry for the storage scheme, and can actually vary in some implementations depending on whether it's used with a user password or auth password syntax attribute.
---
opends/src/admin/defn/org/opends/server/admin/std/PasswordPolicyImportPluginConfiguration.xml | 41 ++++++++++++++++++++++++-----------------
1 files changed, 24 insertions(+), 17 deletions(-)
diff --git a/opends/src/admin/defn/org/opends/server/admin/std/PasswordPolicyImportPluginConfiguration.xml b/opends/src/admin/defn/org/opends/server/admin/std/PasswordPolicyImportPluginConfiguration.xml
index 8e1bb04..b4e4c9c 100644
--- a/opends/src/admin/defn/org/opends/server/admin/std/PasswordPolicyImportPluginConfiguration.xml
+++ b/opends/src/admin/defn/org/opends/server/admin/std/PasswordPolicyImportPluginConfiguration.xml
@@ -27,10 +27,11 @@
! -->
<adm:managed-object name="password-policy-import-plugin"
-plural-name="password-policy-import-plugins"
-package="org.opends.server.admin.std" extends="plugin"
-xmlns:adm="http://www.opends.org/admin"
-xmlns:ldap="http://www.opends.org/admin-ldap">
+ plural-name="password-policy-import-plugins"
+ package="org.opends.server.admin.std" extends="plugin"
+ xmlns:adm="http://www.opends.org/admin"
+ xmlns:ldap="http://www.opends.org/admin-ldap">
+
<adm:synopsis>
The
<adm:user-friendly-name />
@@ -65,13 +66,14 @@
</adm:default-behavior>
</adm:property-override>
- <adm:property name="default-user-password-storage-scheme" mandatory="false"
+ <adm:property name="default-user-password-storage-scheme-dn" mandatory="false"
multi-valued="true">
<adm:synopsis>
- Specifies the name(s) of the storage scheme(s) that will be used for
- encoding passwords contained in attributes with the user password syntax
- for entries that do not include the ds-pwp-password-policy-dn attribute to
- specify which password policy should be used to govern them.
+ Specifies the DNs of the configuration entries for the password storage
+ schemes that will be used for encoding passwords contained in attributes
+ with the user password syntax for entries that do not include the
+ ds-pwp-password-policy-dn attribute to specify which password policy
+ should be used to govern them.
</adm:synopsis>
<adm:default-behavior>
<adm:alias>
@@ -84,7 +86,9 @@
</adm:alias>
</adm:default-behavior>
<adm:syntax>
- <adm:string />
+ <adm:dn>
+ <adm:base>cn=password storage schemes,cn=config</adm:base>
+ </adm:dn>
</adm:syntax>
<adm:profile name="ldap">
<ldap:attribute>
@@ -94,13 +98,14 @@
</adm:profile>
</adm:property>
- <adm:property name="default-auth-password-storage-scheme" mandatory="false"
+ <adm:property name="default-auth-password-storage-scheme-dn" mandatory="false"
multi-valued="true">
<adm:synopsis>
- Specifies the name(s) of the storage scheme(s) that will be used for
- encoding passwords contained in attributes with the auth password syntax
- for entries that do not include the ds-pwp-password-policy-dn attribute to
- specify which password policy should be used to govern them.
+ Specifies the DNs of the configuration entries for the password storage
+ schemes that will be used for encoding passwords contained in attributes
+ with the auth password syntax for entries that do not include the
+ ds-pwp-password-policy-dn attribute to specify which password policy
+ should be used to govern them.
</adm:synopsis>
<adm:default-behavior>
<adm:alias>
@@ -113,12 +118,14 @@
</adm:alias>
</adm:default-behavior>
<adm:syntax>
- <adm:string />
+ <adm:dn>
+ <adm:base>cn=password storage schemes,cn=config</adm:base>
+ </adm:dn>
</adm:syntax>
<adm:profile name="ldap">
<ldap:attribute>
<ldap:oid>1.3.6.1.4.1.26027.1.1.430</ldap:oid>
- <ldap:name>ds-cfg-default-auth-password-storage-scheme</ldap:name>
+ <ldap:name>ds-cfg-default-auth-password-storage-scheme-dn</ldap:name>
</ldap:attribute>
</adm:profile>
</adm:property>
--
Gitblit v1.10.0