From 739cc9fe3921b9f7f4f582980f61078a1c35eb33 Mon Sep 17 00:00:00 2001
From: Chris Ridd <chris.ridd@forgerock.com>
Date: Thu, 08 Nov 2012 14:11:59 +0000
Subject: [PATCH] Fix OPENDJ-620 Enhance character set password validator to understand classes like 'All non-Latin characters'

---
 opends/src/messages/messages/extension.properties |   32 +++++++++++++++++++++++++-------
 1 files changed, 25 insertions(+), 7 deletions(-)

diff --git a/opends/src/messages/messages/extension.properties b/opends/src/messages/messages/extension.properties
index 0c2fc7e..46fa4f6 100644
--- a/opends/src/messages/messages/extension.properties
+++ b/opends/src/messages/messages/extension.properties
@@ -1136,12 +1136,12 @@
  did not contain enough characters from the character set '%s'.  The minimum \
  number of characters from that set that must be present in user passwords is \
  %d
-MILD_ERR_CHARSET_VALIDATOR_NO_COLON_466=The provided character set definition \
- '%s' is invalid because it does not contain a colon to separate the minimum \
- count from the character set
-MILD_ERR_CHARSET_VALIDATOR_NO_CHARS_467=The provided character set definition \
+MILD_ERR_CHARSET_VALIDATOR_NO_SET_COLON_466=The provided character set \
+ definition '%s' is invalid because it does not contain a colon to separate \
+ the minimum count from the character set
+MILD_ERR_CHARSET_VALIDATOR_NO_SET_CHARS_467=The provided character set definition \
  '%s' is invalid because the provided character set is empty
-MILD_ERR_CHARSET_VALIDATOR_INVALID_COUNT_468=The provided character set \
+MILD_ERR_CHARSET_VALIDATOR_INVALID_SET_COUNT_468=The provided character set \
  definition '%s' is invalid because the value before the colon must be an \
  integer greater or equal to zero
 MILD_ERR_CHARSET_VALIDATOR_DUPLICATE_CHAR_469=The provided character set \
@@ -1424,7 +1424,7 @@
  the total number of defined character sets
 MILD_ERR_CHARSET_VALIDATOR_TOO_FEW_OPTIONAL_CHAR_SETS_581=The provided \
  password did not contain characters from at least %d of the following \
- character sets: %s
+ character sets or ranges: %s
 MILD_ERR_STATICMEMBERS_CANNOT_DECODE_DN_582=An error occurred while \
  attempting to decode member's DN %s of static group %s:  %s
 MILD_ERR_SASL_ACCOUNT_NOT_LOCAL_583=SASL %s authentication \
@@ -1552,4 +1552,22 @@
  searchable and should not be included in otherwise unindexed search filters
 MILD_ERR_CHANGELOGBASEDN_VATTR_NOT_SEARCHABLE_628=The %s attribute is not \
  searchable and should not be included in otherwise unindexed search filters
- 
\ No newline at end of file
+MILD_ERR_CHARSET_VALIDATOR_TOO_FEW_CHARS_FROM_RANGE_629=The provided password \
+ did not contain enough characters from the character range '%s'.  The minimum \
+ number of characters from that range that must be present in user passwords \
+ is %d
+MILD_ERR_CHARSET_VALIDATOR_NO_RANGE_COLON_630=The provided character range \
+ definition  '%s' is invalid because it does not contain a colon to separate \
+ the minimum count from the character range
+MILD_ERR_CHARSET_VALIDATOR_NO_RANGE_CHARS_631=The provided character range \
+ definition  '%s' is invalid because it does not contain a colon to separate \
+ the minimum count from the character range
+MILD_ERR_CHARSET_VALIDATOR_INVALID_RANGE_COUNT_632=The provided character \
+ range definition '%s' is invalid because the value before the colon must be \
+ an integer greater or equal to zero
+MILD_ERR_CHARSET_VALIDATOR_UNSORTED_RANGE_633=The provided character range \
+ definition '%s' is invalid because the range '%s' is reversed
+MILD_ERR_CHARSET_VALIDATOR_MALFORMED_RANGE_634=The provided character range \
+ definition '%s' is invalid because the range '%s' is missing the minus
+MILD_ERR_CHARSET_VALIDATOR_SHORT_RANGE_635=The provided character range \
+ definition '%s' is invalid because the range '%s' is too short

--
Gitblit v1.10.0