1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.apache.syncope.common.lib.policy;
20
21 import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
22 import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
23 import java.util.ArrayList;
24 import java.util.List;
25
26 public class RemoteEndpointAccessPolicyConf implements AccessPolicyConf {
27
28 private static final long serialVersionUID = -1573476136969750601L;
29
30 private String endpointUrl;
31
32 private final List<String> acceptableResponseCodes = new ArrayList<>();
33
34 public String getEndpointUrl() {
35 return endpointUrl;
36 }
37
38 public void setEndpointUrl(final String endpointUrl) {
39 this.endpointUrl = endpointUrl;
40 }
41
42 @JacksonXmlElementWrapper(localName = "acceptableResponseCodes")
43 @JacksonXmlProperty(localName = "acceptableResponseCode")
44 public List<String> getAcceptableResponseCodes() {
45 return acceptableResponseCodes;
46 }
47 }