directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r1029752 - /directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authn/AuthenticationInterceptor.java
Date Mon, 01 Nov 2010 17:16:24 GMT
Author: kayyagari
Date: Mon Nov  1 17:16:24 2010
New Revision: 1029752

URL: http://svn.apache.org/viewvc?rev=1029752&view=rev
Log:
o removed now obsoleted code related to ppolicy setting (now the ppolicy is set in the directoryservice)


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

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authn/AuthenticationInterceptor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authn/AuthenticationInterceptor.java?rev=1029752&r1=1029751&r2=1029752&view=diff
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authn/AuthenticationInterceptor.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authn/AuthenticationInterceptor.java
Mon Nov  1 17:16:24 2010
@@ -158,9 +158,7 @@ public class AuthenticationInterceptor e
 
     private AttributeType AT_PWD_GRACE_USE_TIME;
 
-    //FIXME should be removed after the config branch merge
-    private PpolicyConfigContainer policyContainer;
-    
+
     /**
      * the set of interceptors we should *not* go through when pwdpolicy state information
is being updated
      */
@@ -201,8 +199,6 @@ public class AuthenticationInterceptor e
     {
         this.directoryService = directoryService;
 
-        directoryService.setPwdPolicies( policyContainer );;
-        
         schemaManager = directoryService.getSchemaManager();
 
         adminSession = directoryService.getAdminSession();
@@ -1092,17 +1088,6 @@ public class AuthenticationInterceptor e
     }
 
 
-    /**
-     * a temporary hack to set the ppolicies in the DS
-     * @deprecated this method will be removed after the config branch gets merged in trunk
-     */
-    public void setPwdPolicyConfig( PasswordPolicyConfiguration policyConfig )
-    {
-        policyContainer = new PpolicyConfigContainer();
-        policyContainer.setDefaultPolicy( policyConfig );
-    }
-
-
     public void loadPwdPolicyStateAtributeTypes() throws LdapException
     {
         if ( directoryService.isPwdPolicyEnabled() )



Mime
View raw message