google-nomulus/java/google/registry/request
mountford 034312c17d Fix bug in authentication code
[] changed RequestHandler to log a warning instead of returning an error to the user when authentication failed. Unfortunately, it didn't handle the resulting absent value of AuthResult. I don't yet know why the tests pass, and plan to add a test to check for this situation, but I wanted to start by fixing the problem as soon as possible, as it seems like this would result in exceptions any time a request was handled which didn't pass authentication.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=149136265
2017-03-07 13:49:27 -05:00
..
auth Change XsrfTokenManager to support new HMAC token format 2017-03-07 13:31:46 -05:00
Action.java Make first pass at new OAuth-aware server authentication framework 2017-02-14 11:59:19 -05:00
Actions.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
BUILD Make first pass at new OAuth-aware server authentication framework 2017-02-14 11:59:19 -05:00
Header.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
HttpException.java Update copyright year on all license headers 2017-02-02 16:27:22 -05: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 Update copyright year on all license headers 2017-02-02 16:27:22 -05: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 Fix bug in authentication code 2017-03-07 13:49:27 -05:00
RequestMethod.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
RequestModule.java Make first pass at new OAuth-aware server authentication framework 2017-02-14 11:59:19 -05:00
RequestParameters.java Update copyright year on all license headers 2017-02-02 16:27:22 -05: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
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 Add XSRF protection to legacy authentication mechanism 2017-03-07 13:18:04 -05:00
Router.java Make Router reject classes with no @Action-returning methods 2017-02-27 11:16:30 -05:00