directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seman...@apache.org
Subject svn commit: r1737419 - /directory/shared/trunk/ldap/extras/codec-api/src/main/java/org/apache/directory/api/ldap/extras/controls/vlv/VirtualListViewResultCode.java
Date Fri, 01 Apr 2016 18:46:09 GMT
Author: semancik
Date: Fri Apr  1 18:46:09 2016
New Revision: 1737419

URL: http://svn.apache.org/viewvc?rev=1737419&view=rev
Log:
Adding two OpenLDAP-specific VLV response control result codes.

Modified:
    directory/shared/trunk/ldap/extras/codec-api/src/main/java/org/apache/directory/api/ldap/extras/controls/vlv/VirtualListViewResultCode.java

Modified: directory/shared/trunk/ldap/extras/codec-api/src/main/java/org/apache/directory/api/ldap/extras/controls/vlv/VirtualListViewResultCode.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/extras/codec-api/src/main/java/org/apache/directory/api/ldap/extras/controls/vlv/VirtualListViewResultCode.java?rev=1737419&r1=1737418&r2=1737419&view=diff
==============================================================================
--- directory/shared/trunk/ldap/extras/codec-api/src/main/java/org/apache/directory/api/ldap/extras/controls/vlv/VirtualListViewResultCode.java
(original)
+++ directory/shared/trunk/ldap/extras/codec-api/src/main/java/org/apache/directory/api/ldap/extras/controls/vlv/VirtualListViewResultCode.java
Fri Apr  1 18:46:09 2016
@@ -45,6 +45,10 @@ public enum VirtualListViewResultCode
     SORTCONTROLMISSING(60, "Sort control missing"),
 
     OFFSETRANGEERROR(61, "Offset range error"),
+    
+    OPENLDAP_SSSMISSING(76, "SSS missing"), // OpenLDAP-specific error code
+    
+    OPENLDAP_RANGEERRROR(77, "Range error"), // OpenLDAP-specific error code
 
     OTHER(80, "Other");
 
@@ -117,6 +121,12 @@ public enum VirtualListViewResultCode
 
             case 61:
                 return OFFSETRANGEERROR;
+                
+            case 76:
+                return OPENLDAP_SSSMISSING;
+
+            case 77:
+                return OPENLDAP_RANGEERRROR;
 
             case 80:
                 return OTHER;



Mime
View raw message