SpringBoot
以 Spring 方式构建企业 Java 应用程序
例子
- 防止暴力身份验证尝试
- 连续 3 次登录尝试失败后阻止用户帐户
- 限制用户的最大会话数
- 设置会话超时并在超时时更新数据库表
- 角色和权限管理
- 跟踪用户登录
- 忘记密码并发送电子邮件重置密码
- 强制用户首次登录时更改密码
- 强制用户更改过期密码
- 数据分页、搜索和排序
- 使用 select2 ajax 远程数据的分页结果
- 发送带有附件的电子邮件模板
- 多语言网络应用程序
- 生成 PDF 和 Excel 文件
- 使用 Ajax 以一种形式上传数据和文件
构建和运行
mvn package
java -jar SpringBoot-0.0.1-SNAPSHOT.war
使用 Ajax 以一种形式上传数据和文件
图表
忘记密码 发送邮件 重置密码
使用 Socket 跟踪用户登录
参考号
- https://www.baeldung.com/httpclient-ssl
- https://www.devglan.com/spring-boot/spring-boot-websocket-integration-example
- https://www.java67.com/2016/10/5-difference- Between-stringbuffer.html
- https://www.journaldev.com/741/java-socket-programming-server-client
- https://github.com/up1/soa_group6/wiki/Cross-Origin-Resource-Sharing-(CORS)
- https://medium.com/@phayao/ทำให้-token-ซับซ้อนด้วย-jwt-ใน-spring-boot-a74293bbc736
- https://medium.com/@dassum/securing-spring-boot-rest-api-with-json-web-token-and-jdbc-token-store-67558a7d6c29
- https://javadeveloperzone.com/spring-boot/spring-boot-oauth2-jdbc-token-store-example/
- https://www.baeldung.com/spring-security-create-new-custom-security-expression
- https://medium.com/better-programming/secure-a-spring-boot-rest-api-with-json-web-token-reference-to-angular-integration-e57a25806c50
- https://pattern-match.com/blog/2018/10/17/springboot2-with-oauth2-integration/
- https://www.youtube.com/watch?time_continue=422&v=wxebTn_a930
- http://www.thinkplexx.com/learn/howto/security/tools/understanding-java-keytool-working-with-crt-files-fixing-certificate-problems
- https://stackoverflow.com/questions/4325263/how-to-import-a-cer-certificate-into-a-java-keystore
- https://docs.spring.io/spring-boot/docs/current/reference/html/appendix-application-properties.html
- https://www.vogella.com/tutorials/JavaPerformance/article.html
- https://www.javainuse.com/spring/springboot_session_redis
- https://docs.spring.io/spring-session/docs/current/reference/html5/guides/boot-redis.html
- https://www.callicoder.com/configuring-spring-boot-application/
- https://github.com/spring-projects/spring-security-oauth/blob/master/spring-security-oauth2/src/test/resources/schema.sql
- https://www.devglan.com/spring-security/spring-boot-security-oauth2-example
- https://sysadmin.psu.ac.th/2019/03/03/what-is-oauth2/