spring-security icon indicating copy to clipboard operation
spring-security copied to clipboard

Clarify AuthenticationManagerBuilder.authenticationProvider JavaDoc

Open ckyeon opened this issue 1 month ago • 0 comments

Summary

  • Clarifies that the authenticationProvider() method adds a provider to the existing list rather than replacing it
  • Documents that the provider is appended to the internal collection
  • Adds missing @param tag for the authenticationProvider parameter

Context

The original JavaDoc for AuthenticationManagerBuilder.authenticationProvider() could be misinterpreted as setting a single provider.

This change makes it explicit that the method appends the provider to the internal collection, which is important for users configuring multiple authentication providers.

ckyeon avatar Dec 14 '25 01:12 ckyeon