directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r1130294 - /directory/apacheds/trunk/http-integration/src/main/java/org/apache/directory/server/integration/http/HttpServer.java
Date Wed, 01 Jun 2011 20:34:52 GMT
Author: kayyagari
Date: Wed Jun  1 20:34:52 2011
New Revision: 1130294

URL: http://svn.apache.org/viewvc?rev=1130294&view=rev
Log:
o fixed an issue with accessing attributes, cause of the changes done to lookup() method recently
we need to explicitly mention the return attributes

Modified:
    directory/apacheds/trunk/http-integration/src/main/java/org/apache/directory/server/integration/http/HttpServer.java

Modified: directory/apacheds/trunk/http-integration/src/main/java/org/apache/directory/server/integration/http/HttpServer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/http-integration/src/main/java/org/apache/directory/server/integration/http/HttpServer.java?rev=1130294&r1=1130293&r2=1130294&view=diff
==============================================================================
--- directory/apacheds/trunk/http-integration/src/main/java/org/apache/directory/server/integration/http/HttpServer.java
(original)
+++ directory/apacheds/trunk/http-integration/src/main/java/org/apache/directory/server/integration/http/HttpServer.java
Wed Jun  1 20:34:52 2011
@@ -177,7 +177,7 @@ public class HttpServer
             {
                 // load the admin entry to get the private key and certificate
                 Dn adminDn = dirService.getDnFactory().create( ServerDNConstants.ADMIN_SYSTEM_DN
);
-                Entry adminEntry = dirService.getAdminSession().lookup( adminDn, new String[]{
"+" } );
+                Entry adminEntry = dirService.getAdminSession().lookup( adminDn, "*", "+"
);
                 
                 File confDir = dirService.getInstanceLayout().getConfDirectory();
                 File ksFile = new File( confDir, "httpserver.generated.ks" );



Mime
View raw message