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.to;
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 import javax.ws.rs.PathParam;
26
27 public class OIDCC4UIProviderTO extends ItemContainer implements EntityTO {
28
29 private static final long serialVersionUID = -1229802774546135794L;
30
31 private String key;
32
33 private String name;
34
35 private String clientID;
36
37 private String clientSecret;
38
39 private String authorizationEndpoint;
40
41 private String tokenEndpoint;
42
43 private String jwksUri;
44
45 private String issuer;
46
47 private String userinfoEndpoint;
48
49 private String endSessionEndpoint;
50
51 private final List<String> scopes = new ArrayList<>();
52
53 private boolean hasDiscovery;
54
55 private boolean createUnmatching;
56
57 private boolean updateMatching;
58
59 private boolean selfRegUnmatching;
60
61 private UserTO userTemplate;
62
63 private final List<String> actions = new ArrayList<>();
64
65 @Override
66 public String getKey() {
67 return key;
68 }
69
70 @PathParam("key")
71 @Override
72 public void setKey(final String key) {
73 this.key = key;
74 }
75
76 public String getName() {
77 return name;
78 }
79
80 public void setName(final String name) {
81 this.name = name;
82 }
83
84 public String getClientID() {
85 return clientID;
86 }
87
88 public void setClientID(final String clientID) {
89 this.clientID = clientID;
90 }
91
92 public String getClientSecret() {
93 return clientSecret;
94 }
95
96 public void setClientSecret(final String clientSecret) {
97 this.clientSecret = clientSecret;
98 }
99
100 public String getAuthorizationEndpoint() {
101 return authorizationEndpoint;
102 }
103
104 public void setAuthorizationEndpoint(final String authorizationEndpoint) {
105 this.authorizationEndpoint = authorizationEndpoint;
106 }
107
108 public String getTokenEndpoint() {
109 return tokenEndpoint;
110 }
111
112 public void setTokenEndpoint(final String tokenEndpoint) {
113 this.tokenEndpoint = tokenEndpoint;
114 }
115
116 public String getJwksUri() {
117 return jwksUri;
118 }
119
120 public void setJwksUri(final String jwksUri) {
121 this.jwksUri = jwksUri;
122 }
123
124 public String getIssuer() {
125 return issuer;
126 }
127
128 public void setIssuer(final String issuer) {
129 this.issuer = issuer;
130 }
131
132 public String getUserinfoEndpoint() {
133 return userinfoEndpoint;
134 }
135
136 public void setUserinfoEndpoint(final String userinfoEndpoint) {
137 this.userinfoEndpoint = userinfoEndpoint;
138 }
139
140 public String getEndSessionEndpoint() {
141 return endSessionEndpoint;
142 }
143
144 public void setEndSessionEndpoint(final String endSessionEndpoint) {
145 this.endSessionEndpoint = endSessionEndpoint;
146 }
147
148 @JacksonXmlElementWrapper(localName = "scopes")
149 @JacksonXmlProperty(localName = "scope")
150 public List<String> getScopes() {
151 return scopes;
152 }
153
154 public UserTO getUserTemplate() {
155 return userTemplate;
156 }
157
158 public boolean getHasDiscovery() {
159 return hasDiscovery;
160 }
161
162 public void setHasDiscovery(final boolean hasDiscovery) {
163 this.hasDiscovery = hasDiscovery;
164 }
165
166 public void setUserTemplate(final UserTO userTemplate) {
167 this.userTemplate = userTemplate;
168 }
169
170 public boolean isCreateUnmatching() {
171 return createUnmatching;
172 }
173
174 public void setCreateUnmatching(final boolean createUnmatching) {
175 this.createUnmatching = createUnmatching;
176 }
177
178 public boolean isUpdateMatching() {
179 return updateMatching;
180 }
181
182 public void setUpdateMatching(final boolean updateMatching) {
183 this.updateMatching = updateMatching;
184 }
185
186 public boolean isSelfRegUnmatching() {
187 return selfRegUnmatching;
188 }
189
190 public void setSelfRegUnmatching(final boolean selfRegUnmatching) {
191 this.selfRegUnmatching = selfRegUnmatching;
192 }
193
194 @JacksonXmlElementWrapper(localName = "actions")
195 @JacksonXmlProperty(localName = "action")
196 public List<String> getActions() {
197 return actions;
198 }
199 }