Skip to content

Removes commons lang usage#693

Open
alecharp wants to merge 5 commits intojenkinsci:masterfrom
alecharp:chore/remove-commons-lang-usage
Open

Removes commons lang usage#693
alecharp wants to merge 5 commits intojenkinsci:masterfrom
alecharp:chore/remove-commons-lang-usage

Conversation

@alecharp
Copy link
Member

Superseed #691.

This removes entirely any usage of commons lang.
The API plugin is still a transitive dependency coming from ionicons-api and configuration-as-code dependencies. Excluding it from the latter is breaking the build.

Testing done

I ran mvn verify locally.

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests that demonstrate the feature works or the issue is fixed

protected UserDetails authenticate2(String username, String password) throws AuthenticationException {
// Check if the password length is less than 14 characters
if(FIPS140.useCompliantAlgorithms() && StringUtils.length(password) < 14) {
if(FIPS140.useCompliantAlgorithms() && password.length() < 14) {

Choose a reason for hiding this comment

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

null check?

Copy link
Member Author

Choose a reason for hiding this comment

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

I don't think it can be null based on the call stack.

alecharp and others added 2 commits January 20, 2026 11:04
Thanks @mawinter69

Co-Authored-By: Markus Winter <m.winter@sap.com>
Thanks @mawinter69

Co-Authored-By: Markus Winter <m.winter@sap.com>
@alecharp
Copy link
Member Author

alecharp commented Jan 23, 2026

e7374e3 from #677

Closes #677

@alecharp alecharp requested a review from mawinter69 January 23, 2026 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants