Inject RdapAuthorization

We currently create it from injected arguments, and pass it to every function.

Instead, we just create a provider for it and inject it where needed.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=247072517
This commit is contained in:
guyben 2019-05-07 12:48:54 -07:00 committed by jianglai
parent ce7456ea66
commit 3b8a8892bb
10 changed files with 70 additions and 102 deletions

View file

@ -69,7 +69,6 @@ public class RdapDomainAction extends RdapActionBase {
domainBase.get(),
rdapWhoisServer,
now,
OutputDataType.FULL,
getAuthorization());
OutputDataType.FULL);
}
}