google-nomulus/javatests/google/registry/flows
guyben b5ae37c5cc Return more informative errors when signed mark is invalid at this time
A "mark" tells us that the holder owns the trademark for a given domain name. It is signed for authentication.

If the signature's certificate is either "not yet valid" or "expired", we return explicit errors to that effect.

But in addition to the signature's certificate, the mark itself might not be valid yet or already expired. Right now if that happens - we return an error saying "the mark doesn't match the domain name".

That is wrong - as the mark can match the domain name, just be expired. Returning "the mark doesn't match the domain name" in that case is misleading.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=190069976
2018-04-02 16:29:24 -04:00
..
async Move metrics dependencies to artifacts under Maven groupId com.google.monitoring-client 2018-01-04 17:12:35 -05:00
contact Merge JUnitBackport's expectThrows into assertThrows 2018-03-06 18:56:15 -05:00
custom Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
domain Return more informative errors when signed mark is invalid at this time 2018-04-02 16:29:24 -04:00
host Merge JUnitBackport's expectThrows into assertThrows 2018-03-06 18:56:15 -05:00
poll Merge JUnitBackport's expectThrows into assertThrows 2018-03-06 18:56:15 -05:00
session Merge JUnitBackport's expectThrows into assertThrows 2018-03-06 18:56:15 -05:00
testdata Default missing type= argument to "registration" in launch:create EPP extension 2018-04-02 16:22:54 -04:00
BUILD Remove the JVM flags -XX:PermSize and -XX:MaxPermSize 2018-03-19 18:25:04 -04:00
CheckApiActionTest.java Remove more unused Truth8.assertThat() static imports in tests 2017-11-07 17:22:56 -05:00
EppCommitLogsTest.java Consolidate some domain creation / deletion EPPs in testdata 2018-02-01 22:03:57 -05:00
EppConsoleActionTest.java Remove more unused Truth8.assertThat() static imports in tests 2017-11-07 17:22:56 -05:00
EppControllerTest.java Remove unnecessary type specifications 2017-12-27 11:23:03 -05:00
EppLifecycleContactTest.java Consolidate some domain creation / deletion EPPs in testdata 2018-02-01 22:03:57 -05:00
EppLifecycleDomainApplicationTest.java Consolidate some domain creation / deletion EPPs in testdata 2018-02-01 22:03:57 -05:00
EppLifecycleDomainTest.java Default missing type= argument to "registration" in launch:create EPP extension 2018-04-02 16:22:54 -04:00
EppLifecycleHostTest.java Decrease flakiness of multipart TLD lifecycle tests 2018-02-20 15:20:22 -05:00
EppLifecycleLoginTest.java Add flow-level EPP metric tests 2017-05-03 10:51:12 -04:00
EppLoggedOutTest.java Consolidate some domain creation / deletion EPPs in testdata 2018-02-01 22:03:57 -05:00
EppLoginAdminUserTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
EppLoginTlsTest.java Consolidate some domain creation / deletion EPPs in testdata 2018-02-01 22:03:57 -05:00
EppLoginUserTest.java Consolidate some domain creation / deletion EPPs in testdata 2018-02-01 22:03:57 -05:00
EppTestCase.java Consolidate some domain creation / deletion EPPs in testdata 2018-02-01 22:03:57 -05:00
EppTestComponent.java Clean up some code quality issues 2017-12-01 22:14:06 -05:00
EppTlsActionTest.java Remove more unused Truth8.assertThat() static imports in tests 2017-11-07 17:22:56 -05:00
EppToolActionTest.java Remove more unused Truth8.assertThat() static imports in tests 2017-11-07 17:22:56 -05:00
EppXmlTransformerTest.java Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:50:20 -05:00
EppXxeAttackTest.java Consolidate some domain creation / deletion EPPs in testdata 2018-02-01 22:03:57 -05:00
ExtensionManagerTest.java Merge JUnitBackport's expectThrows into assertThrows 2018-03-06 18:56:15 -05:00
FlowReporterTest.java Remove unnecessary type specifications 2017-12-27 11:23:03 -05:00
FlowRunnerTest.java Remove unnecessary type specifications 2017-12-27 11:23:03 -05:00
FlowTestCase.java Add an EPP lifecycle test verifying that EAP fees are not refunded 2017-12-27 11:29:07 -05:00
ResourceCheckFlowTestCase.java Add base AllocationToken validation logic for domain checks 2018-01-19 14:32:48 -05:00
ResourceFlowTestCase.java Merge JUnitBackport's expectThrows into assertThrows 2018-03-06 18:56:15 -05:00
TlsCredentialsTest.java Merge JUnitBackport's expectThrows into assertThrows 2018-03-06 18:56:15 -05:00