Revision 59615
Added by Katerina Iatropoulou over 3 years ago
ServiceRequest.java | ||
---|---|---|
148 | 148 |
|
149 | 149 |
} |
150 | 150 |
} |
151 |
|
|
151 | 152 |
class Jwks implements Serializable { |
152 | 153 |
Key[] keys = new Key[]{new Key()}; |
153 | 154 |
} |
154 | 155 |
|
155 |
class Key implements Serializable { |
|
156 |
class Key implements Serializable { |
|
157 |
/* String kty; |
|
158 |
String e; |
|
159 |
String kid; |
|
160 |
String alg; |
|
161 |
String n; |
|
162 |
|
|
163 |
public String getKty() { |
|
164 |
return kty; |
|
165 |
} |
|
166 |
|
|
167 |
public void setKty(String kty) { |
|
168 |
this.kty = kty; |
|
169 |
} |
|
170 |
|
|
171 |
public String getE() { |
|
172 |
return e; |
|
173 |
} |
|
174 |
|
|
175 |
public void setE(String e) { |
|
176 |
this.e = e; |
|
177 |
} |
|
178 |
|
|
179 |
public String getKid() { |
|
180 |
return kid; |
|
181 |
} |
|
182 |
|
|
183 |
public void setKid(String kid) { |
|
184 |
this.kid = kid; |
|
185 |
} |
|
186 |
|
|
187 |
public String getAlg() { |
|
188 |
return alg; |
|
189 |
} |
|
190 |
|
|
191 |
public void setAlg(String alg) { |
|
192 |
this.alg = alg; |
|
193 |
} |
|
194 |
|
|
195 |
public String getN() { |
|
196 |
return n; |
|
197 |
} |
|
198 |
|
|
199 |
public void setN(String n) { |
|
200 |
this.n = n; |
|
201 |
} |
|
202 |
*/ |
|
203 |
|
|
156 | 204 |
String kty = "RSA"; |
157 | 205 |
String e = "AQAB"; |
158 | 206 |
String kid = "05794a3c-a6f5-430c-9822-da4e53597ba5"; |
Also available in: Unified diff
service registration with keys enabled