posted 12 years ago
This is the common scenario, for most of the cases, i.e. Authentication is from LDAP and authorization from Database. Here, LdapAuthenticationProvider is the Authentication Provider, it takes two classes as constructor arguments, one is the Authenticator class, this can be BindAuthenticator or any other which authenticates from LDAP. The other is the Authorities Populator class, here you can implement the LdapAuthoritiesPopulator interface and return your roles (from database).