mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-09-24 14:45:56 +00:00
Fix restlet child component context warning
This commit is contained in:
@@ -351,7 +351,7 @@ public class Heritrix {
|
||||
MapVerifier verifier = new MapVerifier();
|
||||
verifier.getLocalSecrets().put(authLogin, authPassword.toCharArray());
|
||||
|
||||
ChallengeAuthenticator guard = new RateLimitGuard(component.getContext(),
|
||||
ChallengeAuthenticator guard = new RateLimitGuard(component.getContext().createChildContext(),
|
||||
ChallengeScheme.HTTP_DIGEST, "Authentication Required");
|
||||
guard.setVerifier(verifier);
|
||||
guard.setNext(new EngineApplication(engine));
|
||||
|
||||
Reference in New Issue
Block a user