directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r1103538 - /directory/apacheds/trunk/service-builder/src/main/java/org/apache/directory/server/config/ServiceBuilder.java
Date Sun, 15 May 2011 20:31:07 GMT
Author: kayyagari
Date: Sun May 15 20:31:07 2011
New Revision: 1103538

URL: http://svn.apache.org/viewvc?rev=1103538&view=rev
Log:
o fixed an issue with setting ppolicy container in the auth interceptor

Modified:
    directory/apacheds/trunk/service-builder/src/main/java/org/apache/directory/server/config/ServiceBuilder.java

Modified: directory/apacheds/trunk/service-builder/src/main/java/org/apache/directory/server/config/ServiceBuilder.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/service-builder/src/main/java/org/apache/directory/server/config/ServiceBuilder.java?rev=1103538&r1=1103537&r2=1103538&view=diff
==============================================================================
--- directory/apacheds/trunk/service-builder/src/main/java/org/apache/directory/server/config/ServiceBuilder.java
(original)
+++ directory/apacheds/trunk/service-builder/src/main/java/org/apache/directory/server/config/ServiceBuilder.java
Sun May 15 20:31:07 2011
@@ -191,9 +191,9 @@ public class ServiceBuilder
                                 ppolicyContainer.addPolicy( ppolicyBean.getDn(), ppolicyConfig
);
                             }
                         }
-
-                        ((AuthenticationInterceptorBean)interceptorBean).setPasswordPolicies(
ppolicyBeans );
                     }
+                    
+                    ( ( AuthenticationInterceptor ) interceptor ).setPwdPolicies( ppolicyContainer
);
                 }
                 
                 interceptors.add( interceptor );



Mime
View raw message