Hi all, I followed this http://appfuse.org/display/APF/LDAP+Authentication wiki to configure the LDAP authentication. Every seems ok and I'm sure it is well configured. When I try to log with a non existing userid it returns ldap error code 49, but when i enter with a correct user it gives me the following error:
[appfuse] ERROR [http-8080-Processor23] [/appfuse].setAttribute(1353) | El escuc hador de eventos de atributo de Sesi¾n lanz¾ una excepci¾n java.lang.ClassCastException: org.acegisecurity.userdetails.ldap.LdapUserDetails Impl cannot be cast to org.appfuse.model.User Is it the LDAP that has differents attributes than User class? Another thing that I'm not sure is if the users roles are also taken from the LDAP or from the DB. If they are also taken from the LDAP, is there any way to configure the authorization from the LDAP (only validate user existance) and the authentication from the DB? Thanks in advance and regards, Hernán.- -- View this message in context: http://www.nabble.com/ldap-authentication-error-tp22126133s2369p22126133.html Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net For additional commands, e-mail: users-h...@appfuse.dev.java.net