directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r566852 - /directory/apacheds/trunk/kerberos-shared/src/main/java/org/apache/directory/server/kerberos/shared/store/operations/PrincipalStateFactory.java
Date Thu, 16 Aug 2007 21:12:32 GMT
Author: elecharny
Date: Thu Aug 16 14:12:32 2007
New Revision: 566852

URL: http://svn.apache.org/viewvc?view=rev&rev=566852
Log:
Using the new constants in shared

Modified:
    directory/apacheds/trunk/kerberos-shared/src/main/java/org/apache/directory/server/kerberos/shared/store/operations/PrincipalStateFactory.java

Modified: directory/apacheds/trunk/kerberos-shared/src/main/java/org/apache/directory/server/kerberos/shared/store/operations/PrincipalStateFactory.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-shared/src/main/java/org/apache/directory/server/kerberos/shared/store/operations/PrincipalStateFactory.java?view=diff&rev=566852&r1=566851&r2=566852
==============================================================================
--- directory/apacheds/trunk/kerberos-shared/src/main/java/org/apache/directory/server/kerberos/shared/store/operations/PrincipalStateFactory.java
(original)
+++ directory/apacheds/trunk/kerberos-shared/src/main/java/org/apache/directory/server/kerberos/shared/store/operations/PrincipalStateFactory.java
Thu Aug 16 14:12:32 2007
@@ -126,9 +126,9 @@
                 oc.add( SchemaConstants.INET_ORG_PERSON_OC );
             }
 
-            if ( !oc.contains( "krb5Principal" ) )
+            if ( !oc.contains( SchemaConstants.KRB5_PRINCIPAL_OC ) )
             {
-                oc.add( "krb5Principal" );
+                oc.add( SchemaConstants.KRB5_PRINCIPAL_OC );
             }
 
             if ( !oc.contains( "krb5KDCEntry" ) )



Mime
View raw message