Skip to content

Commit

Permalink
Merge pull request #168 from AppLinkers/feature/util
Browse files Browse the repository at this point in the history
Feature/util
  • Loading branch information
yuseogi0218 authored Jan 16, 2024
2 parents d1949c4 + a360535 commit b630112
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,12 @@ dependencies {
annotationProcessor "jakarta.annotation:jakarta.annotation-api"
annotationProcessor "jakarta.persistence:jakarta.persistence-api"

// actuator
implementation 'org.springframework.boot:spring-boot-starter-actuator'

// micrometer for prometheus
runtimeOnly 'io.micrometer:micrometer-registry-prometheus'

// p6spy
implementation 'com.github.gavlyukovskiy:p6spy-spring-boot-starter:1.9.0'

Expand Down
2 changes: 1 addition & 1 deletion laser-ordermanage-server-submodule-config
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Excepti

http.authorizeHttpRequests((authorizeRequests) ->
authorizeRequests
.requestMatchers("/secure/actuator/**").permitAll() // actuator 권한 허가
.requestMatchers("/user/logout", "/user/password").authenticated()
.requestMatchers("/user/**").permitAll()
.requestMatchers("/customer/**", "/drawing/**").hasRole("CUSTOMER")
Expand Down

0 comments on commit b630112

Please sign in to comment.