directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1748894 - /directory/shared/branches/shared-value/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/normalizers/GeneralizedTimeNormalizer.java
Date Fri, 17 Jun 2016 21:56:16 GMT
Author: elecharny
Date: Fri Jun 17 21:56:16 2016
New Revision: 1748894

URL: http://svn.apache.org/viewvc?rev=1748894&view=rev
Log:
Added a workaround fo the special Password Policy locked occount time.

Modified:
    directory/shared/branches/shared-value/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/normalizers/GeneralizedTimeNormalizer.java

Modified: directory/shared/branches/shared-value/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/normalizers/GeneralizedTimeNormalizer.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-value/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/normalizers/GeneralizedTimeNormalizer.java?rev=1748894&r1=1748893&r2=1748894&view=diff
==============================================================================
--- directory/shared/branches/shared-value/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/normalizers/GeneralizedTimeNormalizer.java
(original)
+++ directory/shared/branches/shared-value/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/normalizers/GeneralizedTimeNormalizer.java
Fri Jun 17 21:56:16 2016
@@ -83,6 +83,11 @@ public class GeneralizedTimeNormalizer e
                 I18n.ERR_04224, value ) );
         }
         
+        // Special case : the PPolicy "0000010000Z", for permanently locked accounts
+        if ( "000001010000Z".equals( value ) )
+        {
+            return value;
+        }
         
         try
         {



Mime
View raw message