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 DefaultAuthPolicyConf implements AuthPolicyConf {
27
28 private static final long serialVersionUID = -2969836600059025380L;
29
30 private boolean tryAll;
31
32 private final List<String> authModules = new ArrayList<>();
33
34 public boolean isTryAll() {
35 return tryAll;
36 }
37
38 public void setTryAll(final boolean tryAll) {
39 this.tryAll = tryAll;
40 }
41
42 @JacksonXmlElementWrapper(localName = "authModules")
43 @JacksonXmlProperty(localName = "authModule")
44 public List<String> getAuthModules() {
45 return authModules;
46 }
47 }