mirror of
https://github.com/google/nomulus
synced 2026-07-19 22:42:23 +00: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:
@@ -41,7 +41,8 @@ public class EppConsoleAction implements Runnable {
|
||||
@Override
|
||||
public void run() {
|
||||
eppRequestHandler.executeEpp(
|
||||
new HttpSessionMetadata(new GaeUserCredentials(getUserService().getCurrentUser()), session),
|
||||
new HttpSessionMetadata(session),
|
||||
new GaeUserCredentials(getUserService().getCurrentUser()),
|
||||
inputXmlBytes);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user