-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Delete deprecated configuration properties for aad and aadb2c. #26598
Conversation
chenrujun
commented
Jan 20, 2022
- Delete deprecated configuration properties for aad and aadb2c.
- Update java doc for configuration properties for aad and aadb2c.
2. Update java doc for configuration properties for aad and aadb2c.
Hi, @saragluna , @moarychan , please help to review this PR when you have time. |
|
||
/** | ||
* If true activates the stateless auth filter AADAppRoleStatelessAuthenticationFilter. The | ||
* default is false which activates AADAuthenticationFilter. | ||
*/ | ||
private Boolean sessionStateless = false; | ||
|
||
/** | ||
* The OAuth2 authorization clients. | ||
*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Later we can have more hints added for this map https://docs.spring.io/spring-boot/docs/current/reference/html/configuration-metadata.html#configuration-metadata.manual-hints.value-hint
There was a problem hiding this comment.
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 . |
There was a problem hiding this comment.
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.
"
There was a problem hiding this comment.
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. | |||
*/ |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this 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