mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-11-10 07:52:46 +00:00
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:
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
|
||||
|
||||
Reference in new issue
Block a user