This is an automated email from the ASF dual-hosted git repository. btellier pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/james-project.git
commit 257105d2cdb8151f96aefdbb10cffd94661025e1 Author: Rene Cordier <[email protected]> AuthorDate: Thu Mar 7 14:42:38 2019 +0700 JAMES-2666 binding event dead letters routes with guice --- .../webadmin/integration/UnauthorizedEndpointsTest.java | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/server/protocols/webadmin-integration-test/src/test/java/org/apache/james/webadmin/integration/UnauthorizedEndpointsTest.java b/server/protocols/webadmin-integration-test/src/test/java/org/apache/james/webadmin/integration/UnauthorizedEndpointsTest.java index 5048287..7d22960 100644 --- a/server/protocols/webadmin-integration-test/src/test/java/org/apache/james/webadmin/integration/UnauthorizedEndpointsTest.java +++ b/server/protocols/webadmin-integration-test/src/test/java/org/apache/james/webadmin/integration/UnauthorizedEndpointsTest.java @@ -31,6 +31,7 @@ import org.apache.james.webadmin.routes.DLPConfigurationRoutes; import org.apache.james.webadmin.routes.DomainMappingsRoutes; import org.apache.james.webadmin.routes.DomainQuotaRoutes; import org.apache.james.webadmin.routes.DomainsRoutes; +import org.apache.james.webadmin.routes.EventDeadLettersRoutes; import org.apache.james.webadmin.routes.ForwardRoutes; import org.apache.james.webadmin.routes.GlobalQuotaRoutes; import org.apache.james.webadmin.routes.GroupsRoutes; @@ -97,7 +98,10 @@ class UnauthorizedEndpointsTest { SieveQuotaRoutes.ROOT_PATH + "/users/[email protected]", TasksRoutes.BASE, TasksRoutes.BASE + "/taskId", - TasksRoutes.BASE + "/taskId/await" + TasksRoutes.BASE + "/taskId/await", + EventDeadLettersRoutes.BASE_PATH + "/groups", + EventDeadLettersRoutes.BASE_PATH + "/groups/[email protected]", + EventDeadLettersRoutes.BASE_PATH + "/groups/[email protected]/1" }) void checkUrlProtectionOnGet(String url) { when() @@ -111,7 +115,10 @@ class UnauthorizedEndpointsTest { CassandraMigrationRoutes.VERSION_BASE + "/upgrade", CassandraMigrationRoutes.VERSION_BASE + "/upgrade/latest", DeletedMessagesVaultRoutes.ROOT_PATH + "/[email protected]", - CassandraMappingsRoutes.ROOT_PATH + CassandraMappingsRoutes.ROOT_PATH, + EventDeadLettersRoutes.BASE_PATH, + EventDeadLettersRoutes.BASE_PATH + "/groups/[email protected]", + EventDeadLettersRoutes.BASE_PATH + "/groups/[email protected]/1" }) void checkUrlProtectionOnPost(String url) { when() @@ -174,7 +181,8 @@ class UnauthorizedEndpointsTest { MailRepositoriesRoutes.MAIL_REPOSITORIES + "/myRepo/mails", SieveQuotaRoutes.DEFAULT_QUOTA_PATH, SieveQuotaRoutes.ROOT_PATH + "/users/[email protected]", - TasksRoutes.BASE + "/taskId" + TasksRoutes.BASE + "/taskId", + EventDeadLettersRoutes.BASE_PATH + "/groups/[email protected]/1" }) void checkUrlProtectionOnDelete(String url) { when() --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
