Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SEC-1466: authentication-provider should reject child password-encoder element when used with ref attribute #1706

spring-issuemaster opened this issue Apr 24, 2010 · 0 comments


Copy link

@spring-issuemaster spring-issuemaster commented Apr 24, 2010

Nes Yarug (Migrated from SEC-1466) said:

Basically want to achieve the following (as was natural to me from reading the documentation and trying to adapt to my own situation):

<beans:bean id="passwordEncoder" class="">
<beans:constructor-arg value="256"/>
<beans:bean id="saltSource" class="">
<beans:property name="userPropertyToUse" value="username"/>
<beans:bean id="daoAuthenticationProvider" class="">
<beans:property name="userDetailsService" ref="userDetailsService" />
<beans:property name="userCache">
<beans:bean class="">
<beans:property name="cache" ref="userCache" />

The above resulted in a null saltSource for daoAuthenticationProvider (but not a null passwordEncoder).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.