1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.apache.syncope.common.keymaster.client.api;
20
21 import org.springframework.boot.context.properties.ConfigurationProperties;
22
23 @ConfigurationProperties("keymaster")
24 public class KeymasterProperties {
25
26 private String address;
27
28 private String username;
29
30 private String password;
31
32 private int baseSleepTimeMs = 100;
33
34 private int maxRetries = 3;
35
36 private boolean enableAutoRegistration = true;
37
38 public String getAddress() {
39 return address;
40 }
41
42 public void setAddress(final String address) {
43 this.address = address;
44 }
45
46 public String getUsername() {
47 return username;
48 }
49
50 public void setUsername(final String username) {
51 this.username = username;
52 }
53
54 public String getPassword() {
55 return password;
56 }
57
58 public void setPassword(final String password) {
59 this.password = password;
60 }
61
62 public int getBaseSleepTimeMs() {
63 return baseSleepTimeMs;
64 }
65
66 public void setBaseSleepTimeMs(final int baseSleepTimeMs) {
67 this.baseSleepTimeMs = baseSleepTimeMs;
68 }
69
70 public int getMaxRetries() {
71 return maxRetries;
72 }
73
74 public void setMaxRetries(final int maxRetries) {
75 this.maxRetries = maxRetries;
76 }
77
78 public boolean isEnableAutoRegistration() {
79 return enableAutoRegistration;
80 }
81
82 public void setEnableAutoRegistration(final boolean enableAutoRegistration) {
83 this.enableAutoRegistration = enableAutoRegistration;
84 }
85 }