You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ka...@apache.org on 2011/06/01 22:34:52 UTC
svn commit: r1130294 -
/directory/apacheds/trunk/http-integration/src/main/java/org/apache/directory/server/integration/http/HttpServer.java
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" );