Registry / auth / spring-boot-starter-security

spring-boot-starter-security

JSON →
library4.0.6javamavenunverified

Starter for using Spring Security in Spring Boot applications.

<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security</artifactId> <version>4.0.6</version> </dependency>
INSTALL
IMPORT
SIG · SPRING-BOOT-STARTE
S
spring-boot-starter-security
authjavav4.0.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

HttpSecurity
✓ org.springframework.security.config.annotation.web.builders.HttpSecurity

Basic HTTP authentication configuration.

import org.springframework.security.config.annotation.web.builders.HttpSecurity; import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity; import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter; @EnableWebSecurity public class SecurityConfig extends WebSecurityConfigurerAdapter { @Override protected void configure(HttpSecurity http) throws Exception { http.authorizeRequests().anyRequest().authenticated().and().httpBasic(); } }
Debug
Known issues
breakingSpring Security 4.0.6 is outdated; use 5.x or 6.x for modern features.
fix
Upgrade to a newer version of Spring Boot and Spring Security.
affects: 4.0.6
Upgrade
Version history
4.0.6latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
24 hits · last 30 days
node
22
Resources
spring-boot-starter-security — mvn dependency:get spring-boot-starter-security · libregistry