|
13 | 13 | import javax.annotation.PostConstruct; |
14 | 14 | import javax.validation.constraints.NotEmpty; |
15 | 15 | import java.util.ArrayList; |
16 | | -import java.util.Arrays; |
17 | 16 | import java.util.Collections; |
18 | 17 | import java.util.HashMap; |
19 | 18 | import java.util.List; |
@@ -60,20 +59,6 @@ public class AADAuthenticationProperties { |
60 | 59 | */ |
61 | 60 | private String clientSecret; |
62 | 61 |
|
63 | | - /** |
64 | | - * Redirection Endpoint: Used by the authorization server |
65 | | - * to return responses containing authorization credentials to the client via the resource owner user-agent. |
66 | | - */ |
67 | | - private String redirectUriTemplate; |
68 | | - |
69 | | - /** |
70 | | - * Optional. scope doc: |
71 | | - * https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-permissions-and-consent#scopes-and-permissions |
72 | | - * @deprecated Please use "azure.activedirectory.authorization.client-registration-id.scope" instead. |
73 | | - */ |
74 | | - @Deprecated |
75 | | - private List<String> scope = Arrays.asList("openid", "profile", "https://graph.microsoft.com/user.read"); |
76 | | - |
77 | 62 | /** |
78 | 63 | * App ID URI which might be used in the <code>"aud"</code> claim of an <code>id_token</code>. |
79 | 64 | */ |
@@ -312,32 +297,6 @@ public void setClientSecret(String clientSecret) { |
312 | 297 | this.clientSecret = clientSecret; |
313 | 298 | } |
314 | 299 |
|
315 | | - public String getRedirectUriTemplate() { |
316 | | - return redirectUriTemplate; |
317 | | - } |
318 | | - |
319 | | - public void setRedirectUriTemplate(String redirectUriTemplate) { |
320 | | - this.redirectUriTemplate = redirectUriTemplate; |
321 | | - } |
322 | | - |
323 | | - /** |
324 | | - * @param scope scope |
325 | | - * @deprecated Please use "azure.activedirectory.authorization.client-registration-id.scope" instead. |
326 | | - */ |
327 | | - @Deprecated |
328 | | - public void setScope(List<String> scope) { |
329 | | - this.scope = scope; |
330 | | - } |
331 | | - |
332 | | - /** |
333 | | - * @return scope |
334 | | - * @deprecated Please use "azure.activedirectory.authorization.client-registration-id.scope" instead. |
335 | | - */ |
336 | | - @Deprecated |
337 | | - public List<String> getScope() { |
338 | | - return scope; |
339 | | - } |
340 | | - |
341 | 300 | @Deprecated |
342 | 301 | public void setActiveDirectoryGroups(List<String> activeDirectoryGroups) { |
343 | 302 | this.userGroup.setAllowedGroups(activeDirectoryGroups); |
|
0 commit comments