NF OAM Adopter RAN Mock application
[oam/nf-oam-adopter.git] / ves-nf-oam-adopter / ves-nf-oam-adopter-mock / src / main / java / org / o / ran / oam / nf / oam / adopter / mock / app / properties / SecurityProperties.java
1 package org.o.ran.oam.nf.oam.adopter.mock.app.properties;
2
3 import javax.validation.constraints.NotEmpty;
4 import lombok.Data;
5 import lombok.NoArgsConstructor;
6 import org.springframework.boot.context.properties.ConfigurationProperties;
7 import org.springframework.stereotype.Component;
8
9 @Component
10 @ConfigurationProperties(prefix = "security.auth")
11 @Data
12 @NoArgsConstructor
13 public class SecurityProperties {
14     @NotEmpty
15     private String username;
16     @NotEmpty
17     private String password;
18 }