A user service for fetching the user details from the database when using a ldap as the authentication mechanism. The baltrad user details service will read the user information from the database but the actual password is not used since that has been handled in earlier steps in the LdapAuthenticationProvider.
You can define a prefix that should be removed from the username before loading from the database. If, for example, you have the the user 'admin' in the database, but it is known as 'baltrad/admin' in the ldap, you can define the userPrefix='baltrad/' and hence the user read from the database will be 'admin' even though the authorization was performed on 'baltrad/admin'
- Author
- Anders Henja