From eadeef95188152bda18ea3e01200996c3ddac1be Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Tue, 04 Sep 2007 01:24:19 +0000
Subject: [PATCH] Add a 7-bit clean plugin, which can be used to ensure that values for a specified set of attributes (optionally only for entries below a specified set of base DNs) are 7-bit clean.

---
 opendj-sdk/opends/src/messages/messages/plugin.properties |   68 +++++++++++++++++++++-------------
 1 files changed, 42 insertions(+), 26 deletions(-)

diff --git a/opendj-sdk/opends/src/messages/messages/plugin.properties b/opendj-sdk/opends/src/messages/messages/plugin.properties
index 747d78b..2739baa 100644
--- a/opendj-sdk/opends/src/messages/messages/plugin.properties
+++ b/opendj-sdk/opends/src/messages/messages/plugin.properties
@@ -319,42 +319,58 @@
  register the Referential Integrity plugin to be invoked as a %s plugin.  This \
  plugin type is not allowed for this plugin
 SEVERE_ERR_PLUGIN_REFERENT_CREATE_LOGFILE_82=An error occured during \
-   Referential Integity plugin initialization because log file creation \
-   failed:  %s
+ Referential Integity plugin initialization because log file creation \
+ failed:  %s
 SEVERE_ERR_PLUGIN_REFERENT_CLOSE_LOGFILE_83=An error occured closing the \
-  Referential Integrity plugin update logile: %s
+ Referential Integrity plugin update logile: %s
 SEVERE_ERR_PLUGIN_REFERENT_REPLACE_LOGFILE_84=An error occured replacing the \
-  Referential Integrity plugin update logile: %s
+ Referential Integrity plugin update logile: %s
 INFO_PLUGIN_REFERENT_LOGFILE_CHANGE_REQUIRES_RESTART_85=The file name that \
-  the Referential Integrity plugin logs changes to during background \
-  processing has been changed from %s to %s, but this change will not take \
-  effect until the server is restarted
+ the Referential Integrity plugin logs changes to during background \
+ processing has been changed from %s to %s, but this change will not take \
+ effect until the server is restarted
 INFO_PLUGIN_REFERENT_BACKGROUND_PROCESSING_UPDATE_INTERVAL_CHANGED_86=The \
-  Referential Integrity plugin background processing update interval has \
-  been changed from %s to %s, the new value will now be during background \
-  processing
+ Referential Integrity plugin background processing update interval has \
+ been changed from %s to %s, the new value will now be during background \
+ processing
 INFO_PLUGIN_REFERENT_BACKGROUND_PROCESSING_STOPPING_87=The Referential \
-  Integrity plugin background processing has been stopped
+ Integrity plugin background processing has been stopped
 INFO_PLUGIN_REFERENT_BACKGROUND_PROCESSING_STARTING_88=The Referential \
-  Integrity plugin has started background processing using the update \
-  interval %s
+ Integrity plugin has started background processing using the update \
+ interval %s
 SEVERE_ERR_PLUGIN_REFERENT_SEARCH_FAILED_89=The Referential \
-  Integrity plugin failed when performaing an internal search: %s
+ Integrity plugin failed when performaing an internal search: %s
 SEVERE_ERR_PLUGIN_REFERENT_MODIFY_FAILED_90=The Referential \
-  Integrity plugin failed when performing an internal modify on entry %s: %s
+ Integrity plugin failed when performing an internal modify on entry %s: %s
 MILD_ERR_PLUGIN_REFERENT_CANNOT_DECODE_STRING_AS_DN_91=The Referential \
-  Integrity plugin failed to decode a entry DN from the update log: %s
+ Integrity plugin failed to decode a entry DN from the update log: %s
 INFO_PLUGIN_REFERENT_SEARCH_NO_SUCH_OBJECT_92=The Referential Integrity \
-  plugin failed when performing a search because the base DN %s does not exist
+ plugin failed when performing a search because the base DN %s does not exist
 SEVERE_ERR_PLUGIN_REFERENT_INVALID_ATTRIBUTE_SYNTAX_93=An error occured \
-  in the Referential Integrity plugin while attempting to configure the \
-  attribute type %s which has a syntax OID of %s. A Referential Integrity \
-  attribute type must have a syntax OID of either \
-  1.3.6.1.4.1.1466.115.121.1.12 (for the distinguished name syntax) or \
-  1.3.6.1.4.1.1466.115.121.1.34 (for the name and optional uid syntax)
+ in the Referential Integrity plugin while attempting to configure the \
+ attribute type %s which has a syntax OID of %s. A Referential Integrity \
+ attribute type must have a syntax OID of either \
+ 1.3.6.1.4.1.1466.115.121.1.12 (for the distinguished name syntax) or \
+ 1.3.6.1.4.1.1466.115.121.1.34 (for the name and optional uid syntax)
 SEVERE_ERR_PLUGIN_REFERENT_SKIP_DELETE_PROCESSING_94=The Referential Integrity \
-  plugin will not process a post delete operation on entry %s because the core \
-  operation failed
+ plugin will not process a post delete operation on entry %s because the core \
+ operation failed
 SEVERE_ERR_PLUGIN_REFERENT_SKIP_MODIFY_DN_PROCESSING_95=The Referential \
-  Integrity plugin will not process a post modify DN operation on entry %s \
-  because the core operation failed
\ No newline at end of file
+ Integrity plugin will not process a post modify DN operation on entry %s \
+ because the core operation failed
+MILD_ERR_PLUGIN_7BIT_INVALID_PLUGIN_TYPE_96=The 7-bit clean plugin is \
+ configured with invalid plugin type %s.  Only the ldifImport, \
+ preOperationAdd, preOperationModify, and preOperationModifyDN plugin types \
+ are allowed
+MILD_ERR_PLUGIN_7BIT_CANNOT_DECODE_DN_97=An error occurred while trying to \
+ decode the DN of the target entry:  %s
+MILD_ERR_PLUGIN_7BIT_CANNOT_DECODE_ATTR_98=An error occurred while trying to \
+ decode attribute %s in the target entry:  %s
+MILD_ERR_PLUGIN_7BIT_CANNOT_DECODE_NEW_RDN_99=An error occurred while trying \
+ to decode the new RDN:  %s
+MILD_ERR_PLUGIN_7BIT_ADD_ATTR_NOT_CLEAN_100=The entry to be added included a \
+ value for attribute %s that was not 7-bit clean
+MILD_ERR_PLUGIN_7BIT_MODIFY_ATTR_NOT_CLEAN_101=The modify operation would \
+ have resulted in a value for attribute %s that was not 7-bit clean
+MILD_ERR_PLUGIN_7BIT_MODIFYDN_ATTR_NOT_CLEAN_102=The modify DN operation \
+ would have resulted in a value for attribute %s that was not 7-bit clean

--
Gitblit v1.10.0