Java 从入门到进阶

白天 夜间 首页 下载 阅读记录
  我的书签   添加书签   移除书签

chapter6 Hands-on: A small secured web application

浏览 212 扫码 分享 2023-02-24 09:04:07
  • 6.1 Project requirements and setup
  • 6.2 Implementing user management
  • 6.3 Implementing custom authentication logic

    6.1 Project requirements and setup

    image.png
    image.png

    6.2 Implementing user management

    1. @Configuration
    2. public class ProjectConfig {
    3. @Bean
    4. public BCryptPasswordEncoder bCryptPasswordEncoder() {
    5. return new BCryptPasswordEncoder();
    6. }
    7. @Bean
    8. public SCryptPasswordEncoder sCryptPasswordEncoder() {
    9. return new SCryptPasswordEncoder();
    10. }
    11. }

    6.3 Implementing custom authentication logic

    若有收获,就点个赞吧

    0 人点赞

    上一篇:
    下一篇:
    • 书签
    • 添加书签 移除书签
    • design pattern
      • Chapter3 The Decorator Pattern
      • chapter2 The Observer Pattern
      • chapter1 Introduction
    • Elasticsearch
      • No title
    • Mongodb
      • Chapter 6 Aggregation
      • Chapter5 Constructing queries
      • Chapter4 Document-oriented data
      • MongoDB Driver Quick Start - POJOs
      • Chapter3 Writing programs using MongoDB
      • Chapter2 MongoDB through the JavaScript shell
    • mybatis
      • 核心处理层
      • 基础支持层
      • 第八章 MyBatis插件开发
      • 第七章 MyBatis缓存配置
      • 第六章 MyBatis 高级查询
      • 第五章 MyBatis代码生成器
      • 第二章 MyBatis XML基本用法
      • 第三章 MyBatis注解方式的基本用法
      • 第四章 MyBatis动态SQL
    • effectivejava
    • corejava
      • v1
        • 第8章 泛型程序设计
      • v2
        • 第1章 Java8的流库
    • springcloud
      • chapter6 On Service Discovery
      • chapter5 Controlling your configuration with Spring Cloud Configuration Server
    • ruoyi-vue
      • day01
    • Algorithms
      • 第6章 堆排序
    • JVM
      • 第3章 垃圾收集器与内存分配策略
      • 第2章 Java内存区域与内存溢出异常
    • spring security
      • Chpater18 Hands-on An Oauth 2 application
      • Chapter17 Global method security: Pre- and Postfiltering
      • Chapter16 Global method security:Pre- and postauthorizations
      • Chapter 15 OAuth2: Using JWT and cryptographic signatures
      • Chapter7 Configuring authorization: Restricting access
      • chapter6 Hands-on: A small secured web application
      • chapter5 Implementing authentication
      • chapter4 Dealing with passwords
      • chapter3 Managing users
      • chapter2 Hello Spring Security
    • springcloud nginx
      • 第5章 Hystrix RPC保护的原理
      • 第4章 RxJava响应式编程框架
      • 第3章 Spring Cloud RPC远程调用核心原理
      • 第2章 Spring Cloud入门实战
      • 第1章 Spring Cloud Nginx学习准备
    • docker
      • Chapter8 Building images automatically with Dockerfiles
      • Chapter7 Packaging software in images
      • Chapter6 Limiting risk with resource controls
      • Chapter5 Single-host networking
      • Chapter4 Working with storage and volumes
      • Chapter3 Software installation simplified
      • Chapter2 Running software in containers
    • spring
      • 第12章 反应式持久化数据
      • 第11章 开发响应式API
      • 第8章 发送异步消息
    • 高性能Mysql
      • 第2章 MySQL基准测试
      • 第1章 MySQL架构与历史
    • java高并发2
      • 第7章 JUC容器类
      • 第6章 AQS抽象同步器的核心原理
      • 第5章 JUC显式锁的原理与实战
      • 第4章 可见性与有序性的原理
      • 第3章 CAS原理与JUC原子类
      • 第2章 Java内置锁的核心原理
      • 第1章 多线程原理与实战
    • java高并发
      • 第15章 亿级高并发IM架构与实战
      • 第14章 分布式缓存:Redis实战
      • 第13章 ZooKeeper分布式协调
      • 第12章 SSL/TLS核心原理与实战
      • 第11章 WebSocket原理与实战
      • 第10章 高并发HTTP通信的核心原理
      • 第9章 HTTP原理与Web服务器实战
      • 第8章 基于Netty单体IM系统的开发实战
      • 第7章 序列化与反序列化:JSON和Protobuf
      • 第6章 Decoder与Encoder核心组件
      • 第5章 Netty核心原理与基础实战
      • 第4章 鼎鼎大名的Reactor模式
      • 第3章 Java NIO核心详解
      • 第2章 高并发IO的底层原理
      • 第1章 高并发时代必备技能
    暂无相关搜索结果!

      让时间为你证明

      展开/收起文章目录

      分享,让知识传承更久远

      文章二维码

      手机扫一扫,轻松掌上读

      文档下载

      请下载您需要的格式的文档,随时随地,享受汲取知识的乐趣!
      PDF文档 EPUB文档 MOBI文档

      书签列表

        阅读记录

        阅读进度: 0.00% ( 0/0 ) 重置阅读进度

          思维导图备注