Hello,
I am planning to implement a custom UserDetailsService for which I would like to specify configuration
values in the xml configuration file. Would something like this make sense where the property named
prop1 is meaningful for my custom implementation and if so, how would I then
access the property in my UserDetailsService implemenation? Is there a class with a
getProperty() or similar available in Spring that I can use?
<beans:bean id="myUserDetailsService"
class="org.mycompany.CustomUserDetailsService">
<beansroperty name="prop1" value="value1"/>
</beans:bean>
I am a newbie to this with limited Java experience under tight schedule so any help
is greatly appreciated.
Thanks.


roperty name="prop1" value="value1"/>
Reply With Quote