directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r570747 - /directory/shared/trunk/ldap-constants/src/main/java/org/apache/directory/shared/ldap/constants/SchemaConstants.java
Date Wed, 29 Aug 2007 10:40:47 GMT
Author: elecharny
Date: Wed Aug 29 03:40:45 2007
New Revision: 570747

URL: http://svn.apache.org/viewvc?rev=570747&view=rev
Log:
o Added constants for "*", "+" and "1.1" special attributes
o Modified the code to use those constants
o Added a workaround for clients who are sending empty parameters
o Correctly handling the "1.1" special attribute mixed with other attributes (=> ignoring
it) 

Modified:
    directory/shared/trunk/ldap-constants/src/main/java/org/apache/directory/shared/ldap/constants/SchemaConstants.java

Modified: directory/shared/trunk/ldap-constants/src/main/java/org/apache/directory/shared/ldap/constants/SchemaConstants.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap-constants/src/main/java/org/apache/directory/shared/ldap/constants/SchemaConstants.java?rev=570747&r1=570746&r2=570747&view=diff
==============================================================================
--- directory/shared/trunk/ldap-constants/src/main/java/org/apache/directory/shared/ldap/constants/SchemaConstants.java
(original)
+++ directory/shared/trunk/ldap-constants/src/main/java/org/apache/directory/shared/ldap/constants/SchemaConstants.java
Wed Aug 29 03:40:45 2007
@@ -29,6 +29,16 @@
  */
 public interface SchemaConstants
 {
+    // Special attributes 1.1 , * and + for search operations
+    String NO_ATTRIBUTE = "1.1";
+    String[] NO_ATTRIBUTE_ARRAY = new String[]{ NO_ATTRIBUTE };
+    
+    String ALL_USER_ATTRIBUTES = "*";
+    String[] ALL_USER_ATTRIBUTES_ARRAY = new String[]{ ALL_USER_ATTRIBUTES };
+    
+    String ALL_OPERATIONAL_ATTRIBUTES = "+";
+    String[] ALL_OPERATIONAL_ATTRIBUTES_ARRAY = new String[]{ ALL_OPERATIONAL_ATTRIBUTES
};
+    
     // ---- ObjectClasses -----------------------------------------------------
 	// Krb5Principal
     String KRB5_PRINCIPAL_OC = "krb5Principal";



Mime
View raw message