RestHotelSecureSpringApp:使用为 HSTS 配置的 Spring Security 的 JAX-RS REST 演示-源码

上传者: 42133415 | 上传时间: 2021-06-11 11:06:26 | 文件大小: 55KB | 文件类型: ZIP
关于 RestHotelSpringSecurityApp 此应用程序是使用由 Spring Security(撰写本文时为 v3.2.5)保护的 JAX-RS 2 RESTful Web 服务的简单演示。 虽然是 Maven 项目,但它有一个为 Glassfish 4.1 服务器设计的连接池部署文件(glassfish-resources.xml)。 该文件可以在“Other Sources/src/main/resources/setup”下找到,它控制对数据库的访问,并提供一个与persistence.xml 中的地址匹配的JNDI 地址(参见下面的JPA)。 数据模型基于 JPA 2,REST 服务编写为无状态 EJB,持久性上下文通过 CDI 注入。 数据库是 MySql,模式是“hotels”。 可以使用“Other Sources/src/main/resources/s

文件下载

资源详情

[{"title":"( 21 个子文件 55KB ) RestHotelSecureSpringApp:使用为 HSTS 配置的 Spring Security 的 JAX-RS REST 演示-源码","children":[{"title":"RestHotelSecureSpringApp-master","children":[{"title":".gitignore <span style='color:#111;'> 254B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"main","children":[{"title":"setup","children":[{"title":"glassfish-resources.xml <span style='color:#111;'> 1.70KB </span>","children":null,"spread":false}],"spread":true},{"title":"resources","children":[{"title":"META-INF","children":[{"title":"persistence.xml <span style='color:#111;'> 664B </span>","children":null,"spread":false}],"spread":true},{"title":"applicationContext.xml <span style='color:#111;'> 3.62KB </span>","children":null,"spread":false},{"title":"logback.xml <span style='color:#111;'> 1.49KB </span>","children":null,"spread":false}],"spread":true},{"title":"sql_bu","children":[{"title":"Dump20141121.sql <span style='color:#111;'> 4.80KB </span>","children":null,"spread":false},{"title":"README.txt <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false}],"spread":true},{"title":"java","children":[{"title":"edu","children":[{"title":"wctc","children":[{"title":"rest","children":[{"title":"secure","children":[{"title":"resthotelsecurespringapp","children":[{"title":"entity","children":[{"title":"Hotel.java <span style='color:#111;'> 3.38KB </span>","children":null,"spread":false}],"spread":true},{"title":"util","children":[{"title":"ShaHashGeneratorApp.java <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false}],"spread":false},{"title":"service","children":[{"title":"ApplicationConfig.java <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"HotelFacadeREST.java <span style='color:#111;'> 2.76KB </span>","children":null,"spread":false},{"title":"CrossOriginResourceSharingFilter.java <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"AbstractFacade.java <span style='color:#111;'> 2.12KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"webapp","children":[{"title":"hotelapp.html <span style='color:#111;'> 1.90KB </span>","children":null,"spread":false},{"title":"js","children":[{"title":"app.js <span style='color:#111;'> 5.37KB </span>","children":null,"spread":false},{"title":"jquery-2.1.1.min.js <span style='color:#111;'> 82.27KB </span>","children":null,"spread":false}],"spread":true},{"title":"css","children":[{"title":"styles.css <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false}],"spread":true},{"title":"index.html <span style='color:#111;'> 6.56KB </span>","children":null,"spread":false},{"title":"WEB-INF","children":[{"title":"web.xml <span style='color:#111;'> 1.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"pom.xml <span style='color:#111;'> 5.93KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 2.58KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

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