-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DEV-77] actuator를 위한 유저 및 별도의 basic auth filter 설정
- Loading branch information
Showing
3 changed files
with
65 additions
and
35 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
src/main/java/ddingdong/ddingdongBE/common/config/ActuatorProperties.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package ddingdong.ddingdongBE.common.config; | ||
|
||
import lombok.Getter; | ||
import org.springframework.boot.context.properties.ConfigurationProperties; | ||
import org.springframework.stereotype.Component; | ||
|
||
@Component | ||
@ConfigurationProperties(prefix = "actuator") | ||
@Getter | ||
public class ActuatorProperties { | ||
|
||
private String user; | ||
private String password; | ||
private String roleName; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters