directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r1601231 - /directory/apacheds/trunk/interceptors/authn/src/main/java/org/apache/directory/server/core/authn/AuthenticationInterceptor.java
Date Sun, 08 Jun 2014 17:47:39 GMT
Author: kayyagari
Date: Sun Jun  8 17:47:38 2014
New Revision: 1601231

URL: http://svn.apache.org/r1601231
Log:
replicate ppolicy operational attributes pwdReset and pwdHistory (DIRSERVER-1980)

Modified:
    directory/apacheds/trunk/interceptors/authn/src/main/java/org/apache/directory/server/core/authn/AuthenticationInterceptor.java

Modified: directory/apacheds/trunk/interceptors/authn/src/main/java/org/apache/directory/server/core/authn/AuthenticationInterceptor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/interceptors/authn/src/main/java/org/apache/directory/server/core/authn/AuthenticationInterceptor.java?rev=1601231&r1=1601230&r2=1601231&view=diff
==============================================================================
--- directory/apacheds/trunk/interceptors/authn/src/main/java/org/apache/directory/server/core/authn/AuthenticationInterceptor.java
(original)
+++ directory/apacheds/trunk/interceptors/authn/src/main/java/org/apache/directory/server/core/authn/AuthenticationInterceptor.java
Sun Jun  8 17:47:38 2014
@@ -1100,8 +1100,14 @@ public class AuthenticationInterceptor e
                 }
             }
 
+            String csnVal = directoryService.getCSN().toString();
+            Modification csnMod = new DefaultModification( REPLACE_ATTRIBUTE, ENTRY_CSN_AT,
csnVal );
+            mods.add( csnMod );
+
             ModifyOperationContext internalModifyCtx = new ModifyOperationContext( adminSession
);
+            internalModifyCtx.setPushToEvtInterceptor( true );
             internalModifyCtx.setDn( modifyContext.getDn() );
+            internalModifyCtx.setEntry( entry );
             internalModifyCtx.setModItems( mods );
 
             directoryService.getPartitionNexus().modify( internalModifyCtx );



Mime
View raw message