MCPcopy Index your code
hub / github.com/Java-Techie-jt/spring-boot-security-3.0

github.com/Java-Techie-jt/spring-boot-security-3.0 @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
34 symbols 65 edges 10 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

spring-boot-security-3.0

Note : If you are using spring boot 3.1.x version then please do the below code change

@Bean
public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception {
    return http.csrf(AbstractHttpConfigurer::disable)
            .authorizeHttpRequests(auth ->
                    auth.requestMatchers("/product-service/welcome", "/product-service/addNewUser").permitAll()
                            .requestMatchers("/product-service/**")
                            .authenticated()
            )
            .httpBasic(Customizer.withDefaults()).build();
}

Extension points exported contracts — how you extend this code

UserInfoRepository (Interface)
(no doc)
src/main/java/com/javatechie/repository/UserInfoRepository.java

Core symbols most depended-on inside this repo

getPassword
called by 2
src/main/java/com/javatechie/config/UserInfoUserDetails.java
getProducts
called by 1
src/main/java/com/javatechie/service/ProductService.java
getProduct
called by 1
src/main/java/com/javatechie/service/ProductService.java
addUser
called by 1
src/main/java/com/javatechie/service/ProductService.java
findByName
called by 1
src/main/java/com/javatechie/repository/UserInfoRepository.java
userDetailsService
called by 1
src/main/java/com/javatechie/config/SecurityConfig.java
passwordEncoder
called by 1
src/main/java/com/javatechie/config/SecurityConfig.java
welcome
called by 0
src/main/java/com/javatechie/controller/ProductController.java

Shape

Method 24
Class 9
Interface 1

Languages

Java100%

Modules by API surface

src/main/java/com/javatechie/config/UserInfoUserDetails.java9 symbols
src/main/java/com/javatechie/service/ProductService.java5 symbols
src/main/java/com/javatechie/controller/ProductController.java5 symbols
src/main/java/com/javatechie/config/SecurityConfig.java5 symbols
src/test/java/com/javatechie/SpringSecurityLatestApplicationTests.java2 symbols
src/main/java/com/javatechie/repository/UserInfoRepository.java2 symbols
src/main/java/com/javatechie/config/UserInfoUserDetailsService.java2 symbols
src/main/java/com/javatechie/SpringSecurityLatestApplication.java2 symbols
src/main/java/com/javatechie/entity/UserInfo.java1 symbols
src/main/java/com/javatechie/dto/Product.java1 symbols

Datastores touched

(mysql)Database · 1 repos
javatechieDatabase · 1 repos

For agents

$ claude mcp add spring-boot-security-3.0 \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact