Skip to content

Conversation

@dlwldnjs1009
Copy link

@dlwldnjs1009 dlwldnjs1009 commented Jan 22, 2026

Summary

  • Add compile-warnings-error plugin to the spring-security-ldap module
  • Replace deprecated org.springframework.lang.NonNull with
    org.jspecify.annotations.NonNull
  • Add @SuppressWarnings for unchecked / rawtypes / deprecation warnings
  • Deprecate the single-argument PasswordComparisonAuthenticator constructor
    and introduce a new constructor accepting PasswordEncoder to prepare for
    removal of deprecated LdapShaPasswordEncoder usage

Test plan

  • ./gradlew --no-build-cache clean :spring-security-ldap:check
  • ./gradlew format && ./gradlew check

Closes gh-18430

- Add
  compile-warnings-error plugin to ldap module

- Replace
  org.springframework.lang.NonNull with org.jspecify.annotations.NonNull

-
  Add @SuppressWarnings for unchecked/rawtypes/deprecation warnings

Closes
  spring-projectsgh-18405

Signed-off-by: LeeJiWon <dlwldnjs1009@gmail.com>
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jan 22, 2026
@rwinch rwinch self-assigned this Jan 23, 2026
@rwinch rwinch added in: build An issue in the build type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged labels Jan 23, 2026
@rwinch rwinch added this to the 7.1.0-M2 milestone Jan 23, 2026
@rwinch rwinch added the status: waiting-for-feedback We need additional information before we can continue label Jan 23, 2026
@rwinch rwinch removed their assignment Jan 23, 2026
Add new constructor accepting PasswordEncoder to eventually
remove deprecated LdapShaPasswordEncoder usage.

Closes spring-projectsgh-18430

Signed-off-by: LeeJiWon <dlwldnjs1009@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in: build An issue in the build status: waiting-for-feedback We need additional information before we can continue type: enhancement A general enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove compiler warnings for spring-security-ldap

3 participants