mirror of
https://github.com/google/nomulus
synced 2026-08-22 07:06:10 +00:00
Use AuthenticatedRegistrarAccessor in EppConsoleAction
EppConsoleAction still "manually" checks access by going over the RegistrarContacts. We need it to use AuthenticatedRegistrarAccessor just like every other part of the registrar console. We still need to remove the (now unneeded) login EPP sent by the console, but that's left for a followup CL. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=222404208
This commit is contained in:
@@ -203,9 +203,13 @@ public class AuthenticatedRegistrarAccessor {
|
||||
logger.atInfo().log("%s has %s access to registrar %s.", userIdForLogging, roles, clientId);
|
||||
}
|
||||
|
||||
public String userIdForLogging() {
|
||||
return userIdForLogging;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return toStringHelper(getClass()).add("authResult", userIdForLogging).toString();
|
||||
return toStringHelper(getClass()).add("user", userIdForLogging).toString();
|
||||
}
|
||||
|
||||
private static boolean checkIsSupport(
|
||||
|
||||
Reference in New Issue
Block a user