throw new WGAServiceException("You need an administrative login to access this service.");
}
WGDatabase db = retrieveAndOpenDB(session, dbKey);
if (db.isSessionOpen()) {
WGDesignProvider provider = db.getDesignProvider();
if (provider instanceof FileSystemDesignProvider) {
return ((FileSystemDesignProvider)provider).getDesignPath();
} else {
return null;
}