1
|
package eu.dnetlib.uoamonitorservice.configuration.properties;
|
2
|
|
3
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
4
|
|
5
|
import java.util.ArrayList;
|
6
|
import java.util.List;
|
7
|
|
8
|
@ConfigurationProperties("monitorservice.security")
|
9
|
public class SecurityConfig {
|
10
|
|
11
|
private String userInfoUrl;
|
12
|
private String originServer;
|
13
|
private List<String> postsAllowed = new ArrayList<>();
|
14
|
|
15
|
public void setUserInfoUrl(String userInfoUrl) {
|
16
|
this.userInfoUrl = userInfoUrl;
|
17
|
}
|
18
|
|
19
|
public void setOriginServer(String originServer) {
|
20
|
this.originServer = originServer;
|
21
|
}
|
22
|
|
23
|
|
24
|
public void setPostsAllowed(List<String> posts) {
|
25
|
this.postsAllowed = posts;
|
26
|
}
|
27
|
|
28
|
public String getUserInfoUrl() {
|
29
|
return userInfoUrl;
|
30
|
}
|
31
|
|
32
|
public String getOriginServer() {
|
33
|
return originServer;
|
34
|
}
|
35
|
|
36
|
public List<String> getPostsAllowed() {
|
37
|
return postsAllowed;
|
38
|
}
|
39
|
|
40
|
}
|