Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete deprecated configuration properties for aad and aadb2c. #26598

Conversation

chenrujun
Copy link

  1. Delete deprecated configuration properties for aad and aadb2c.
  2. Update java doc for configuration properties for aad and aadb2c.

2. Update java doc for configuration properties for aad and aadb2c.
@ghost ghost added the azure-spring All azure-spring related issues label Jan 20, 2022
@chenrujun
Copy link
Author

Hi, @saragluna , @moarychan , please help to review this PR when you have time.

@chenrujun chenrujun self-assigned this Jan 20, 2022
@chenrujun chenrujun added azure-spring-aad Spring active directory related issues. azure-spring-aad-b2c Spring active directory b2c related issues. Client This issue points to a problem in the data-plane of the library. labels Jan 20, 2022

/**
* If true activates the stateless auth filter AADAppRoleStatelessAuthenticationFilter. The
* default is false which activates AADAuthenticationFilter.
*/
private Boolean sessionStateless = false;

/**
* The OAuth2 authorization clients.
*/
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Issue created: #26600

/**
* Configure which claim will be used to build GrantedAuthority, and prefix of the GrantedAuthority's string value.
* Default value is: "scp" -> "SCOPE_", "roles" -> "APPROLE_".
* @see org.springframework.security.core.GrantedAuthority
* @see org.springframework.security.core.GrantedAuthority .
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should remove this @see xxxx, the @see won't do much help in the metadata.

https://docs.spring.io/spring-boot/docs/current/reference/html/configuration-metadata.html#configuration-metadata.annotation-processor
"
You should only use plain text with @ConfigurationProperties field Javadoc, since they are not processed before being added to the JSON.
"

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deleted.

@@ -108,10 +100,13 @@
*/
private String loginFlow = DEFAULT_KEY_SIGN_UP_OR_SIGN_IN;

/**
* User flows.
*/
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here, more hints could be added later.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Issue created: #26600

2. Fix error about exception description.
3. Fix typo.
4. Fix logic error of property validation.
Copy link
Member

@saragluna saragluna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

…configuration-properties-for-aad-and-aad-b2c
@chenrujun chenrujun merged commit 95c97f2 into Azure:feature/azure-spring-cloud-4.0 Feb 7, 2022
@chenrujun chenrujun deleted the delete-deprecated-configuration-properties-for-aad-and-aad-b2c branch February 7, 2022 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
azure-spring All azure-spring related issues azure-spring-aad Spring active directory related issues. azure-spring-aad-b2c Spring active directory b2c related issues. Client This issue points to a problem in the data-plane of the library.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants