-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Open
Labels
in: configAn issue in spring-security-configAn issue in spring-security-configstatus: ideal-for-contributionAn issue that we actively are looking for someone to help us withAn issue that we actively are looking for someone to help us withtype: enhancementA general enhancementA general enhancement
Milestone
Description
Summary
<security:authentication-provider> XML configuration element is missing a user-details-password-service child or attribute to set a UserDetailsPasswordService property
Actual Behavior
No means to set UserDetailsPasswordService by XML configuration for <security:authentication-provider> and DaoAuthenticationProvider is missing a verification in doAfterPropertiesSet to check if userDetailsService instanceof UserDetailsPasswordService to set also userDetailsPasswordService
Expected Behavior
Add an xml child element or an attribute in <security:authentication-provider>
Configuration
<security:authentication-manager id="authenticationManager">
<security:authentication-provider>
<security:user-service data-source-ref="dataSource"/>
<security:password-encoder ref="delegatingPasswordEncoder"/>
<user-details-password-service ref="myUserDetailsPasswordService" />
</security:authentication-provider>
</security:authentication-manager>
Version
spring-security-5.2.xsd
Sample
Metadata
Metadata
Assignees
Labels
in: configAn issue in spring-security-configAn issue in spring-security-configstatus: ideal-for-contributionAn issue that we actively are looking for someone to help us withAn issue that we actively are looking for someone to help us withtype: enhancementA general enhancementA general enhancement