Skip to content

Conversation

@sarahwalther
Copy link
Contributor

@sarahwalther sarahwalther commented Oct 4, 2021

Since the class is not final, it is possible to extend it. Because the Builder was directly accessing the properties rather than using the getters/setters, it was not possible to use the .from(RegisteredClient) constructor in the extended class. This should enable extensions to use it.

- Since the class is not final, it is possible to extend it.
  Because the Builder was directly accessing the properties
  rather than using the getters, it was not possible to use
  the .from(id) constructor in the extended class.
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Oct 4, 2021
@jgrandja jgrandja added type: enhancement A general enhancement type: bug A general bug and removed status: waiting-for-triage An issue we've not yet triaged type: enhancement A general enhancement labels Oct 14, 2021
@jgrandja jgrandja self-assigned this Oct 14, 2021
@jgrandja jgrandja added this to the 0.2.1 milestone Oct 14, 2021
@jgrandja jgrandja closed this in 4b19637 Oct 14, 2021
@jgrandja
Copy link
Collaborator

Thanks for the PR @sarahmcalear ! This is now in main.

doba16 pushed a commit to doba16/spring-authorization-server that referenced this pull request Apr 21, 2023
- Since the class is not final, it is possible to extend it.
  Because the Builder was directly accessing the properties
  rather than using the getters, it was not possible to use
  the .from(id) constructor in the extended class.

Closes spring-projectsgh-451
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: bug A general bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants