Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
import javax.annotation.PostConstruct;
import javax.validation.constraints.NotEmpty;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
Expand Down Expand Up @@ -60,20 +59,6 @@ public class AADAuthenticationProperties {
*/
private String clientSecret;

/**
* Redirection Endpoint: Used by the authorization server
* to return responses containing authorization credentials to the client via the resource owner user-agent.
*/
private String redirectUriTemplate;

/**
* Optional. scope doc:
* https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-permissions-and-consent#scopes-and-permissions
* @deprecated Please use "azure.activedirectory.authorization.client-registration-id.scope" instead.
*/
@Deprecated
private List<String> scope = Arrays.asList("openid", "profile", "https://graph.microsoft.com/user.read");

/**
* App ID URI which might be used in the <code>"aud"</code> claim of an <code>id_token</code>.
*/
Expand Down Expand Up @@ -312,32 +297,6 @@ public void setClientSecret(String clientSecret) {
this.clientSecret = clientSecret;
}

public String getRedirectUriTemplate() {
return redirectUriTemplate;
}

public void setRedirectUriTemplate(String redirectUriTemplate) {
this.redirectUriTemplate = redirectUriTemplate;
}

/**
* @param scope scope
* @deprecated Please use "azure.activedirectory.authorization.client-registration-id.scope" instead.
*/
@Deprecated
public void setScope(List<String> scope) {
this.scope = scope;
}

/**
* @return scope
* @deprecated Please use "azure.activedirectory.authorization.client-registration-id.scope" instead.
*/
@Deprecated
public List<String> getScope() {
return scope;
}

@Deprecated
public void setActiveDirectoryGroups(List<String> activeDirectoryGroups) {
this.userGroup.setAllowedGroups(activeDirectoryGroups);
Expand Down