google-nomulus/java/google/registry/request
guyben 84a0ace2ea Clean up registrar console login flow
Replaced the plethora of inter winding access functions and inputs in SessionUtils with just 2 functions, that both accept the same type for the user (AuthResult):

guessRegistrarForUser: given an AuthResult, finds a registrar that they have access to. If none is found - a ForbiddenException is thrown.

getRegistrarForUser[Cached]: (maybe should be called getRegistrarOnBehalfOfUser?) given an AuthResult and a clientId, loads and returns the registrar ONLY IF the user has access to it. Otherwise throws a ForbiddenException.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=214630657
2018-10-03 11:57:34 -04:00
..
auth Clean up registrar console login flow 2018-10-03 11:57:34 -04:00
lock Use locking on async mapreduces 2018-08-10 13:44:25 -04:00
Action.java Clean up some code quality issues 2017-12-01 22:14:06 -05:00
Actions.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
BUILD Clean up annotation imports in BUILD files 2018-06-27 15:28:53 -04:00
FullServletPath.java Derive RDAP link paths from the received query 2017-11-07 17:24:20 -05:00
Header.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
HttpException.java Migrate to Flogger (green) 2018-05-30 12:18:54 -04:00
JsonActionRunner.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
JsonPayload.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
JsonResponse.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
Modules.java Refactor DelegatedCredential provisioning for GSuite domains 2018-09-11 14:18:41 -04:00
package-info.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
Parameter.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ParameterMap.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
Payload.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
RequestComponentBuilder.java Remove Builder type param on RequestComponentBuilder/RequestHandler 2017-02-27 11:12:07 -05:00
RequestHandler.java Migrate to Flogger (green) 2018-05-30 12:18:54 -04:00
RequestLogId.java Add tool to check if other requests are still running 2017-09-12 15:51:50 -04:00
RequestMethod.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
RequestModule.java Add next page navigation for RDAP nameserver searches 2017-12-27 10:44:05 -05:00
RequestParameters.java Remove transition code for set of parameter refactoring 2018-07-14 01:37:03 -04:00
RequestPath.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
RequestScope.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
RequestUrl.java Add next page navigation for RDAP nameserver searches 2017-12-27 10:44:05 -05:00
Response.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ResponseImpl.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
Route.java Replace com.google.common.base.Function with java.util.function.Function 2017-12-27 11:08:55 -05:00
Router.java Replace com.google.common.base.Function with java.util.function.Function 2017-12-27 11:08:55 -05:00
RouterDisplayHelper.java Run automatic Java 8 conversion over codebase 2017-10-10 12:09:41 -04:00