]> git.argeo.org Git - lgpl/argeo-commons.git/blobdiff - security/runtime/org.argeo.security.core/src/main/java/org/argeo/security/ldap/ArgeoSecurityDaoLdap.java
Adapt to new versions
[lgpl/argeo-commons.git] / security / runtime / org.argeo.security.core / src / main / java / org / argeo / security / ldap / ArgeoSecurityDaoLdap.java
index 15cd1360b915b1d80c54a7b70d25e28c2e73f75d..305fe903f9f9cf55f0a81c58ddf8a15f70f664e0 100644 (file)
@@ -51,6 +51,7 @@ public class ArgeoSecurityDaoLdap implements ArgeoSecurityDao, InitializingBean
        private LdapUsernameToDnMapper usernameMapper = null;
 
        private UserDetailsContextMapper userDetailsMapper;
+//     private LdapUserDetailsService ldapUserDetailsService;
        private List<UserNatureMapper> userNatureMappers;
 
        public void afterPropertiesSet() throws Exception {
@@ -82,6 +83,11 @@ public class ArgeoSecurityDaoLdap implements ArgeoSecurityDao, InitializingBean
                        userDetailsManager = ludm;
                }
 
+//             if (ldapUserDetailsService == null) {
+//                     ldapUserDetailsService = new LdapUserDetailsService(null,
+//                                     authoritiesPopulator);
+//                     ldapUserDetailsService.setUserDetailsMapper(userDetailsMapper);
+//             }
        }
 
        public ArgeoSecurityDaoLdap(ContextSource contextSource) {