From 06a7909c07029fc6fa2d50d74e57b282afd74ede Mon Sep 17 00:00:00 2001
From: Gaetan Boismal <gaetan.boismal@forgerock.com>
Date: Fri, 13 Mar 2015 16:28:34 +0000
Subject: [PATCH] OPENDJ-1773: Add missing file to new config framework

---
 opendj-sdk/opendj-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/PKCS5S2PasswordStorageSchemeConfiguration.xml |   58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 opendj-sdk/opendj-maven-plugin/src/main/resources/config/stylesheets/abbreviations.xsl                                                        |    2 +-
 2 files changed, 59 insertions(+), 1 deletions(-)

diff --git a/opendj-sdk/opendj-maven-plugin/src/main/resources/config/stylesheets/abbreviations.xsl b/opendj-sdk/opendj-maven-plugin/src/main/resources/config/stylesheets/abbreviations.xsl
index eb8b113..8926353 100644
--- a/opendj-sdk/opendj-maven-plugin/src/main/resources/config/stylesheets/abbreviations.xsl
+++ b/opendj-sdk/opendj-maven-plugin/src/main/resources/config/stylesheets/abbreviations.xsl
@@ -54,7 +54,7 @@
               or $value = 'des' or $value = 'aes' or $value = 'rc4'
               or $value = 'db' or $value = 'snmp' or $value = 'qos'
               or $value = 'ecl' or $value = 'ttl' or $value = 'jpeg'
-              or $value = 'pbkdf2'
+              or $value = 'pbkdf2' or $value = 'pkcs5s2'
              "/>
   </xsl:template>
 </xsl:stylesheet>
diff --git a/opendj-sdk/opendj-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/PKCS5S2PasswordStorageSchemeConfiguration.xml b/opendj-sdk/opendj-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/PKCS5S2PasswordStorageSchemeConfiguration.xml
new file mode 100644
index 0000000..0423a33
--- /dev/null
+++ b/opendj-sdk/opendj-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/PKCS5S2PasswordStorageSchemeConfiguration.xml
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ! CDDL HEADER START
+  !
+  ! The contents of this file are subject to the terms of the
+  ! Common Development and Distribution License, Version 1.0 only
+  ! (the "License").  You may not use this file except in compliance
+  ! with the License.
+  !
+  ! You can obtain a copy of the license at legal-notices/CDDLv1_0.txt
+  ! or http://forgerock.org/license/CDDLv1.0.html.
+  ! See the License for the specific language governing permissions
+  ! and limitations under the License.
+  !
+  ! When distributing Covered Code, include this CDDL HEADER in each
+  ! file and include the License file at legal-notices/CDDLv1_0.txt.
+  ! If applicable, add the following below this CDDL HEADER, with the
+  ! fields enclosed by brackets "[]" replaced with your own identifying
+  ! information:
+  !      Portions Copyright [yyyy] [name of copyright owner]
+  !
+  ! CDDL HEADER END
+  !
+  !
+  !      Copyright 2014 ForgeRock AS.
+  ! -->
+<adm:managed-object name="pkcs5s2-password-storage-scheme"
+  plural-name="pkcs5s2-password-storage-schemes"
+  package="org.forgerock.opendj.server.config"
+  extends="password-storage-scheme"
+  xmlns:adm="http://opendj.forgerock.org/admin"
+  xmlns:ldap="http://opendj.forgerock.org/admin-ldap">
+  <adm:synopsis>
+    The
+    <adm:user-friendly-name />
+    provides a mechanism for encoding user passwords using the
+    Atlassian PBKDF2-based message digest algorithm.
+  </adm:synopsis>
+  <adm:description>
+    This scheme contains an implementation for the user password syntax,
+    with a storage scheme name of "PKCS5S2".
+  </adm:description>
+  <adm:profile name="ldap">
+    <ldap:object-class>
+      <ldap:name>ds-cfg-pkcs5s2-password-storage-scheme</ldap:name>
+      <ldap:superior>ds-cfg-password-storage-scheme</ldap:superior>
+    </ldap:object-class>
+  </adm:profile>
+  <adm:property-override name="java-class" advanced="true">
+    <adm:default-behavior>
+      <adm:defined>
+        <adm:value>
+          org.opends.server.extensions.PKCS5S2PasswordStorageScheme
+        </adm:value>
+      </adm:defined>
+    </adm:default-behavior>
+  </adm:property-override>
+</adm:managed-object>

--
Gitblit v1.10.0