mirror of
https://github.com/google/nomulus.git
synced 2025-05-13 07:57:13 +02:00
Decouple SessionMetadata and TransportCredentials
TransportCredentials are per-request, not per-session, and there's no reason to carry them within SessionMetadata. While I'm in here, get rid of "null" credentials. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=125202213
This commit is contained in:
parent
fe1cd06da8
commit
3ae646d687
26 changed files with 134 additions and 120 deletions
|
@ -54,6 +54,7 @@ public class EppToolAction implements Runnable {
|
|||
dryRun,
|
||||
ProtocolDefinition.getVisibleServiceExtensionUris(),
|
||||
SessionSource.TOOL),
|
||||
new PasswordOnlyTransportCredentials(),
|
||||
xml.getBytes(UTF_8));
|
||||
}
|
||||
|
||||
|
@ -61,7 +62,7 @@ public class EppToolAction implements Runnable {
|
|||
@Module
|
||||
public static final class EppToolModule {
|
||||
|
||||
// TODO(b/29139545): Make parameters consistent across the graph. @Parameter("dryRun") is
|
||||
// TODO(b/29139545): Make parameters consistent across the graph. @Parameter("dryRun") is
|
||||
// already provided elsewhere in the graph and happens to work for us but that's just luck.
|
||||
|
||||
@Provides
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue