Restore directory-browsing broken by password Guard

* Heritrix.java
    reorder restlet setup so Context is passed through Guard to EngineApplication
This commit is contained in:
gojomo committed 2009-05-15 02:02:04 +00:00
1 parent 81a9a9f0f3
commit 8b59ef1086
1 file changed
+1 -1
@@ -319,8 +319,8 @@ public class Heritrix {
Guard guard = new RateLimitGuard(null,
ChallengeScheme.HTTP_DIGEST, "Authentication Required");
guard.getSecrets().put(authLogin, authPassword.toCharArray());
guard.setNext(new EngineApplication(engine));
component.getDefaultHost().attach(guard);
guard.setNext(new EngineApplication(engine));
component.start();
startupOut.println("engine listening at port "+port);
startupOut.println("operator login is '"+authLogin