directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r691849 - /directory/apacheds/trunk/kerberos-shared/src/main/java/org/apache/directory/server/kerberos/shared/store/operations/ChangePassword.java
Date Thu, 04 Sep 2008 01:25:24 GMT
Author: elecharny
Date: Wed Sep  3 18:25:24 2008
New Revision: 691849

URL: http://svn.apache.org/viewvc?rev=691849&view=rev
Log:
o Removed all the JNDI ModificationItem instances in the server

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

Modified: directory/apacheds/trunk/kerberos-shared/src/main/java/org/apache/directory/server/kerberos/shared/store/operations/ChangePassword.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-shared/src/main/java/org/apache/directory/server/kerberos/shared/store/operations/ChangePassword.java?rev=691849&r1=691848&r2=691849&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-shared/src/main/java/org/apache/directory/server/kerberos/shared/store/operations/ChangePassword.java
(original)
+++ directory/apacheds/trunk/kerberos-shared/src/main/java/org/apache/directory/server/kerberos/shared/store/operations/ChangePassword.java
Wed Sep  3 18:25:24 2008
@@ -85,7 +85,7 @@
         
         ServerAttribute principalAttribute = new DefaultServerAttribute( 
             registry.lookup( "krb5PrincipalName" ), principal.getName() );
-        mods.set( 1, new ServerModification( DirContext.REPLACE_ATTRIBUTE, principalAttribute
) );
+        mods.set( 1, new ServerModification( ModificationOperation.REPLACE_ATTRIBUTE, principalAttribute
) );
 
         
         ServerEntry entry = StoreUtils.findPrincipalEntry( session, searchBaseDn, principal.getName()
);



Mime
View raw message