I am using the following security_context.xml in a new spring framework that we are trying to set up
For authentication we are using
<user name="rod" password="koala" authorities="supervisor, teller, user" />
<user name="dianne" password="emu" authorities="teller, user" />
<user name="scott" password="wombat" authorities="user" />
<user name="peter" password="opal" authorities="user" />
we will eventually use LDAP but for now planning to use a properties file and utilize <user-service id="userDetailsService" properties="users.properties"/>
In addition to username, password, grantedAuthority, enable/disable we would like to add userid as a field. How to extend userDetailsService to add this extra attribute any pointers will be greatly appreciated.