RESTCloudAPI:适用于云的 REST API - 我在 Coursera 课程中的作业

上传者: 42123296 | 上传时间: 2022-06-05 12:27:22 | 文件大小: 272KB | 文件类型: ZIP
作业 2 涵盖第 3-6 周 概述 此作业将基于原始视频服务中的想法,添加客户端的 OAuth 2.0 身份验证和“喜欢”视频的能力。 要完成此作业,您必须允许用户使用 OAuth 2.0 密码授予流程进行身份验证。 通过身份验证后,用户必须能够喜欢/不喜欢视频,以及按名称和持续时间搜索视频。 此外,视频数据必须存储在 Spring Data JPA 存储库中。 最后,所有通信都必须通过 https 端口 8443 进行。在嵌入式 Tomcat 实例上设置 HTTPS 的代码包含在 Application 类中。 您应该注意,此分配还需要在第一个分配中使用的概念,例如请求/响应正文中的请求映射和 JSON 编组。 警告 在任何情况下,您都不应在生产应用程序中使用包含的密钥库!!! 在任何情况下,您都不应在生产中“按原样”使用此应用程序!!! 运行应用程序 请仔细阅读说明。 要运行应用

文件下载

资源详情

[{"title":"( 66 个子文件 272KB ) RESTCloudAPI:适用于云的 REST API - 我在 Coursera 课程中的作业","children":[{"title":"RESTCloudAPI-master","children":[{"title":"build.gradle <span style='color:#111;'> 2.16KB </span>","children":null,"spread":false},{"title":"coursera-submission","children":[{"title":"Asgn2.2d4c94f9-8ee0-45ce-94a6-205a0a500c60.zip <span style='color:#111;'> 25.47KB </span>","children":null,"spread":false},{"title":"Asgn2.8308558e-4564-4192-b919-30f34593bfe6.zip <span style='color:#111;'> 27.43KB </span>","children":null,"spread":false},{"title":"Asgn2.3c8e115e-909f-44e4-b157-6d6f10a5d162.zip <span style='color:#111;'> 26.14KB </span>","children":null,"spread":false},{"title":"Asgn2.e46ed749-e5e2-448d-848b-f42cbe0ccc4b.zip <span style='color:#111;'> 25.44KB </span>","children":null,"spread":false},{"title":"Asgn2.2affd722-566f-4ca1-b010-1067a475059d.zip <span style='color:#111;'> 27.43KB </span>","children":null,"spread":false},{"title":"Asgn2.ec685b38-6ac7-43b5-a616-958286aa361b.zip <span style='color:#111;'> 27.39KB </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"main","children":[{"title":"resources","children":[{"title":"application.properties <span style='color:#111;'> 309B </span>","children":null,"spread":false},{"title":"private","children":[{"title":"keystore <span style='color:#111;'> 2.18KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"java","children":[{"title":"org","children":[{"title":"magnum","children":[{"title":"mobilecloud","children":[{"title":"video","children":[{"title":"client","children":[{"title":"VideoSvcApi.java <span style='color:#111;'> 8.48KB </span>","children":null,"spread":false},{"title":"SecuredRestException.java <span style='color:#111;'> 884B </span>","children":null,"spread":false},{"title":"SecuredRestBuilder.java <span style='color:#111;'> 8.48KB </span>","children":null,"spread":false}],"spread":true},{"title":"repository","children":[{"title":"Video.java <span style='color:#111;'> 2.96KB </span>","children":null,"spread":false},{"title":"VideoRepository.java <span style='color:#111;'> 2.45KB </span>","children":null,"spread":false}],"spread":true},{"title":"controller","children":[{"title":"VideoController.java <span style='color:#111;'> 4.71KB </span>","children":null,"spread":false}],"spread":true},{"title":"auth","children":[{"title":"OAuth2SecurityConfiguration.java <span style='color:#111;'> 8.00KB </span>","children":null,"spread":false},{"title":"ClientAndUserDetailsService.java <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false},{"title":"User.java <span style='color:#111;'> 1.62KB </span>","children":null,"spread":false}],"spread":false},{"title":"AnEmptyController.java <span style='color:#111;'> 2.16KB </span>","children":null,"spread":false},{"title":"AutoGrading.java <span style='color:#111;'> 5.79KB </span>","children":null,"spread":false},{"title":"json","children":[{"title":"ResourcesMapper.java <span style='color:#111;'> 3.80KB </span>","children":null,"spread":false}],"spread":false},{"title":"Application.java <span style='color:#111;'> 5.28KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"test","children":[{"title":"java","children":[{"title":"org","children":[{"title":"magnum","children":[{"title":"mobilecloud","children":[{"title":"integration","children":[{"title":"test","children":[{"title":"UnsafeHttpsClient.java <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false},{"title":"AutoGradingTest.java <span style='color:#111;'> 13.77KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"video","children":[{"title":"TestData.java <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"bin","children":[{"title":"org","children":[{"title":"magnum","children":[{"title":"mobilecloud","children":[{"title":"integration","children":[{"title":"test","children":[{"title":"AutoGradingTest$ErrorRecorder.class <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false},{"title":"UnsafeHttpsClient.class <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false},{"title":"AutoGradingTest.class <span style='color:#111;'> 12.42KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"video","children":[{"title":"client","children":[{"title":"SecuredRestException.class <span style='color:#111;'> 1011B </span>","children":null,"spread":false},{"title":"VideoSvcApi.class <span style='color:#111;'> 1.81KB </span>","children":null,"spread":false},{"title":"SecuredRestBuilder$OAuthHandler.class <span style='color:#111;'> 4.07KB </span>","children":null,"spread":false},{"title":"SecuredRestBuilder.class <span style='color:#111;'> 5.97KB </span>","children":null,"spread":false}],"spread":true},{"title":"repository","children":[{"title":"VideoRepository.class <span style='color:#111;'> 3.63KB </span>","children":null,"spread":false},{"title":"Video.class <span style='color:#111;'> 3.30KB </span>","children":null,"spread":false}],"spread":true},{"title":"controller","children":[{"title":"VideoController.class <span style='color:#111;'> 4.69KB </span>","children":null,"spread":false}],"spread":true},{"title":"AutoGrading.class <span style='color:#111;'> 2.92KB </span>","children":null,"spread":false},{"title":"auth","children":[{"title":"OAuth2SecurityConfiguration$ResourceServer.class <span style='color:#111;'> 2.67KB </span>","children":null,"spread":false},{"title":"User.class <span style='color:#111;'> 2.35KB </span>","children":null,"spread":false},{"title":"ClientAndUserDetailsService.class <span style='color:#111;'> 2.14KB </span>","children":null,"spread":false},{"title":"OAuth2SecurityConfiguration.class <span style='color:#111;'> 831B </span>","children":null,"spread":false},{"title":"OAuth2SecurityConfiguration$WebSecurityConfiguration.class <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false},{"title":"OAuth2SecurityConfiguration$OAuth2Config.class <span style='color:#111;'> 5.04KB </span>","children":null,"spread":false}],"spread":false},{"title":"Application$1$1.class <span style='color:#111;'> 1.63KB </span>","children":null,"spread":false},{"title":"Application.class <span style='color:#111;'> 1.96KB </span>","children":null,"spread":false},{"title":"TestData.class <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false},{"title":"Application$1.class <span style='color:#111;'> 1.75KB </span>","children":null,"spread":false},{"title":"json","children":[{"title":"ResourcesMapper$1.class <span style='color:#111;'> 2.17KB </span>","children":null,"spread":false},{"title":"ResourcesMapper.class <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false}],"spread":false},{"title":"AnEmptyController.class <span style='color:#111;'> 766B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"application.properties <span style='color:#111;'> 309B </span>","children":null,"spread":false},{"title":"private","children":[{"title":"keystore <span style='color:#111;'> 2.18KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".classpath <span style='color:#111;'> 467B </span>","children":null,"spread":false},{"title":".settings","children":[{"title":"gradle","children":[{"title":"org.springsource.ide.eclipse.gradle.core.prefs <span style='color:#111;'> 214B </span>","children":null,"spread":false},{"title":"org.springsource.ide.eclipse.gradle.refresh.prefs <span style='color:#111;'> 283B </span>","children":null,"spread":false},{"title":"org.springsource.ide.eclipse.gradle.core.import.prefs <span style='color:#111;'> 305B </span>","children":null,"spread":false}],"spread":true},{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 619B </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 14.25KB </span>","children":null,"spread":false},{"title":".gradle","children":[{"title":"2.0","children":[{"title":"taskArtifacts","children":[{"title":"fileSnapshots.bin <span style='color:#111;'> 18.64KB </span>","children":null,"spread":false},{"title":"fileHashes.bin <span style='color:#111;'> 23.92KB </span>","children":null,"spread":false},{"title":"outputFileStates.bin <span style='color:#111;'> 18.17KB </span>","children":null,"spread":false},{"title":"taskArtifacts.bin <span style='color:#111;'> 19.21KB </span>","children":null,"spread":false},{"title":"cache.properties.lock <span style='color:#111;'> 17B </span>","children":null,"spread":false},{"title":"cache.properties <span style='color:#111;'> 30B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 643B </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"mobilecloud.handin-1.0.0.jar <span style='color:#111;'> 18.00KB </span>","children":null,"spread":false},{"title":"video.like.test-1.0.0.jar <span style='color:#111;'> 6.19KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明