首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏码农笔录

    Nacos 修改mysql中默认账号密码

    我们新建一个springboot项目,加入一个依赖 spring-boot-starter-security ,只需要这一个就好了。 ·gradle compile group: 'org.springframework.boot', name: 'spring-boot-starter-security', version: '2.1.4 .RELEASE' ·maven <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security

    6.8K20发布于 2019-05-14
  • 来自专栏世界第一语言是java

    Nacos 修改mysql中默认账号密码

    我们新建一个springboot项目,加入一个依赖 spring-boot-starter-security ,只需要这一个就好了。 ·gradle compile group: 'org.springframework.boot', name: 'spring-boot-starter-security', version: '2.1.4 .RELEASE' ·maven <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security

    9.2K30发布于 2019-05-14
  • 来自专栏信息安全小学生

    第一个 SpringSecurity 应用

    创建文件 build.gradle 重点引入 spring-boot-starter-security 依赖项,完整的 gradle 配置如下: plugins { id 'java' org.springframework.boot', name: 'spring-boot-starter-web' compile group: 'org.springframework.boot', name: 'spring-boot-starter-security 总结 最简单的 spring-security 项目只需要在项目依赖中增加 spring-boot-starter-security 即可。 默认情况下,该项目的所有资源地址均需认证成功后才能访问。

    44140发布于 2019-08-29
  • 来自专栏码农小胖哥的码农生涯

    Spring Boot 2 实战:使用 Spring Boot Admin 监控平台

    -- 生产需要保证监控的安全性--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security 为了保护端点,你还应该添加安全依赖 spring-boot-starter-security。 </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security Security Starter 依赖: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security Security Starter 依赖: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security

    4.2K22发布于 2019-12-10
  • 来自专栏全栈开发那些事

    SpringBoot2.5.1整合thymeleaf以及springsecurity后sec:authorize无效的问题

    <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security 的版本切换到5就行 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security

    37210编辑于 2023-02-25
  • 来自专栏Linyb极客之路

    使用springboot2.1.x+redis来实现session共享采坑实录

    <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security java.lang.ClassNotFoundException: org.springframework.security.web.authentication.RememberMeServices 而引入spring-boot-starter-security

    1.6K70发布于 2019-05-29
  • 来自专栏攻城狮Chovas

    微服务架构Day13-SpringBoot之安全

    为了抵达需要授权的点,主体身份已经有认证过程的建立 Spring Security 针对Spring项目的安全框架,是Spring Boot底层安全模块默认的技术选型 可以实现web安全控制,只需要引入spring-boot-starter-security WebSecurityConfigurerAdapter: 自定义Security策略 AuthenticationManagerBuilder: 自定义认证策略 @EnableWebSecurity: 开启WebSecurity模式 1.引入spring-boot-starter-security

    32010编辑于 2022-01-22
  • Springboot应用开发-SpringBootSecurity

    项目的 pom.xml 文件中添加以下依赖: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security </artifactId> </dependency> 对于 Gradle 项目: implementation 'org.springframework.boot:spring-boot-starter-security

    30310编辑于 2025-07-22
  • 来自专栏愿天堂没有BUG(公众号同名)

    SpringSecurity的集成以及相关组件的介绍

    Security 自动配置 在 Spring Boot 中,使用 Spring Security 只 需简单地引入 spring-boot-starter-security 即可。 Spring Boot 项目引入 spring-boot-starter-security 之后,再次访问之前的 URL,会发现页面跳转到--个 login 的登录界面。

    41830编辑于 2022-10-28
  • 来自专栏Spring相关

    Springsecurity搭建自定义登录页面

    -- 由于我使用的spring boot所以我是引入spring-boot-starter-security而且我使用了spring io所以不需要填写依赖的版本号 --> <groupId >org.springframework.boot</groupId> <artifactId>spring-boot-starter-security</artifactId>

    82830发布于 2018-09-10
  • 来自专栏Java

    SpringSecurity入门案例——基本功能讲解

    Boot Starter JDBC Project Lombok MySQL Connector/J mybatis-plus-boot-starter mybatis-plus-generator spring-boot-starter-security <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security

    40310编辑于 2025-01-21
  • 来自专栏吴伟祥

    Nacos修改默认账号密码 原

    /releases 二、引入依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security

    18.2K10发布于 2019-04-18
  • 来自专栏SpringBoot 核心技术

    ApiBoot Logging Admin可视化界面管理日志

    --Spring Security--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security </artifactId> </dependency> 配置安全用户 spring-boot-starter-security依赖提供了内存方式配置用户信息,在application.yml文件配置用户如下所示

    1.2K20发布于 2019-11-11
  • 来自专栏Java工程师成长之路

    springboot动态修改日志级别+权限认证

    解决 1.2.1. pom 首先加上pom <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security

    78330发布于 2019-09-10
  • 来自专栏Kiba518

    SpringBoot的Security和OAuth2的使用

    然后编写pom文件如下,引入spring-boot-starter-security,我这里使用的spring boot是2.4.2,这里使用使用spring-boot-dependencies,在这里就能找到对应的 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security SessionCreationPolicy.IF_REQUIRED); //所有请求需要认证 http.authorizeRequests().anyRequest().authenticated(); } } 因为添加了spring-boot-starter-security

    70410编辑于 2024-06-18
  • 来自专栏happyJared

    Spring Boot Application 监控管理利器: Spring Boot Admin

    <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security

    83600发布于 2019-04-18
  • 来自专栏AI大模型

    Security安全认证 | Spring Boot如何集成Security实现安全认证

    Spring Boot 提供了集成 Spring Security 的组件包 spring-boot-starter-security,方便我们在 Spring Boot 项目中使用 Spring Security 添加依赖 Spring Boot 提供了集成 Spring Security 的组件包 spring-boot-starter-security,方便我们在 Spring Boot 项目中使用 Spring spring-boot-starter-thymeleaf</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security

    1.8K30编辑于 2023-03-23
  • 来自专栏FHADMIN

    微服务监控中心springboot-admin 配置登录密码

    --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security

    86830编辑于 2022-06-10
  • 来自专栏java和python

    springboot整合springsecurity框架,项目架构的搭建 ,集成springsecurity框架(集中式项目)(一)

    jar包 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security

    61920发布于 2020-11-20
  • 来自专栏落叶飞翔的蜗牛

    Spring Boot保护Web应用程序

    <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security spring_boot_securing_web_applications.html <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security

    1.3K20编辑于 2021-12-04
领券