directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r519985 - in /directory/apacheds/trunk/protocol-shared/src/main/java/org/apache/directory/server/protocol/shared: AbstractBackingStoreTest.java store/Krb5KdcEntryFilter.java
Date Mon, 19 Mar 2007 16:09:36 GMT
Author: elecharny
Date: Mon Mar 19 09:09:36 2007
New Revision: 519985

URL: http://svn.apache.org/viewvc?view=rev&rev=519985
Log:
Some more constant migration from code to ShemaConstants

Modified:
    directory/apacheds/trunk/protocol-shared/src/main/java/org/apache/directory/server/protocol/shared/AbstractBackingStoreTest.java
    directory/apacheds/trunk/protocol-shared/src/main/java/org/apache/directory/server/protocol/shared/store/Krb5KdcEntryFilter.java

Modified: directory/apacheds/trunk/protocol-shared/src/main/java/org/apache/directory/server/protocol/shared/AbstractBackingStoreTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/protocol-shared/src/main/java/org/apache/directory/server/protocol/shared/AbstractBackingStoreTest.java?view=diff&rev=519985&r1=519984&r2=519985
==============================================================================
--- directory/apacheds/trunk/protocol-shared/src/main/java/org/apache/directory/server/protocol/shared/AbstractBackingStoreTest.java
(original)
+++ directory/apacheds/trunk/protocol-shared/src/main/java/org/apache/directory/server/protocol/shared/AbstractBackingStoreTest.java
Mon Mar 19 09:09:36 2007
@@ -320,7 +320,7 @@
 
                 if ( attributes.get( SchemaConstants.OBJECT_CLASS_AT ).contains( "krb5KDCEntry"
) )
                 {
-                    String pw = ( String ) attributes.get( "userpassword" ).get();
+                    String pw = ( String ) attributes.get( SchemaConstants.USER_PASSWORD_AT
).get();
                     String krbPrincipal = ( String ) attributes.get( KerberosAttribute.PRINCIPAL
).get();
 
                     KerberosPrincipal principal = new KerberosPrincipal( krbPrincipal );

Modified: directory/apacheds/trunk/protocol-shared/src/main/java/org/apache/directory/server/protocol/shared/store/Krb5KdcEntryFilter.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/protocol-shared/src/main/java/org/apache/directory/server/protocol/shared/store/Krb5KdcEntryFilter.java?view=diff&rev=519985&r1=519984&r2=519985
==============================================================================
--- directory/apacheds/trunk/protocol-shared/src/main/java/org/apache/directory/server/protocol/shared/store/Krb5KdcEntryFilter.java
(original)
+++ directory/apacheds/trunk/protocol-shared/src/main/java/org/apache/directory/server/protocol/shared/store/Krb5KdcEntryFilter.java
Mon Mar 19 09:09:36 2007
@@ -45,7 +45,7 @@
     private static final Logger log = LoggerFactory.getLogger( Krb5KdcEntryFilter.class );
     private static final String KEY_TYPE = "DES";
     private static final String KRB5KDCENTRY_OC = "krb5KDCEntry";
-    private static final String PASSWORD_ATTR = "userPassword";
+    private static final String PASSWORD_ATTR = SchemaConstants.USER_PASSWORD_AT;
 
 
     /**



Mime
View raw message